OAuth2 scopes used by this API.
const ( // See, edit, configure, and delete your Google Cloud data and see the email // address for your Google Account. CloudPlatformScope = "https://www.googleapis.com/auth/cloud-platform" // View your data across Google Cloud services and see the email address of // your Google Account CloudPlatformReadOnlyScope = "https://www.googleapis.com/auth/cloud-platform.read-only" )
CloudAiLargeModelsVisionFilteredText: Details for filtered input text.
type CloudAiLargeModelsVisionFilteredText struct { // Category: Confidence level // // Possible values: // "RAI_CATEGORY_UNSPECIFIED" // "OBSCENE" // "SEXUALLY_EXPLICIT" - Porn // "IDENTITY_ATTACK" - Hate // "VIOLENCE_ABUSE" // "CSAI" // "SPII" // "CELEBRITY" // "FACE_IMG" // "WATERMARK_IMG" // "MEMORIZATION_IMG" // "CSAI_IMG" // "PORN_IMG" // "VIOLENCE_IMG" // "CHILD_IMG" // "TOXIC" // "SENSITIVE_WORD" // "PERSON_IMG" // "ICA_IMG" // "SEXUAL_IMG" // "IU_IMG" // "RACY_IMG" // "PEDO_IMG" // "DEATH_HARM_TRAGEDY" - SafetyAttributes returned but not filtered on // "HEALTH" // "FIREARMS_WEAPONS" // "RELIGIOUS_BELIEF" // "ILLICIT_DRUGS" // "WAR_CONFLICT" // "POLITICS" // "HATE_SYMBOL_IMG" - End of list // "CHILD_TEXT" // "DANGEROUS_CONTENT" - Text category from SafetyCat v3 // "RECITATION_TEXT" // "CELEBRITY_IMG" // "WATERMARK_IMG_REMOVAL" - Error message when user attempts to remove // watermark from editing image Category string `json:"category,omitempty"` // Confidence: Filtered category // // Possible values: // "CONFIDENCE_UNSPECIFIED" // "CONFIDENCE_LOW" // "CONFIDENCE_MEDIUM" // "CONFIDENCE_HIGH" Confidence string `json:"confidence,omitempty"` // Prompt: Input prompt Prompt string `json:"prompt,omitempty"` // Score: Score for category Score float64 `json:"score,omitempty"` // ForceSendFields is a list of field names (e.g. "Category") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Category") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *CloudAiLargeModelsVisionFilteredText) MarshalJSON() ([]byte, error)
func (s *CloudAiLargeModelsVisionFilteredText) UnmarshalJSON(data []byte) error
CloudAiLargeModelsVisionGenerateVideoResponse: Generate video response.
type CloudAiLargeModelsVisionGenerateVideoResponse struct { // GeneratedSamples: The generates samples. GeneratedSamples []*CloudAiLargeModelsVisionMedia `json:"generatedSamples,omitempty"` // RaiErrorMessage: Returns rai error message for filtered videos. RaiErrorMessage string `json:"raiErrorMessage,omitempty"` // RaiMediaFilteredCount: Returns if any videos were filtered due to RAI // policies. RaiMediaFilteredCount int64 `json:"raiMediaFilteredCount,omitempty"` // RaiMediaFilteredReasons: Returns rai failure reasons if any. RaiMediaFilteredReasons []string `json:"raiMediaFilteredReasons,omitempty"` // RaiTextFilteredReason: Returns filtered text rai info. RaiTextFilteredReason *CloudAiLargeModelsVisionFilteredText `json:"raiTextFilteredReason,omitempty"` // ForceSendFields is a list of field names (e.g. "GeneratedSamples") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "GeneratedSamples") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *CloudAiLargeModelsVisionGenerateVideoResponse) MarshalJSON() ([]byte, error)
CloudAiLargeModelsVisionImage: Image.
type CloudAiLargeModelsVisionImage struct { // Encoding: Image encoding, encoded as "image/png" or "image/jpg". Encoding string `json:"encoding,omitempty"` // Image: Raw bytes. Image string `json:"image,omitempty"` // ImageRaiScores: RAI scores for generated image. ImageRaiScores *CloudAiLargeModelsVisionImageRAIScores `json:"imageRaiScores,omitempty"` // RaiInfo: RAI info for image. RaiInfo *CloudAiLargeModelsVisionRaiInfo `json:"raiInfo,omitempty"` // SemanticFilterResponse: Semantic filter info for image. SemanticFilterResponse *CloudAiLargeModelsVisionSemanticFilterResponse `json:"semanticFilterResponse,omitempty"` // Text: Text/Expanded text input for imagen. Text string `json:"text,omitempty"` // Uri: Path to another storage (typically Google Cloud Storage). Uri string `json:"uri,omitempty"` // ForceSendFields is a list of field names (e.g. "Encoding") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Encoding") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *CloudAiLargeModelsVisionImage) MarshalJSON() ([]byte, error)
CloudAiLargeModelsVisionImageRAIScores: RAI scores for generated image returned.
type CloudAiLargeModelsVisionImageRAIScores struct { // AgileWatermarkDetectionScore: Agile watermark score for image. AgileWatermarkDetectionScore float64 `json:"agileWatermarkDetectionScore,omitempty"` // ForceSendFields is a list of field names (e.g. // "AgileWatermarkDetectionScore") to unconditionally include in API requests. // By default, fields with empty or default values are omitted from API // requests. See https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields // for more details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AgileWatermarkDetectionScore") to // include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *CloudAiLargeModelsVisionImageRAIScores) MarshalJSON() ([]byte, error)
func (s *CloudAiLargeModelsVisionImageRAIScores) UnmarshalJSON(data []byte) error
CloudAiLargeModelsVisionMedia: Media.
type CloudAiLargeModelsVisionMedia struct { // Image: Image. Image *CloudAiLargeModelsVisionImage `json:"image,omitempty"` // Video: Video Video *CloudAiLargeModelsVisionVideo `json:"video,omitempty"` // ForceSendFields is a list of field names (e.g. "Image") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Image") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *CloudAiLargeModelsVisionMedia) MarshalJSON() ([]byte, error)
type CloudAiLargeModelsVisionNamedBoundingBox struct { Classes []string `json:"classes,omitempty"` Entities []string `json:"entities,omitempty"` Scores []float64 `json:"scores,omitempty"` X1 float64 `json:"x1,omitempty"` X2 float64 `json:"x2,omitempty"` Y1 float64 `json:"y1,omitempty"` Y2 float64 `json:"y2,omitempty"` // ForceSendFields is a list of field names (e.g. "Classes") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Classes") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *CloudAiLargeModelsVisionNamedBoundingBox) MarshalJSON() ([]byte, error)
func (s *CloudAiLargeModelsVisionNamedBoundingBox) UnmarshalJSON(data []byte) error
type CloudAiLargeModelsVisionRaiInfo struct { // RaiCategories: List of rai categories' information to return RaiCategories []string `json:"raiCategories,omitempty"` // Scores: List of rai scores mapping to the rai categories. Rounded to 1 // decimal place. Scores []float64 `json:"scores,omitempty"` // ForceSendFields is a list of field names (e.g. "RaiCategories") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "RaiCategories") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *CloudAiLargeModelsVisionRaiInfo) MarshalJSON() ([]byte, error)
func (s *CloudAiLargeModelsVisionRaiInfo) UnmarshalJSON(data []byte) error
type CloudAiLargeModelsVisionSemanticFilterResponse struct { // NamedBoundingBoxes: Class labels of the bounding boxes that failed the // semantic filtering. Bounding box coordinates. NamedBoundingBoxes []*CloudAiLargeModelsVisionNamedBoundingBox `json:"namedBoundingBoxes,omitempty"` // PassedSemanticFilter: This response is added when semantic filter config is // turned on in EditConfig. It reports if this image is passed semantic filter // response. If passed_semantic_filter is false, the bounding box information // will be populated for user to check what caused the semantic filter to fail. PassedSemanticFilter bool `json:"passedSemanticFilter,omitempty"` // ForceSendFields is a list of field names (e.g. "NamedBoundingBoxes") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "NamedBoundingBoxes") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *CloudAiLargeModelsVisionSemanticFilterResponse) MarshalJSON() ([]byte, error)
CloudAiLargeModelsVisionVideo: Video
type CloudAiLargeModelsVisionVideo struct { // Uri: Path to another storage (typically Google Cloud Storage). Uri string `json:"uri,omitempty"` // Video: Raw bytes. Video string `json:"video,omitempty"` // ForceSendFields is a list of field names (e.g. "Uri") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Uri") to include in API requests // with the JSON null value. By default, fields with empty values are omitted // from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *CloudAiLargeModelsVisionVideo) MarshalJSON() ([]byte, error)
GoogleApiHttpBody: Message that represents an arbitrary HTTP body. It should only be used for payload formats that can't be represented as JSON, such as raw binary or an HTML page. This message can be used both in streaming and non-streaming API methods in the request as well as the response. It can be used as a top-level request field, which is convenient if one wants to extract parameters from either the URL or HTTP template into the request fields and also want access to the raw HTTP body. Example: message GetResourceRequest { // A unique request id. string request_id = 1; // The raw HTTP body is bound to this field. google.api.HttpBody http_body = 2; } service ResourceService { rpc GetResource(GetResourceRequest) returns (google.api.HttpBody); rpc UpdateResource(google.api.HttpBody) returns (google.protobuf.Empty); } Example with streaming methods: service CaldavService { rpc GetCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); rpc UpdateCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); } Use of this type only changes how the request and response bodies are handled, all other features will continue to work unchanged.
type GoogleApiHttpBody struct { // ContentType: The HTTP Content-Type header value specifying the content type // of the body. ContentType string `json:"contentType,omitempty"` // Data: The HTTP request/response body as raw binary. Data string `json:"data,omitempty"` // Extensions: Application specific response metadata. Must be set in the first // response for streaming APIs. Extensions []googleapi.RawMessage `json:"extensions,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "ContentType") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ContentType") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleApiHttpBody) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ActiveLearningConfig: Parameters that configure the active learning pipeline. Active learning will label the data incrementally by several iterations. For every iteration, it will select a batch of data based on the sampling strategy.
type GoogleCloudAiplatformV1ActiveLearningConfig struct { // MaxDataItemCount: Max number of human labeled DataItems. MaxDataItemCount int64 `json:"maxDataItemCount,omitempty,string"` // MaxDataItemPercentage: Max percent of total DataItems for human labeling. MaxDataItemPercentage int64 `json:"maxDataItemPercentage,omitempty"` // SampleConfig: Active learning data sampling config. For every active // learning labeling iteration, it will select a batch of data based on the // sampling strategy. SampleConfig *GoogleCloudAiplatformV1SampleConfig `json:"sampleConfig,omitempty"` // TrainingConfig: CMLE training config. For every active learning labeling // iteration, system will train a machine learning model on CMLE. The trained // model will be used by data sampling algorithm to select DataItems. TrainingConfig *GoogleCloudAiplatformV1TrainingConfig `json:"trainingConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "MaxDataItemCount") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "MaxDataItemCount") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ActiveLearningConfig) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1AddContextArtifactsAndExecutionsRequest: Request message for MetadataService.AddContextArtifactsAndExecutions.
type GoogleCloudAiplatformV1AddContextArtifactsAndExecutionsRequest struct { // Artifacts: The resource names of the Artifacts to attribute to the Context. // Format: // `projects/{project}/locations/{location}/metadataStores/{metadatastore}/artif // acts/{artifact}` Artifacts []string `json:"artifacts,omitempty"` // Executions: The resource names of the Executions to associate with the // Context. Format: // `projects/{project}/locations/{location}/metadataStores/{metadatastore}/execu // tions/{execution}` Executions []string `json:"executions,omitempty"` // ForceSendFields is a list of field names (e.g. "Artifacts") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Artifacts") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1AddContextArtifactsAndExecutionsRequest) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1AddContextArtifactsAndExecutionsResponse: Response message for MetadataService.AddContextArtifactsAndExecutions.
type GoogleCloudAiplatformV1AddContextArtifactsAndExecutionsResponse struct { // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` }
GoogleCloudAiplatformV1AddContextChildrenRequest: Request message for MetadataService.AddContextChildren.
type GoogleCloudAiplatformV1AddContextChildrenRequest struct { // ChildContexts: The resource names of the child Contexts. ChildContexts []string `json:"childContexts,omitempty"` // ForceSendFields is a list of field names (e.g. "ChildContexts") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ChildContexts") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1AddContextChildrenRequest) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1AddContextChildrenResponse: Response message for MetadataService.AddContextChildren.
type GoogleCloudAiplatformV1AddContextChildrenResponse struct { // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` }
GoogleCloudAiplatformV1AddExecutionEventsRequest: Request message for MetadataService.AddExecutionEvents.
type GoogleCloudAiplatformV1AddExecutionEventsRequest struct { // Events: The Events to create and add. Events []*GoogleCloudAiplatformV1Event `json:"events,omitempty"` // ForceSendFields is a list of field names (e.g. "Events") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Events") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1AddExecutionEventsRequest) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1AddExecutionEventsResponse: Response message for MetadataService.AddExecutionEvents.
type GoogleCloudAiplatformV1AddExecutionEventsResponse struct { // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` }
GoogleCloudAiplatformV1AddTrialMeasurementRequest: Request message for VizierService.AddTrialMeasurement.
type GoogleCloudAiplatformV1AddTrialMeasurementRequest struct { // Measurement: Required. The measurement to be added to a Trial. Measurement *GoogleCloudAiplatformV1Measurement `json:"measurement,omitempty"` // ForceSendFields is a list of field names (e.g. "Measurement") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Measurement") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1AddTrialMeasurementRequest) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1Annotation: Used to assign specific AnnotationSpec to a particular area of a DataItem or the whole part of the DataItem.
type GoogleCloudAiplatformV1Annotation struct { // AnnotationSource: Output only. The source of the Annotation. AnnotationSource *GoogleCloudAiplatformV1UserActionReference `json:"annotationSource,omitempty"` // CreateTime: Output only. Timestamp when this Annotation was created. CreateTime string `json:"createTime,omitempty"` // Etag: Optional. Used to perform consistent read-modify-write updates. If not // set, a blind "overwrite" update happens. Etag string `json:"etag,omitempty"` // Labels: Optional. The labels with user-defined metadata to organize your // Annotations. Label keys and values can be no longer than 64 characters // (Unicode codepoints), can only contain lowercase letters, numeric // characters, underscores and dashes. International characters are allowed. No // more than 64 user labels can be associated with one Annotation(System labels // are excluded). See https://goo.gl/xmQnxf for more information and examples // of labels. System reserved label keys are prefixed with // "aiplatform.googleapis.com/" and are immutable. Following system labels // exist for each Annotation: * // "aiplatform.googleapis.com/annotation_set_name": optional, name of the UI's // annotation set this Annotation belongs to. If not set, the Annotation is not // visible in the UI. * "aiplatform.googleapis.com/payload_schema": output // only, its value is the payload_schema's title. Labels map[string]string `json:"labels,omitempty"` // Name: Output only. Resource name of the Annotation. Name string `json:"name,omitempty"` // Payload: Required. The schema of the payload can be found in payload_schema. Payload interface{} `json:"payload,omitempty"` // PayloadSchemaUri: Required. Google Cloud Storage URI points to a YAML file // describing payload. The schema is defined as an OpenAPI 3.0.2 Schema Object // (https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject). // The schema files that can be used here are found in // gs://google-cloud-aiplatform/schema/dataset/annotation/, note that the // chosen schema must be consistent with the parent Dataset's metadata. PayloadSchemaUri string `json:"payloadSchemaUri,omitempty"` // UpdateTime: Output only. Timestamp when this Annotation was last updated. UpdateTime string `json:"updateTime,omitempty"` // ForceSendFields is a list of field names (e.g. "AnnotationSource") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AnnotationSource") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1Annotation) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1AnnotationSpec: Identifies a concept with which DataItems may be annotated with.
type GoogleCloudAiplatformV1AnnotationSpec struct { // CreateTime: Output only. Timestamp when this AnnotationSpec was created. CreateTime string `json:"createTime,omitempty"` // DisplayName: Required. The user-defined name of the AnnotationSpec. The name // can be up to 128 characters long and can consist of any UTF-8 characters. DisplayName string `json:"displayName,omitempty"` // Etag: Optional. Used to perform consistent read-modify-write updates. If not // set, a blind "overwrite" update happens. Etag string `json:"etag,omitempty"` // Name: Output only. Resource name of the AnnotationSpec. Name string `json:"name,omitempty"` // UpdateTime: Output only. Timestamp when AnnotationSpec was last updated. UpdateTime string `json:"updateTime,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "CreateTime") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CreateTime") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1AnnotationSpec) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1Artifact: Instance of a general artifact.
type GoogleCloudAiplatformV1Artifact struct { // CreateTime: Output only. Timestamp when this Artifact was created. CreateTime string `json:"createTime,omitempty"` // Description: Description of the Artifact Description string `json:"description,omitempty"` // DisplayName: User provided display name of the Artifact. May be up to 128 // Unicode characters. DisplayName string `json:"displayName,omitempty"` // Etag: An eTag used to perform consistent read-modify-write updates. If not // set, a blind "overwrite" update happens. Etag string `json:"etag,omitempty"` // Labels: The labels with user-defined metadata to organize your Artifacts. // Label keys and values can be no longer than 64 characters (Unicode // codepoints), can only contain lowercase letters, numeric characters, // underscores and dashes. International characters are allowed. No more than // 64 user labels can be associated with one Artifact (System labels are // excluded). Labels map[string]string `json:"labels,omitempty"` // Metadata: Properties of the Artifact. Top level metadata keys' heading and // trailing spaces will be trimmed. The size of this field should not exceed // 200KB. Metadata googleapi.RawMessage `json:"metadata,omitempty"` // Name: Output only. The resource name of the Artifact. Name string `json:"name,omitempty"` // SchemaTitle: The title of the schema describing the metadata. Schema title // and version is expected to be registered in earlier Create Schema calls. And // both are used together as unique identifiers to identify schemas within the // local metadata store. SchemaTitle string `json:"schemaTitle,omitempty"` // SchemaVersion: The version of the schema in schema_name to use. Schema title // and version is expected to be registered in earlier Create Schema calls. And // both are used together as unique identifiers to identify schemas within the // local metadata store. SchemaVersion string `json:"schemaVersion,omitempty"` // State: The state of this Artifact. This is a property of the Artifact, and // does not imply or capture any ongoing process. This property is managed by // clients (such as Vertex AI Pipelines), and the system does not prescribe or // check the validity of state transitions. // // Possible values: // "STATE_UNSPECIFIED" - Unspecified state for the Artifact. // "PENDING" - A state used by systems like Vertex AI Pipelines to indicate // that the underlying data item represented by this Artifact is being created. // "LIVE" - A state indicating that the Artifact should exist, unless // something external to the system deletes it. State string `json:"state,omitempty"` // UpdateTime: Output only. Timestamp when this Artifact was last updated. UpdateTime string `json:"updateTime,omitempty"` // Uri: The uniform resource identifier of the artifact file. May be empty if // there is no actual artifact file. Uri string `json:"uri,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "CreateTime") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CreateTime") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1Artifact) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1AssignNotebookRuntimeOperationMetadata: Metadata information for NotebookService.AssignNotebookRuntime.
type GoogleCloudAiplatformV1AssignNotebookRuntimeOperationMetadata struct { // GenericMetadata: The operation generic information. GenericMetadata *GoogleCloudAiplatformV1GenericOperationMetadata `json:"genericMetadata,omitempty"` // ProgressMessage: A human-readable message that shows the intermediate // progress details of NotebookRuntime. ProgressMessage string `json:"progressMessage,omitempty"` // ForceSendFields is a list of field names (e.g. "GenericMetadata") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "GenericMetadata") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1AssignNotebookRuntimeOperationMetadata) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1AssignNotebookRuntimeRequest: Request message for NotebookService.AssignNotebookRuntime.
type GoogleCloudAiplatformV1AssignNotebookRuntimeRequest struct { // NotebookRuntime: Required. Provide runtime specific information (e.g. // runtime owner, notebook id) used for NotebookRuntime assignment. NotebookRuntime *GoogleCloudAiplatformV1NotebookRuntime `json:"notebookRuntime,omitempty"` // NotebookRuntimeId: Optional. User specified ID for the notebook runtime. NotebookRuntimeId string `json:"notebookRuntimeId,omitempty"` // NotebookRuntimeTemplate: Required. The resource name of the // NotebookRuntimeTemplate based on which a NotebookRuntime will be assigned // (reuse or create a new one). NotebookRuntimeTemplate string `json:"notebookRuntimeTemplate,omitempty"` // ForceSendFields is a list of field names (e.g. "NotebookRuntime") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "NotebookRuntime") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1AssignNotebookRuntimeRequest) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1Attribution: Attribution that explains a particular prediction output.
type GoogleCloudAiplatformV1Attribution struct { // ApproximationError: Output only. Error of feature_attributions caused by // approximation used in the explanation method. Lower value means more precise // attributions. * For Sampled Shapley attribution, increasing path_count might // reduce the error. * For Integrated Gradients attribution, increasing // step_count might reduce the error. * For XRAI attribution, increasing // step_count might reduce the error. See this introduction // (/vertex-ai/docs/explainable-ai/overview) for more information. ApproximationError float64 `json:"approximationError,omitempty"` // BaselineOutputValue: Output only. Model predicted output if the input // instance is constructed from the baselines of all the features defined in // ExplanationMetadata.inputs. The field name of the output is determined by // the key in ExplanationMetadata.outputs. If the Model's predicted output has // multiple dimensions (rank > 1), this is the value in the output located by // output_index. If there are multiple baselines, their output values are // averaged. BaselineOutputValue float64 `json:"baselineOutputValue,omitempty"` // FeatureAttributions: Output only. Attributions of each explained feature. // Features are extracted from the prediction instances according to // explanation metadata for inputs. The value is a struct, whose keys are the // name of the feature. The values are how much the feature in the instance // contributed to the predicted result. The format of the value is determined // by the feature's input format: * If the feature is a scalar value, the // attribution value is a floating number. * If the feature is an array of // scalar values, the attribution value is an array. * If the feature is a // struct, the attribution value is a struct. The keys in the attribution value // struct are the same as the keys in the feature struct. The formats of the // values in the attribution struct are determined by the formats of the values // in the feature struct. The // ExplanationMetadata.feature_attributions_schema_uri field, pointed to by the // ExplanationSpec field of the Endpoint.deployed_models object, points to the // schema file that describes the features and their attribution values (if it // is populated). FeatureAttributions interface{} `json:"featureAttributions,omitempty"` // InstanceOutputValue: Output only. Model predicted output on the // corresponding explanation instance. The field name of the output is // determined by the key in ExplanationMetadata.outputs. If the Model predicted // output has multiple dimensions, this is the value in the output located by // output_index. InstanceOutputValue float64 `json:"instanceOutputValue,omitempty"` // OutputDisplayName: Output only. The display name of the output identified by // output_index. For example, the predicted class name by a // multi-classification Model. This field is only populated iff the Model // predicts display names as a separate field along with the explained output. // The predicted display name must has the same shape of the explained output, // and can be located using output_index. OutputDisplayName string `json:"outputDisplayName,omitempty"` // OutputIndex: Output only. The index that locates the explained prediction // output. If the prediction output is a scalar value, output_index is not // populated. If the prediction output has multiple dimensions, the length of // the output_index list is the same as the number of dimensions of the output. // The i-th element in output_index is the element index of the i-th dimension // of the output vector. Indices start from 0. OutputIndex []int64 `json:"outputIndex,omitempty"` // OutputName: Output only. Name of the explain output. Specified as the key in // ExplanationMetadata.outputs. OutputName string `json:"outputName,omitempty"` // ForceSendFields is a list of field names (e.g. "ApproximationError") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ApproximationError") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1Attribution) MarshalJSON() ([]byte, error)
func (s *GoogleCloudAiplatformV1Attribution) UnmarshalJSON(data []byte) error
GoogleCloudAiplatformV1AutomaticResources: A description of resources that to large degree are decided by Vertex AI, and require only a modest additional configuration. Each Model supporting these resources documents its specific guidelines.
type GoogleCloudAiplatformV1AutomaticResources struct { // MaxReplicaCount: Immutable. The maximum number of replicas this // DeployedModel may be deployed on when the traffic against it increases. If // the requested value is too large, the deployment will error, but if // deployment succeeds then the ability to scale the model to that many // replicas is guaranteed (barring service outages). If traffic against the // DeployedModel increases beyond what its replicas at maximum may handle, a // portion of the traffic will be dropped. If this value is not provided, a no // upper bound for scaling under heavy traffic will be assume, though Vertex AI // may be unable to scale beyond certain replica number. MaxReplicaCount int64 `json:"maxReplicaCount,omitempty"` // MinReplicaCount: Immutable. The minimum number of replicas this // DeployedModel will be always deployed on. If traffic against it increases, // it may dynamically be deployed onto more replicas up to max_replica_count, // and as traffic decreases, some of these extra replicas may be freed. If the // requested value is too large, the deployment will error. MinReplicaCount int64 `json:"minReplicaCount,omitempty"` // ForceSendFields is a list of field names (e.g. "MaxReplicaCount") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "MaxReplicaCount") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1AutomaticResources) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1AutoscalingMetricSpec: The metric specification that defines the target resource utilization (CPU utilization, accelerator's duty cycle, and so on) for calculating the desired replica count.
type GoogleCloudAiplatformV1AutoscalingMetricSpec struct { // MetricName: Required. The resource metric name. Supported metrics: * For // Online Prediction: * // `aiplatform.googleapis.com/prediction/online/accelerator/duty_cycle` * // `aiplatform.googleapis.com/prediction/online/cpu/utilization` MetricName string `json:"metricName,omitempty"` // Target: The target resource utilization in percentage (1% - 100%) for the // given metric; once the real usage deviates from the target by a certain // percentage, the machine replicas change. The default value is 60 // (representing 60%) if not provided. Target int64 `json:"target,omitempty"` // ForceSendFields is a list of field names (e.g. "MetricName") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "MetricName") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1AutoscalingMetricSpec) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1AvroSource: The storage details for Avro input content.
type GoogleCloudAiplatformV1AvroSource struct { // GcsSource: Required. Google Cloud Storage location. GcsSource *GoogleCloudAiplatformV1GcsSource `json:"gcsSource,omitempty"` // ForceSendFields is a list of field names (e.g. "GcsSource") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "GcsSource") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1AvroSource) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1BatchCancelPipelineJobsRequest: Request message for PipelineService.BatchCancelPipelineJobs.
type GoogleCloudAiplatformV1BatchCancelPipelineJobsRequest struct { // Names: Required. The names of the PipelineJobs to cancel. A maximum of 32 // PipelineJobs can be cancelled in a batch. Format: // `projects/{project}/locations/{location}/pipelineJobs/{pipelineJob}` Names []string `json:"names,omitempty"` // ForceSendFields is a list of field names (e.g. "Names") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Names") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1BatchCancelPipelineJobsRequest) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1BatchCreateFeaturesOperationMetadata: Details of operations that perform batch create Features.
type GoogleCloudAiplatformV1BatchCreateFeaturesOperationMetadata struct { // GenericMetadata: Operation metadata for Feature. GenericMetadata *GoogleCloudAiplatformV1GenericOperationMetadata `json:"genericMetadata,omitempty"` // ForceSendFields is a list of field names (e.g. "GenericMetadata") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "GenericMetadata") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1BatchCreateFeaturesOperationMetadata) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1BatchCreateFeaturesRequest: Request message for FeaturestoreService.BatchCreateFeatures.
type GoogleCloudAiplatformV1BatchCreateFeaturesRequest struct { // Requests: Required. The request message specifying the Features to create. // All Features must be created under the same parent EntityType. The `parent` // field in each child request message can be omitted. If `parent` is set in a // child request, then the value must match the `parent` value in this request // message. Requests []*GoogleCloudAiplatformV1CreateFeatureRequest `json:"requests,omitempty"` // ForceSendFields is a list of field names (e.g. "Requests") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Requests") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1BatchCreateFeaturesRequest) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1BatchCreateFeaturesResponse: Response message for FeaturestoreService.BatchCreateFeatures.
type GoogleCloudAiplatformV1BatchCreateFeaturesResponse struct { // Features: The Features created. Features []*GoogleCloudAiplatformV1Feature `json:"features,omitempty"` // ForceSendFields is a list of field names (e.g. "Features") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Features") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1BatchCreateFeaturesResponse) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1BatchCreateTensorboardRunsRequest: Request message for TensorboardService.BatchCreateTensorboardRuns.
type GoogleCloudAiplatformV1BatchCreateTensorboardRunsRequest struct { // Requests: Required. The request message specifying the TensorboardRuns to // create. A maximum of 1000 TensorboardRuns can be created in a batch. Requests []*GoogleCloudAiplatformV1CreateTensorboardRunRequest `json:"requests,omitempty"` // ForceSendFields is a list of field names (e.g. "Requests") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Requests") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1BatchCreateTensorboardRunsRequest) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1BatchCreateTensorboardRunsResponse: Response message for TensorboardService.BatchCreateTensorboardRuns.
type GoogleCloudAiplatformV1BatchCreateTensorboardRunsResponse struct { // TensorboardRuns: The created TensorboardRuns. TensorboardRuns []*GoogleCloudAiplatformV1TensorboardRun `json:"tensorboardRuns,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "TensorboardRuns") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "TensorboardRuns") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1BatchCreateTensorboardRunsResponse) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1BatchCreateTensorboardTimeSeriesRequest: Request message for TensorboardService.BatchCreateTensorboardTimeSeries.
type GoogleCloudAiplatformV1BatchCreateTensorboardTimeSeriesRequest struct { // Requests: Required. The request message specifying the TensorboardTimeSeries // to create. A maximum of 1000 TensorboardTimeSeries can be created in a // batch. Requests []*GoogleCloudAiplatformV1CreateTensorboardTimeSeriesRequest `json:"requests,omitempty"` // ForceSendFields is a list of field names (e.g. "Requests") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Requests") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1BatchCreateTensorboardTimeSeriesRequest) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1BatchCreateTensorboardTimeSeriesResponse: Response message for TensorboardService.BatchCreateTensorboardTimeSeries.
type GoogleCloudAiplatformV1BatchCreateTensorboardTimeSeriesResponse struct { // TensorboardTimeSeries: The created TensorboardTimeSeries. TensorboardTimeSeries []*GoogleCloudAiplatformV1TensorboardTimeSeries `json:"tensorboardTimeSeries,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "TensorboardTimeSeries") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "TensorboardTimeSeries") to // include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1BatchCreateTensorboardTimeSeriesResponse) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1BatchDedicatedResources: A description of resources that are used for performing batch operations, are dedicated to a Model, and need manual configuration.
type GoogleCloudAiplatformV1BatchDedicatedResources struct { // MachineSpec: Required. Immutable. The specification of a single machine. MachineSpec *GoogleCloudAiplatformV1MachineSpec `json:"machineSpec,omitempty"` // MaxReplicaCount: Immutable. The maximum number of machine replicas the batch // operation may be scaled to. The default value is 10. MaxReplicaCount int64 `json:"maxReplicaCount,omitempty"` // StartingReplicaCount: Immutable. The number of machine replicas used at the // start of the batch operation. If not set, Vertex AI decides starting number, // not greater than max_replica_count StartingReplicaCount int64 `json:"startingReplicaCount,omitempty"` // ForceSendFields is a list of field names (e.g. "MachineSpec") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "MachineSpec") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1BatchDedicatedResources) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1BatchDeletePipelineJobsRequest: Request message for PipelineService.BatchDeletePipelineJobs.
type GoogleCloudAiplatformV1BatchDeletePipelineJobsRequest struct { // Names: Required. The names of the PipelineJobs to delete. A maximum of 32 // PipelineJobs can be deleted in a batch. Format: // `projects/{project}/locations/{location}/pipelineJobs/{pipelineJob}` Names []string `json:"names,omitempty"` // ForceSendFields is a list of field names (e.g. "Names") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Names") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1BatchDeletePipelineJobsRequest) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1BatchImportEvaluatedAnnotationsRequest: Request message for ModelService.BatchImportEvaluatedAnnotations
type GoogleCloudAiplatformV1BatchImportEvaluatedAnnotationsRequest struct { // EvaluatedAnnotations: Required. Evaluated annotations resource to be // imported. EvaluatedAnnotations []*GoogleCloudAiplatformV1EvaluatedAnnotation `json:"evaluatedAnnotations,omitempty"` // ForceSendFields is a list of field names (e.g. "EvaluatedAnnotations") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "EvaluatedAnnotations") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1BatchImportEvaluatedAnnotationsRequest) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1BatchImportEvaluatedAnnotationsResponse: Response message for ModelService.BatchImportEvaluatedAnnotations
type GoogleCloudAiplatformV1BatchImportEvaluatedAnnotationsResponse struct { // ImportedEvaluatedAnnotationsCount: Output only. Number of // EvaluatedAnnotations imported. ImportedEvaluatedAnnotationsCount int64 `json:"importedEvaluatedAnnotationsCount,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. // "ImportedEvaluatedAnnotationsCount") to unconditionally include in API // requests. By default, fields with empty or default values are omitted from // API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. // "ImportedEvaluatedAnnotationsCount") to include in API requests with the // JSON null value. By default, fields with empty values are omitted from API // requests. See https://pkg.go.dev/google.golang.org/api#hdr-NullFields for // more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1BatchImportEvaluatedAnnotationsResponse) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1BatchImportModelEvaluationSlicesRequest: Request message for ModelService.BatchImportModelEvaluationSlices
type GoogleCloudAiplatformV1BatchImportModelEvaluationSlicesRequest struct { // ModelEvaluationSlices: Required. Model evaluation slice resource to be // imported. ModelEvaluationSlices []*GoogleCloudAiplatformV1ModelEvaluationSlice `json:"modelEvaluationSlices,omitempty"` // ForceSendFields is a list of field names (e.g. "ModelEvaluationSlices") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ModelEvaluationSlices") to // include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1BatchImportModelEvaluationSlicesRequest) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1BatchImportModelEvaluationSlicesResponse: Response message for ModelService.BatchImportModelEvaluationSlices
type GoogleCloudAiplatformV1BatchImportModelEvaluationSlicesResponse struct { // ImportedModelEvaluationSlices: Output only. List of imported // ModelEvaluationSlice.name. ImportedModelEvaluationSlices []string `json:"importedModelEvaluationSlices,omitempty"` // ForceSendFields is a list of field names (e.g. // "ImportedModelEvaluationSlices") to unconditionally include in API requests. // By default, fields with empty or default values are omitted from API // requests. See https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields // for more details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ImportedModelEvaluationSlices") // to include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1BatchImportModelEvaluationSlicesResponse) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1BatchMigrateResourcesOperationMetadata: Runtime operation information for MigrationService.BatchMigrateResources.
type GoogleCloudAiplatformV1BatchMigrateResourcesOperationMetadata struct { // GenericMetadata: The common part of the operation metadata. GenericMetadata *GoogleCloudAiplatformV1GenericOperationMetadata `json:"genericMetadata,omitempty"` // PartialResults: Partial results that reflect the latest migration operation // progress. PartialResults []*GoogleCloudAiplatformV1BatchMigrateResourcesOperationMetadataPartialResult `json:"partialResults,omitempty"` // ForceSendFields is a list of field names (e.g. "GenericMetadata") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "GenericMetadata") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1BatchMigrateResourcesOperationMetadata) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1BatchMigrateResourcesOperationMetadataPartialResult: Represents a partial result in batch migration operation for one MigrateResourceRequest.
type GoogleCloudAiplatformV1BatchMigrateResourcesOperationMetadataPartialResult struct { // Dataset: Migrated dataset resource name. Dataset string `json:"dataset,omitempty"` // Error: The error result of the migration request in case of failure. Error *GoogleRpcStatus `json:"error,omitempty"` // Model: Migrated model resource name. Model string `json:"model,omitempty"` // Request: It's the same as the value in // MigrateResourceRequest.migrate_resource_requests. Request *GoogleCloudAiplatformV1MigrateResourceRequest `json:"request,omitempty"` // ForceSendFields is a list of field names (e.g. "Dataset") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Dataset") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1BatchMigrateResourcesOperationMetadataPartialResult) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1BatchMigrateResourcesRequest: Request message for MigrationService.BatchMigrateResources.
type GoogleCloudAiplatformV1BatchMigrateResourcesRequest struct { // MigrateResourceRequests: Required. The request messages specifying the // resources to migrate. They must be in the same location as the destination. // Up to 50 resources can be migrated in one batch. MigrateResourceRequests []*GoogleCloudAiplatformV1MigrateResourceRequest `json:"migrateResourceRequests,omitempty"` // ForceSendFields is a list of field names (e.g. "MigrateResourceRequests") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "MigrateResourceRequests") to // include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1BatchMigrateResourcesRequest) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1BatchMigrateResourcesResponse: Response message for MigrationService.BatchMigrateResources.
type GoogleCloudAiplatformV1BatchMigrateResourcesResponse struct { // MigrateResourceResponses: Successfully migrated resources. MigrateResourceResponses []*GoogleCloudAiplatformV1MigrateResourceResponse `json:"migrateResourceResponses,omitempty"` // ForceSendFields is a list of field names (e.g. "MigrateResourceResponses") // to unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "MigrateResourceResponses") to // include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1BatchMigrateResourcesResponse) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1BatchPredictionJob: A job that uses a Model to produce predictions on multiple input instances. If predictions for significant portion of the instances fail, the job may finish without attempting predictions for all remaining instances.
type GoogleCloudAiplatformV1BatchPredictionJob struct { // CompletionStats: Output only. Statistics on completed and failed prediction // instances. CompletionStats *GoogleCloudAiplatformV1CompletionStats `json:"completionStats,omitempty"` // CreateTime: Output only. Time when the BatchPredictionJob was created. CreateTime string `json:"createTime,omitempty"` // DedicatedResources: The config of resources used by the Model during the // batch prediction. If the Model supports DEDICATED_RESOURCES this config may // be provided (and the job will use these resources), if the Model doesn't // support AUTOMATIC_RESOURCES, this config must be provided. DedicatedResources *GoogleCloudAiplatformV1BatchDedicatedResources `json:"dedicatedResources,omitempty"` // DisableContainerLogging: For custom-trained Models and AutoML Tabular // Models, the container of the DeployedModel instances will send `stderr` and // `stdout` streams to Cloud Logging by default. Please note that the logs // incur cost, which are subject to Cloud Logging pricing // (https://cloud.google.com/logging/pricing). User can disable container // logging by setting this flag to true. DisableContainerLogging bool `json:"disableContainerLogging,omitempty"` // DisplayName: Required. The user-defined name of this BatchPredictionJob. DisplayName string `json:"displayName,omitempty"` // EncryptionSpec: Customer-managed encryption key options for a // BatchPredictionJob. If this is set, then all resources created by the // BatchPredictionJob will be encrypted with the provided encryption key. EncryptionSpec *GoogleCloudAiplatformV1EncryptionSpec `json:"encryptionSpec,omitempty"` // EndTime: Output only. Time when the BatchPredictionJob entered any of the // following states: `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED`, // `JOB_STATE_CANCELLED`. EndTime string `json:"endTime,omitempty"` // Error: Output only. Only populated when the job's state is JOB_STATE_FAILED // or JOB_STATE_CANCELLED. Error *GoogleRpcStatus `json:"error,omitempty"` // ExplanationSpec: Explanation configuration for this BatchPredictionJob. Can // be specified only if generate_explanation is set to `true`. This value // overrides the value of Model.explanation_spec. All fields of // explanation_spec are optional in the request. If a field of the // explanation_spec object is not populated, the corresponding field of the // Model.explanation_spec object is inherited. ExplanationSpec *GoogleCloudAiplatformV1ExplanationSpec `json:"explanationSpec,omitempty"` // GenerateExplanation: Generate explanation with the batch prediction results. // When set to `true`, the batch prediction output changes based on the // `predictions_format` field of the BatchPredictionJob.output_config object: * // `bigquery`: output includes a column named `explanation`. The value is a // struct that conforms to the Explanation object. * `jsonl`: The JSON objects // on each line include an additional entry keyed `explanation`. The value of // the entry is a JSON object that conforms to the Explanation object. * `csv`: // Generating explanations for CSV format is not supported. If this field is // set to true, either the Model.explanation_spec or explanation_spec must be // populated. GenerateExplanation bool `json:"generateExplanation,omitempty"` // InputConfig: Required. Input configuration of the instances on which // predictions are performed. The schema of any single instance may be // specified via the Model's PredictSchemata's instance_schema_uri. InputConfig *GoogleCloudAiplatformV1BatchPredictionJobInputConfig `json:"inputConfig,omitempty"` // InstanceConfig: Configuration for how to convert batch prediction input // instances to the prediction instances that are sent to the Model. InstanceConfig *GoogleCloudAiplatformV1BatchPredictionJobInstanceConfig `json:"instanceConfig,omitempty"` // Labels: The labels with user-defined metadata to organize // BatchPredictionJobs. Label keys and values can be no longer than 64 // characters (Unicode codepoints), can only contain lowercase letters, numeric // characters, underscores and dashes. International characters are allowed. // See https://goo.gl/xmQnxf for more information and examples of labels. Labels map[string]string `json:"labels,omitempty"` // ManualBatchTuningParameters: Immutable. Parameters configuring the batch // behavior. Currently only applicable when dedicated_resources are used (in // other cases Vertex AI does the tuning itself). ManualBatchTuningParameters *GoogleCloudAiplatformV1ManualBatchTuningParameters `json:"manualBatchTuningParameters,omitempty"` // Model: The name of the Model resource that produces the predictions via this // job, must share the same ancestor Location. Starting this job has no impact // on any existing deployments of the Model and their resources. Exactly one of // model and unmanaged_container_model must be set. The model resource name may // contain version id or version alias to specify the version. Example: // `projects/{project}/locations/{location}/models/{model}@2` or // `projects/{project}/locations/{location}/models/{model}@golden` if no // version is specified, the default version will be deployed. The model // resource could also be a publisher model. Example: // `publishers/{publisher}/models/{model}` or // `projects/{project}/locations/{location}/publishers/{publisher}/models/{model // }` Model string `json:"model,omitempty"` // ModelParameters: The parameters that govern the predictions. The schema of // the parameters may be specified via the Model's PredictSchemata's // parameters_schema_uri. ModelParameters interface{} `json:"modelParameters,omitempty"` // ModelVersionId: Output only. The version ID of the Model that produces the // predictions via this job. ModelVersionId string `json:"modelVersionId,omitempty"` // Name: Output only. Resource name of the BatchPredictionJob. Name string `json:"name,omitempty"` // OutputConfig: Required. The Configuration specifying where output // predictions should be written. The schema of any single prediction may be // specified as a concatenation of Model's PredictSchemata's // instance_schema_uri and prediction_schema_uri. OutputConfig *GoogleCloudAiplatformV1BatchPredictionJobOutputConfig `json:"outputConfig,omitempty"` // OutputInfo: Output only. Information further describing the output of this // job. OutputInfo *GoogleCloudAiplatformV1BatchPredictionJobOutputInfo `json:"outputInfo,omitempty"` // PartialFailures: Output only. Partial failures encountered. For example, // single files that can't be read. This field never exceeds 20 entries. Status // details fields contain standard Google Cloud error details. PartialFailures []*GoogleRpcStatus `json:"partialFailures,omitempty"` // ResourcesConsumed: Output only. Information about resources that had been // consumed by this job. Provided in real time at best effort basis, as well as // a final value once the job completes. Note: This field currently may be not // populated for batch predictions that use AutoML Models. ResourcesConsumed *GoogleCloudAiplatformV1ResourcesConsumed `json:"resourcesConsumed,omitempty"` // ServiceAccount: The service account that the DeployedModel's container runs // as. If not specified, a system generated one will be used, which has minimal // permissions and the custom container, if used, may not have enough // permission to access other Google Cloud resources. Users deploying the Model // must have the `iam.serviceAccounts.actAs` permission on this service // account. ServiceAccount string `json:"serviceAccount,omitempty"` // StartTime: Output only. Time when the BatchPredictionJob for the first time // entered the `JOB_STATE_RUNNING` state. StartTime string `json:"startTime,omitempty"` // State: Output only. The detailed state of the job. // // Possible values: // "JOB_STATE_UNSPECIFIED" - The job state is unspecified. // "JOB_STATE_QUEUED" - The job has been just created or resumed and // processing has not yet begun. // "JOB_STATE_PENDING" - The service is preparing to run the job. // "JOB_STATE_RUNNING" - The job is in progress. // "JOB_STATE_SUCCEEDED" - The job completed successfully. // "JOB_STATE_FAILED" - The job failed. // "JOB_STATE_CANCELLING" - The job is being cancelled. From this state the // job may only go to either `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED` or // `JOB_STATE_CANCELLED`. // "JOB_STATE_CANCELLED" - The job has been cancelled. // "JOB_STATE_PAUSED" - The job has been stopped, and can be resumed. // "JOB_STATE_EXPIRED" - The job has expired. // "JOB_STATE_UPDATING" - The job is being updated. Only jobs in the // `RUNNING` state can be updated. After updating, the job goes back to the // `RUNNING` state. // "JOB_STATE_PARTIALLY_SUCCEEDED" - The job is partially succeeded, some // results may be missing due to errors. State string `json:"state,omitempty"` // UnmanagedContainerModel: Contains model information necessary to perform // batch prediction without requiring uploading to model registry. Exactly one // of model and unmanaged_container_model must be set. UnmanagedContainerModel *GoogleCloudAiplatformV1UnmanagedContainerModel `json:"unmanagedContainerModel,omitempty"` // UpdateTime: Output only. Time when the BatchPredictionJob was most recently // updated. UpdateTime string `json:"updateTime,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "CompletionStats") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CompletionStats") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1BatchPredictionJob) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1BatchPredictionJobInputConfig: Configures the input to BatchPredictionJob. See Model.supported_input_storage_formats for Model's supported input formats, and how instances should be expressed via any of them.
type GoogleCloudAiplatformV1BatchPredictionJobInputConfig struct { // BigquerySource: The BigQuery location of the input table. The schema of the // table should be in the format described by the given context OpenAPI Schema, // if one is provided. The table may contain additional columns that are not // described by the schema, and they will be ignored. BigquerySource *GoogleCloudAiplatformV1BigQuerySource `json:"bigquerySource,omitempty"` // GcsSource: The Cloud Storage location for the input instances. GcsSource *GoogleCloudAiplatformV1GcsSource `json:"gcsSource,omitempty"` // InstancesFormat: Required. The format in which instances are given, must be // one of the Model's supported_input_storage_formats. InstancesFormat string `json:"instancesFormat,omitempty"` // ForceSendFields is a list of field names (e.g. "BigquerySource") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BigquerySource") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1BatchPredictionJobInputConfig) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1BatchPredictionJobInstanceConfig: Configuration defining how to transform batch prediction input instances to the instances that the Model accepts.
type GoogleCloudAiplatformV1BatchPredictionJobInstanceConfig struct { // ExcludedFields: Fields that will be excluded in the prediction instance that // is sent to the Model. Excluded will be attached to the batch prediction // output if key_field is not specified. When excluded_fields is populated, // included_fields must be empty. The input must be JSONL with objects at each // line, BigQuery or TfRecord. ExcludedFields []string `json:"excludedFields,omitempty"` // IncludedFields: Fields that will be included in the prediction instance that // is sent to the Model. If instance_type is `array`, the order of field names // in included_fields also determines the order of the values in the array. // When included_fields is populated, excluded_fields must be empty. The input // must be JSONL with objects at each line, BigQuery or TfRecord. IncludedFields []string `json:"includedFields,omitempty"` // InstanceType: The format of the instance that the Model accepts. Vertex AI // will convert compatible batch prediction input instance formats to the // specified format. Supported values are: * `object`: Each input is converted // to JSON object format. * For `bigquery`, each row is converted to an object. // * For `jsonl`, each line of the JSONL input must be an object. * Does not // apply to `csv`, `file-list`, `tf-record`, or `tf-record-gzip`. * `array`: // Each input is converted to JSON array format. * For `bigquery`, each row is // converted to an array. The order of columns is determined by the BigQuery // column order, unless included_fields is populated. included_fields must be // populated for specifying field orders. * For `jsonl`, if each line of the // JSONL input is an object, included_fields must be populated for specifying // field orders. * Does not apply to `csv`, `file-list`, `tf-record`, or // `tf-record-gzip`. If not specified, Vertex AI converts the batch prediction // input as follows: * For `bigquery` and `csv`, the behavior is the same as // `array`. The order of columns is the same as defined in the file or table, // unless included_fields is populated. * For `jsonl`, the prediction instance // format is determined by each line of the input. * For // `tf-record`/`tf-record-gzip`, each record will be converted to an object in // the format of `{"b64": }`, where `` is the Base64-encoded string of the // content of the record. * For `file-list`, each file in the list will be // converted to an object in the format of `{"b64": }`, where `` is the // Base64-encoded string of the content of the file. InstanceType string `json:"instanceType,omitempty"` // KeyField: The name of the field that is considered as a key. The values // identified by the key field is not included in the transformed instances // that is sent to the Model. This is similar to specifying this name of the // field in excluded_fields. In addition, the batch prediction output will not // include the instances. Instead the output will only include the value of the // key field, in a field named `key` in the output: * For `jsonl` output // format, the output will have a `key` field instead of the `instance` field. // * For `csv`/`bigquery` output format, the output will have have a `key` // column instead of the instance feature columns. The input must be JSONL with // objects at each line, CSV, BigQuery or TfRecord. KeyField string `json:"keyField,omitempty"` // ForceSendFields is a list of field names (e.g. "ExcludedFields") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ExcludedFields") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1BatchPredictionJobInstanceConfig) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1BatchPredictionJobOutputConfig: Configures the output of BatchPredictionJob. See Model.supported_output_storage_formats for supported output formats, and how predictions are expressed via any of them.
type GoogleCloudAiplatformV1BatchPredictionJobOutputConfig struct { // BigqueryDestination: The BigQuery project or dataset location where the // output is to be written to. If project is provided, a new dataset is created // with name `prediction__` where is made BigQuery-dataset-name compatible (for // example, most special characters become underscores), and timestamp is in // YYYY_MM_DDThh_mm_ss_sssZ "based on ISO-8601" format. In the dataset two // tables will be created, `predictions`, and `errors`. If the Model has both // instance and prediction schemata defined then the tables have columns as // follows: The `predictions` table contains instances for which the prediction // succeeded, it has columns as per a concatenation of the Model's instance and // prediction schemata. The `errors` table contains rows for which the // prediction has failed, it has instance columns, as per the instance schema, // followed by a single "errors" column, which as values has google.rpc.Status // represented as a STRUCT, and containing only `code` and `message`. BigqueryDestination *GoogleCloudAiplatformV1BigQueryDestination `json:"bigqueryDestination,omitempty"` // GcsDestination: The Cloud Storage location of the directory where the output // is to be written to. In the given directory a new directory is created. Its // name is `prediction--`, where timestamp is in YYYY-MM-DDThh:mm:ss.sssZ // ISO-8601 format. Inside of it files `predictions_0001.`, // `predictions_0002.`, ..., `predictions_N.` are created where `` depends on // chosen predictions_format, and N may equal 0001 and depends on the total // number of successfully predicted instances. If the Model has both instance // and prediction schemata defined then each such file contains predictions as // per the predictions_format. If prediction for any instance failed (partially // or completely), then an additional `errors_0001.`, `errors_0002.`,..., // `errors_N.` files are created (N depends on total number of failed // predictions). These files contain the failed instances, as per their schema, // followed by an additional `error` field which as value has google.rpc.Status // containing only `code` and `message` fields. GcsDestination *GoogleCloudAiplatformV1GcsDestination `json:"gcsDestination,omitempty"` // PredictionsFormat: Required. The format in which Vertex AI gives the // predictions, must be one of the Model's supported_output_storage_formats. PredictionsFormat string `json:"predictionsFormat,omitempty"` // ForceSendFields is a list of field names (e.g. "BigqueryDestination") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BigqueryDestination") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1BatchPredictionJobOutputConfig) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1BatchPredictionJobOutputInfo: Further describes this job's output. Supplements output_config.
type GoogleCloudAiplatformV1BatchPredictionJobOutputInfo struct { // BigqueryOutputDataset: Output only. The path of the BigQuery dataset // created, in `bq://projectId.bqDatasetId` format, into which the prediction // output is written. BigqueryOutputDataset string `json:"bigqueryOutputDataset,omitempty"` // BigqueryOutputTable: Output only. The name of the BigQuery table created, in // `predictions_` format, into which the prediction output is written. Can be // used by UI to generate the BigQuery output path, for example. BigqueryOutputTable string `json:"bigqueryOutputTable,omitempty"` // GcsOutputDirectory: Output only. The full path of the Cloud Storage // directory created, into which the prediction output is written. GcsOutputDirectory string `json:"gcsOutputDirectory,omitempty"` // ForceSendFields is a list of field names (e.g. "BigqueryOutputDataset") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BigqueryOutputDataset") to // include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1BatchPredictionJobOutputInfo) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1BatchReadFeatureValuesOperationMetadata: Details of operations that batch reads Feature values.
type GoogleCloudAiplatformV1BatchReadFeatureValuesOperationMetadata struct { // GenericMetadata: Operation metadata for Featurestore batch read Features // values. GenericMetadata *GoogleCloudAiplatformV1GenericOperationMetadata `json:"genericMetadata,omitempty"` // ForceSendFields is a list of field names (e.g. "GenericMetadata") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "GenericMetadata") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1BatchReadFeatureValuesOperationMetadata) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1BatchReadFeatureValuesRequest: Request message for FeaturestoreService.BatchReadFeatureValues.
type GoogleCloudAiplatformV1BatchReadFeatureValuesRequest struct { // BigqueryReadInstances: Similar to csv_read_instances, but from BigQuery // source. BigqueryReadInstances *GoogleCloudAiplatformV1BigQuerySource `json:"bigqueryReadInstances,omitempty"` // CsvReadInstances: Each read instance consists of exactly one read timestamp // and one or more entity IDs identifying entities of the corresponding // EntityTypes whose Features are requested. Each output instance contains // Feature values of requested entities concatenated together as of the read // time. An example read instance may be `foo_entity_id, bar_entity_id, // 2020-01-01T10:00:00.123Z`. An example output instance may be `foo_entity_id, // bar_entity_id, 2020-01-01T10:00:00.123Z, foo_entity_feature1_value, // bar_entity_feature2_value`. Timestamp in each read instance must be // millisecond-aligned. `csv_read_instances` are read instances stored in a // plain-text CSV file. The header should be: [ENTITY_TYPE_ID1], // [ENTITY_TYPE_ID2], ..., timestamp The columns can be in any order. Values in // the timestamp column must use the RFC 3339 format, e.g. // `2012-07-30T10:43:17.123Z`. CsvReadInstances *GoogleCloudAiplatformV1CsvSource `json:"csvReadInstances,omitempty"` // Destination: Required. Specifies output location and format. Destination *GoogleCloudAiplatformV1FeatureValueDestination `json:"destination,omitempty"` // EntityTypeSpecs: Required. Specifies EntityType grouping Features to read // values of and settings. EntityTypeSpecs []*GoogleCloudAiplatformV1BatchReadFeatureValuesRequestEntityTypeSpec `json:"entityTypeSpecs,omitempty"` // PassThroughFields: When not empty, the specified fields in the // *_read_instances source will be joined as-is in the output, in addition to // those fields from the Featurestore Entity. For BigQuery source, the type of // the pass-through values will be automatically inferred. For CSV source, the // pass-through values will be passed as opaque bytes. PassThroughFields []*GoogleCloudAiplatformV1BatchReadFeatureValuesRequestPassThroughField `json:"passThroughFields,omitempty"` // StartTime: Optional. Excludes Feature values with feature generation // timestamp before this timestamp. If not set, retrieve oldest values kept in // Feature Store. Timestamp, if present, must not have higher than millisecond // precision. StartTime string `json:"startTime,omitempty"` // ForceSendFields is a list of field names (e.g. "BigqueryReadInstances") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BigqueryReadInstances") to // include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1BatchReadFeatureValuesRequest) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1BatchReadFeatureValuesRequestEntityTypeSpec: Selects Features of an EntityType to read values of and specifies read settings.
type GoogleCloudAiplatformV1BatchReadFeatureValuesRequestEntityTypeSpec struct { // EntityTypeId: Required. ID of the EntityType to select Features. The // EntityType id is the entity_type_id specified during EntityType creation. EntityTypeId string `json:"entityTypeId,omitempty"` // FeatureSelector: Required. Selectors choosing which Feature values to read // from the EntityType. FeatureSelector *GoogleCloudAiplatformV1FeatureSelector `json:"featureSelector,omitempty"` // Settings: Per-Feature settings for the batch read. Settings []*GoogleCloudAiplatformV1DestinationFeatureSetting `json:"settings,omitempty"` // ForceSendFields is a list of field names (e.g. "EntityTypeId") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "EntityTypeId") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1BatchReadFeatureValuesRequestEntityTypeSpec) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1BatchReadFeatureValuesRequestPassThroughField: Describe pass-through fields in read_instance source.
type GoogleCloudAiplatformV1BatchReadFeatureValuesRequestPassThroughField struct { // FieldName: Required. The name of the field in the CSV header or the name of // the column in BigQuery table. The naming restriction is the same as // Feature.name. FieldName string `json:"fieldName,omitempty"` // ForceSendFields is a list of field names (e.g. "FieldName") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "FieldName") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1BatchReadFeatureValuesRequestPassThroughField) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1BatchReadFeatureValuesResponse: Response message for FeaturestoreService.BatchReadFeatureValues.
type GoogleCloudAiplatformV1BatchReadFeatureValuesResponse struct { }
GoogleCloudAiplatformV1BatchReadTensorboardTimeSeriesDataResponse: Response message for TensorboardService.BatchReadTensorboardTimeSeriesData.
type GoogleCloudAiplatformV1BatchReadTensorboardTimeSeriesDataResponse struct { // TimeSeriesData: The returned time series data. TimeSeriesData []*GoogleCloudAiplatformV1TimeSeriesData `json:"timeSeriesData,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "TimeSeriesData") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "TimeSeriesData") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1BatchReadTensorboardTimeSeriesDataResponse) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1BigQueryDestination: The BigQuery location for the output content.
type GoogleCloudAiplatformV1BigQueryDestination struct { // OutputUri: Required. BigQuery URI to a project or table, up to 2000 // characters long. When only the project is specified, the Dataset and Table // is created. When the full table reference is specified, the Dataset must // exist and table must not exist. Accepted forms: * BigQuery path. For // example: `bq://projectId` or `bq://projectId.bqDatasetId` or // `bq://projectId.bqDatasetId.bqTableId`. OutputUri string `json:"outputUri,omitempty"` // ForceSendFields is a list of field names (e.g. "OutputUri") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "OutputUri") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1BigQueryDestination) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1BigQuerySource: The BigQuery location for the input content.
type GoogleCloudAiplatformV1BigQuerySource struct { // InputUri: Required. BigQuery URI to a table, up to 2000 characters long. // Accepted forms: * BigQuery path. For example: // `bq://projectId.bqDatasetId.bqTableId`. InputUri string `json:"inputUri,omitempty"` // ForceSendFields is a list of field names (e.g. "InputUri") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "InputUri") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1BigQuerySource) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1Blob: Content blob. It's preferred to send as text directly rather than raw bytes.
type GoogleCloudAiplatformV1Blob struct { // Data: Required. Raw bytes. Data string `json:"data,omitempty"` // MimeType: Required. The IANA standard MIME type of the source data. MimeType string `json:"mimeType,omitempty"` // ForceSendFields is a list of field names (e.g. "Data") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Data") to include in API requests // with the JSON null value. By default, fields with empty values are omitted // from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1Blob) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1BlurBaselineConfig: Config for blur baseline. When enabled, a linear path from the maximally blurred image to the input image is created. Using a blurred baseline instead of zero (black image) is motivated by the BlurIG approach explained here: https://arxiv.org/abs/2004.03383
type GoogleCloudAiplatformV1BlurBaselineConfig struct { // MaxBlurSigma: The standard deviation of the blur kernel for the blurred // baseline. The same blurring parameter is used for both the height and the // width dimension. If not set, the method defaults to the zero (i.e. black for // images) baseline. MaxBlurSigma float64 `json:"maxBlurSigma,omitempty"` // ForceSendFields is a list of field names (e.g. "MaxBlurSigma") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "MaxBlurSigma") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1BlurBaselineConfig) MarshalJSON() ([]byte, error)
func (s *GoogleCloudAiplatformV1BlurBaselineConfig) UnmarshalJSON(data []byte) error
GoogleCloudAiplatformV1BoolArray: A list of boolean values.
type GoogleCloudAiplatformV1BoolArray struct { // Values: A list of bool values. Values []bool `json:"values,omitempty"` // ForceSendFields is a list of field names (e.g. "Values") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Values") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1BoolArray) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1CancelBatchPredictionJobRequest: Request message for JobService.CancelBatchPredictionJob.
type GoogleCloudAiplatformV1CancelBatchPredictionJobRequest struct { }
GoogleCloudAiplatformV1CancelCustomJobRequest: Request message for JobService.CancelCustomJob.
type GoogleCloudAiplatformV1CancelCustomJobRequest struct { }
GoogleCloudAiplatformV1CancelDataLabelingJobRequest: Request message for JobService.CancelDataLabelingJob.
type GoogleCloudAiplatformV1CancelDataLabelingJobRequest struct { }
GoogleCloudAiplatformV1CancelHyperparameterTuningJobRequest: Request message for JobService.CancelHyperparameterTuningJob.
type GoogleCloudAiplatformV1CancelHyperparameterTuningJobRequest struct { }
GoogleCloudAiplatformV1CancelNasJobRequest: Request message for JobService.CancelNasJob.
type GoogleCloudAiplatformV1CancelNasJobRequest struct { }
GoogleCloudAiplatformV1CancelPipelineJobRequest: Request message for PipelineService.CancelPipelineJob.
type GoogleCloudAiplatformV1CancelPipelineJobRequest struct { }
GoogleCloudAiplatformV1CancelTrainingPipelineRequest: Request message for PipelineService.CancelTrainingPipeline.
type GoogleCloudAiplatformV1CancelTrainingPipelineRequest struct { }
GoogleCloudAiplatformV1CancelTuningJobRequest: Request message for GenAiTuningService.CancelTuningJob.
type GoogleCloudAiplatformV1CancelTuningJobRequest struct { }
GoogleCloudAiplatformV1Candidate: A response candidate generated from the model.
type GoogleCloudAiplatformV1Candidate struct { // CitationMetadata: Output only. Source attribution of the generated content. CitationMetadata *GoogleCloudAiplatformV1CitationMetadata `json:"citationMetadata,omitempty"` // Content: Output only. Content parts of the candidate. Content *GoogleCloudAiplatformV1Content `json:"content,omitempty"` // FinishMessage: Output only. Describes the reason the mode stopped generating // tokens in more detail. This is only filled when `finish_reason` is set. FinishMessage string `json:"finishMessage,omitempty"` // FinishReason: Output only. The reason why the model stopped generating // tokens. If empty, the model has not stopped generating the tokens. // // Possible values: // "FINISH_REASON_UNSPECIFIED" - The finish reason is unspecified. // "STOP" - Natural stop point of the model or provided stop sequence. // "MAX_TOKENS" - The maximum number of tokens as specified in the request // was reached. // "SAFETY" - The token generation was stopped as the response was flagged // for safety reasons. NOTE: When streaming the Candidate.content will be empty // if content filters blocked the output. // "RECITATION" - The token generation was stopped as the response was // flagged for unauthorized citations. // "OTHER" - All other reasons that stopped the token generation // "BLOCKLIST" - The token generation was stopped as the response was flagged // for the terms which are included from the terminology blocklist. // "PROHIBITED_CONTENT" - The token generation was stopped as the response // was flagged for the prohibited contents. // "SPII" - The token generation was stopped as the response was flagged for // Sensitive Personally Identifiable Information (SPII) contents. FinishReason string `json:"finishReason,omitempty"` // GroundingMetadata: Output only. Metadata specifies sources used to ground // generated content. GroundingMetadata *GoogleCloudAiplatformV1GroundingMetadata `json:"groundingMetadata,omitempty"` // Index: Output only. Index of the candidate. Index int64 `json:"index,omitempty"` // SafetyRatings: Output only. List of ratings for the safety of a response // candidate. There is at most one rating per category. SafetyRatings []*GoogleCloudAiplatformV1SafetyRating `json:"safetyRatings,omitempty"` // ForceSendFields is a list of field names (e.g. "CitationMetadata") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CitationMetadata") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1Candidate) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1CheckTrialEarlyStoppingStateMetatdata: This message will be placed in the metadata field of a google.longrunning.Operation associated with a CheckTrialEarlyStoppingState request.
type GoogleCloudAiplatformV1CheckTrialEarlyStoppingStateMetatdata struct { // GenericMetadata: Operation metadata for suggesting Trials. GenericMetadata *GoogleCloudAiplatformV1GenericOperationMetadata `json:"genericMetadata,omitempty"` // Study: The name of the Study that the Trial belongs to. Study string `json:"study,omitempty"` // Trial: The Trial name. Trial string `json:"trial,omitempty"` // ForceSendFields is a list of field names (e.g. "GenericMetadata") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "GenericMetadata") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1CheckTrialEarlyStoppingStateMetatdata) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1CheckTrialEarlyStoppingStateRequest: Request message for VizierService.CheckTrialEarlyStoppingState.
type GoogleCloudAiplatformV1CheckTrialEarlyStoppingStateRequest struct { }
GoogleCloudAiplatformV1CheckTrialEarlyStoppingStateResponse: Response message for VizierService.CheckTrialEarlyStoppingState.
type GoogleCloudAiplatformV1CheckTrialEarlyStoppingStateResponse struct { // ShouldStop: True if the Trial should stop. ShouldStop bool `json:"shouldStop,omitempty"` // ForceSendFields is a list of field names (e.g. "ShouldStop") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ShouldStop") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1CheckTrialEarlyStoppingStateResponse) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1Citation: Source attributions for content.
type GoogleCloudAiplatformV1Citation struct { // EndIndex: Output only. End index into the content. EndIndex int64 `json:"endIndex,omitempty"` // License: Output only. License of the attribution. License string `json:"license,omitempty"` // PublicationDate: Output only. Publication date of the attribution. PublicationDate *GoogleTypeDate `json:"publicationDate,omitempty"` // StartIndex: Output only. Start index into the content. StartIndex int64 `json:"startIndex,omitempty"` // Title: Output only. Title of the attribution. Title string `json:"title,omitempty"` // Uri: Output only. Url reference of the attribution. Uri string `json:"uri,omitempty"` // ForceSendFields is a list of field names (e.g. "EndIndex") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "EndIndex") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1Citation) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1CitationMetadata: A collection of source attributions for a piece of content.
type GoogleCloudAiplatformV1CitationMetadata struct { // Citations: Output only. List of citations. Citations []*GoogleCloudAiplatformV1Citation `json:"citations,omitempty"` // ForceSendFields is a list of field names (e.g. "Citations") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Citations") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1CitationMetadata) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1CompleteTrialRequest: Request message for VizierService.CompleteTrial.
type GoogleCloudAiplatformV1CompleteTrialRequest struct { // FinalMeasurement: Optional. If provided, it will be used as the completed // Trial's final_measurement; Otherwise, the service will auto-select a // previously reported measurement as the final-measurement FinalMeasurement *GoogleCloudAiplatformV1Measurement `json:"finalMeasurement,omitempty"` // InfeasibleReason: Optional. A human readable reason why the trial was // infeasible. This should only be provided if `trial_infeasible` is true. InfeasibleReason string `json:"infeasibleReason,omitempty"` // TrialInfeasible: Optional. True if the Trial cannot be run with the given // Parameter, and final_measurement will be ignored. TrialInfeasible bool `json:"trialInfeasible,omitempty"` // ForceSendFields is a list of field names (e.g. "FinalMeasurement") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "FinalMeasurement") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1CompleteTrialRequest) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1CompletionStats: Success and error statistics of processing multiple entities (for example, DataItems or structured data rows) in batch.
type GoogleCloudAiplatformV1CompletionStats struct { // FailedCount: Output only. The number of entities for which any error was // encountered. FailedCount int64 `json:"failedCount,omitempty,string"` // IncompleteCount: Output only. In cases when enough errors are encountered a // job, pipeline, or operation may be failed as a whole. Below is the number of // entities for which the processing had not been finished (either in // successful or failed state). Set to -1 if the number is unknown (for // example, the operation failed before the total entity number could be // collected). IncompleteCount int64 `json:"incompleteCount,omitempty,string"` // SuccessfulCount: Output only. The number of entities that had been processed // successfully. SuccessfulCount int64 `json:"successfulCount,omitempty,string"` // SuccessfulForecastPointCount: Output only. The number of the successful // forecast points that are generated by the forecasting model. This is ONLY // used by the forecasting batch prediction. SuccessfulForecastPointCount int64 `json:"successfulForecastPointCount,omitempty,string"` // ForceSendFields is a list of field names (e.g. "FailedCount") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "FailedCount") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1CompletionStats) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ComputeTokensRequest: Request message for ComputeTokens RPC call.
type GoogleCloudAiplatformV1ComputeTokensRequest struct { // Instances: Required. The instances that are the input to token computing API // call. Schema is identical to the prediction schema of the text model, even // for the non-text models, like chat models, or Codey models. Instances []interface{} `json:"instances,omitempty"` // ForceSendFields is a list of field names (e.g. "Instances") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Instances") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ComputeTokensRequest) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ComputeTokensResponse: Response message for ComputeTokens RPC call.
type GoogleCloudAiplatformV1ComputeTokensResponse struct { // TokensInfo: Lists of tokens info from the input. A ComputeTokensRequest // could have multiple instances with a prompt in each instance. We also need // to return lists of tokens info for the request with multiple instances. TokensInfo []*GoogleCloudAiplatformV1TokensInfo `json:"tokensInfo,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "TokensInfo") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "TokensInfo") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ComputeTokensResponse) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ContainerRegistryDestination: The Container Registry location for the container image.
type GoogleCloudAiplatformV1ContainerRegistryDestination struct { // OutputUri: Required. Container Registry URI of a container image. Only // Google Container Registry and Artifact Registry are supported now. Accepted // forms: * Google Container Registry path. For example: // `gcr.io/projectId/imageName:tag`. * Artifact Registry path. For example: // `us-central1-docker.pkg.dev/projectId/repoName/imageName:tag`. If a tag is // not specified, "latest" will be used as the default tag. OutputUri string `json:"outputUri,omitempty"` // ForceSendFields is a list of field names (e.g. "OutputUri") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "OutputUri") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ContainerRegistryDestination) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ContainerSpec: The spec of a Container.
type GoogleCloudAiplatformV1ContainerSpec struct { // Args: The arguments to be passed when starting the container. Args []string `json:"args,omitempty"` // Command: The command to be invoked when the container is started. It // overrides the entrypoint instruction in Dockerfile when provided. Command []string `json:"command,omitempty"` // Env: Environment variables to be passed to the container. Maximum limit is // 100. Env []*GoogleCloudAiplatformV1EnvVar `json:"env,omitempty"` // ImageUri: Required. The URI of a container image in the Container Registry // that is to be run on each worker replica. ImageUri string `json:"imageUri,omitempty"` // ForceSendFields is a list of field names (e.g. "Args") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Args") to include in API requests // with the JSON null value. By default, fields with empty values are omitted // from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ContainerSpec) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1Content: The base structured datatype containing multi-part content of a message. A `Content` includes a `role` field designating the producer of the `Content` and a `parts` field containing multi-part data that contains the content of the message turn.
type GoogleCloudAiplatformV1Content struct { // Parts: Required. Ordered `Parts` that constitute a single message. Parts may // have different IANA MIME types. Parts []*GoogleCloudAiplatformV1Part `json:"parts,omitempty"` // Role: Optional. The producer of the content. Must be either 'user' or // 'model'. Useful to set for multi-turn conversations, otherwise can be left // blank or unset. Role string `json:"role,omitempty"` // ForceSendFields is a list of field names (e.g. "Parts") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Parts") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1Content) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1Context: Instance of a general context.
type GoogleCloudAiplatformV1Context struct { // CreateTime: Output only. Timestamp when this Context was created. CreateTime string `json:"createTime,omitempty"` // Description: Description of the Context Description string `json:"description,omitempty"` // DisplayName: User provided display name of the Context. May be up to 128 // Unicode characters. DisplayName string `json:"displayName,omitempty"` // Etag: An eTag used to perform consistent read-modify-write updates. If not // set, a blind "overwrite" update happens. Etag string `json:"etag,omitempty"` // Labels: The labels with user-defined metadata to organize your Contexts. // Label keys and values can be no longer than 64 characters (Unicode // codepoints), can only contain lowercase letters, numeric characters, // underscores and dashes. International characters are allowed. No more than // 64 user labels can be associated with one Context (System labels are // excluded). Labels map[string]string `json:"labels,omitempty"` // Metadata: Properties of the Context. Top level metadata keys' heading and // trailing spaces will be trimmed. The size of this field should not exceed // 200KB. Metadata googleapi.RawMessage `json:"metadata,omitempty"` // Name: Immutable. The resource name of the Context. Name string `json:"name,omitempty"` // ParentContexts: Output only. A list of resource names of Contexts that are // parents of this Context. A Context may have at most 10 parent_contexts. ParentContexts []string `json:"parentContexts,omitempty"` // SchemaTitle: The title of the schema describing the metadata. Schema title // and version is expected to be registered in earlier Create Schema calls. And // both are used together as unique identifiers to identify schemas within the // local metadata store. SchemaTitle string `json:"schemaTitle,omitempty"` // SchemaVersion: The version of the schema in schema_name to use. Schema title // and version is expected to be registered in earlier Create Schema calls. And // both are used together as unique identifiers to identify schemas within the // local metadata store. SchemaVersion string `json:"schemaVersion,omitempty"` // UpdateTime: Output only. Timestamp when this Context was last updated. UpdateTime string `json:"updateTime,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "CreateTime") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CreateTime") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1Context) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1CopyModelOperationMetadata: Details of ModelService.CopyModel operation.
type GoogleCloudAiplatformV1CopyModelOperationMetadata struct { // GenericMetadata: The common part of the operation metadata. GenericMetadata *GoogleCloudAiplatformV1GenericOperationMetadata `json:"genericMetadata,omitempty"` // ForceSendFields is a list of field names (e.g. "GenericMetadata") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "GenericMetadata") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1CopyModelOperationMetadata) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1CopyModelRequest: Request message for ModelService.CopyModel.
type GoogleCloudAiplatformV1CopyModelRequest struct { // EncryptionSpec: Customer-managed encryption key options. If this is set, // then the Model copy will be encrypted with the provided encryption key. EncryptionSpec *GoogleCloudAiplatformV1EncryptionSpec `json:"encryptionSpec,omitempty"` // ModelId: Optional. Copy source_model into a new Model with this ID. The ID // will become the final component of the model resource name. This value may // be up to 63 characters, and valid characters are `[a-z0-9_-]`. The first // character cannot be a number or hyphen. ModelId string `json:"modelId,omitempty"` // ParentModel: Optional. Specify this field to copy source_model into this // existing Model as a new version. Format: // `projects/{project}/locations/{location}/models/{model}` ParentModel string `json:"parentModel,omitempty"` // SourceModel: Required. The resource name of the Model to copy. That Model // must be in the same Project. Format: // `projects/{project}/locations/{location}/models/{model}` SourceModel string `json:"sourceModel,omitempty"` // ForceSendFields is a list of field names (e.g. "EncryptionSpec") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "EncryptionSpec") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1CopyModelRequest) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1CopyModelResponse: Response message of ModelService.CopyModel operation.
type GoogleCloudAiplatformV1CopyModelResponse struct { // Model: The name of the copied Model resource. Format: // `projects/{project}/locations/{location}/models/{model}` Model string `json:"model,omitempty"` // ModelVersionId: Output only. The version ID of the model that is copied. ModelVersionId string `json:"modelVersionId,omitempty"` // ForceSendFields is a list of field names (e.g. "Model") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Model") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1CopyModelResponse) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1CountTokensRequest: Request message for PredictionService.CountTokens.
type GoogleCloudAiplatformV1CountTokensRequest struct { // Contents: Required. Input content. Contents []*GoogleCloudAiplatformV1Content `json:"contents,omitempty"` // Instances: Required. The instances that are the input to token counting // call. Schema is identical to the prediction schema of the underlying model. Instances []interface{} `json:"instances,omitempty"` // Model: Required. The name of the publisher model requested to serve the // prediction. Format: // `projects/{project}/locations/{location}/publishers/*/models/*` Model string `json:"model,omitempty"` // ForceSendFields is a list of field names (e.g. "Contents") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Contents") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1CountTokensRequest) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1CountTokensResponse: Response message for PredictionService.CountTokens.
type GoogleCloudAiplatformV1CountTokensResponse struct { // TotalBillableCharacters: The total number of billable characters counted // across all instances from the request. TotalBillableCharacters int64 `json:"totalBillableCharacters,omitempty"` // TotalTokens: The total number of tokens counted across all instances from // the request. TotalTokens int64 `json:"totalTokens,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "TotalBillableCharacters") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "TotalBillableCharacters") to // include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1CountTokensResponse) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1CreateDatasetOperationMetadata: Runtime operation information for DatasetService.CreateDataset.
type GoogleCloudAiplatformV1CreateDatasetOperationMetadata struct { // GenericMetadata: The operation generic information. GenericMetadata *GoogleCloudAiplatformV1GenericOperationMetadata `json:"genericMetadata,omitempty"` // ForceSendFields is a list of field names (e.g. "GenericMetadata") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "GenericMetadata") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1CreateDatasetOperationMetadata) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1CreateDatasetVersionOperationMetadata: Runtime operation information for DatasetService.CreateDatasetVersion.
type GoogleCloudAiplatformV1CreateDatasetVersionOperationMetadata struct { // GenericMetadata: The common part of the operation metadata. GenericMetadata *GoogleCloudAiplatformV1GenericOperationMetadata `json:"genericMetadata,omitempty"` // ForceSendFields is a list of field names (e.g. "GenericMetadata") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "GenericMetadata") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1CreateDatasetVersionOperationMetadata) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1CreateDeploymentResourcePoolOperationMetadata: Runtime operation information for CreateDeploymentResourcePool method.
type GoogleCloudAiplatformV1CreateDeploymentResourcePoolOperationMetadata struct { // GenericMetadata: The operation generic information. GenericMetadata *GoogleCloudAiplatformV1GenericOperationMetadata `json:"genericMetadata,omitempty"` // ForceSendFields is a list of field names (e.g. "GenericMetadata") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "GenericMetadata") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1CreateDeploymentResourcePoolOperationMetadata) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1CreateDeploymentResourcePoolRequest: Request message for CreateDeploymentResourcePool method.
type GoogleCloudAiplatformV1CreateDeploymentResourcePoolRequest struct { // DeploymentResourcePool: Required. The DeploymentResourcePool to create. DeploymentResourcePool *GoogleCloudAiplatformV1DeploymentResourcePool `json:"deploymentResourcePool,omitempty"` // DeploymentResourcePoolId: Required. The ID to use for the // DeploymentResourcePool, which will become the final component of the // DeploymentResourcePool's resource name. The maximum length is 63 characters, // and valid characters are `/^a-z ([a-z0-9-]{0,61}[a-z0-9])?$/`. DeploymentResourcePoolId string `json:"deploymentResourcePoolId,omitempty"` // ForceSendFields is a list of field names (e.g. "DeploymentResourcePool") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DeploymentResourcePool") to // include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1CreateDeploymentResourcePoolRequest) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1CreateEndpointOperationMetadata: Runtime operation information for EndpointService.CreateEndpoint.
type GoogleCloudAiplatformV1CreateEndpointOperationMetadata struct { // GenericMetadata: The operation generic information. GenericMetadata *GoogleCloudAiplatformV1GenericOperationMetadata `json:"genericMetadata,omitempty"` // ForceSendFields is a list of field names (e.g. "GenericMetadata") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "GenericMetadata") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1CreateEndpointOperationMetadata) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1CreateEntityTypeOperationMetadata: Details of operations that perform create EntityType.
type GoogleCloudAiplatformV1CreateEntityTypeOperationMetadata struct { // GenericMetadata: Operation metadata for EntityType. GenericMetadata *GoogleCloudAiplatformV1GenericOperationMetadata `json:"genericMetadata,omitempty"` // ForceSendFields is a list of field names (e.g. "GenericMetadata") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "GenericMetadata") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1CreateEntityTypeOperationMetadata) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1CreateFeatureGroupOperationMetadata: Details of operations that perform create FeatureGroup.
type GoogleCloudAiplatformV1CreateFeatureGroupOperationMetadata struct { // GenericMetadata: Operation metadata for FeatureGroup. GenericMetadata *GoogleCloudAiplatformV1GenericOperationMetadata `json:"genericMetadata,omitempty"` // ForceSendFields is a list of field names (e.g. "GenericMetadata") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "GenericMetadata") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1CreateFeatureGroupOperationMetadata) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1CreateFeatureOnlineStoreOperationMetadata: Details of operations that perform create FeatureOnlineStore.
type GoogleCloudAiplatformV1CreateFeatureOnlineStoreOperationMetadata struct { // GenericMetadata: Operation metadata for FeatureOnlineStore. GenericMetadata *GoogleCloudAiplatformV1GenericOperationMetadata `json:"genericMetadata,omitempty"` // ForceSendFields is a list of field names (e.g. "GenericMetadata") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "GenericMetadata") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1CreateFeatureOnlineStoreOperationMetadata) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1CreateFeatureOperationMetadata: Details of operations that perform create Feature.
type GoogleCloudAiplatformV1CreateFeatureOperationMetadata struct { // GenericMetadata: Operation metadata for Feature. GenericMetadata *GoogleCloudAiplatformV1GenericOperationMetadata `json:"genericMetadata,omitempty"` // ForceSendFields is a list of field names (e.g. "GenericMetadata") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "GenericMetadata") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1CreateFeatureOperationMetadata) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1CreateFeatureRequest: Request message for FeaturestoreService.CreateFeature. Request message for FeatureRegistryService.CreateFeature.
type GoogleCloudAiplatformV1CreateFeatureRequest struct { // Feature: Required. The Feature to create. Feature *GoogleCloudAiplatformV1Feature `json:"feature,omitempty"` // FeatureId: Required. The ID to use for the Feature, which will become the // final component of the Feature's resource name. This value may be up to 128 // characters, and valid characters are `[a-z0-9_]`. The first character cannot // be a number. The value must be unique within an EntityType/FeatureGroup. FeatureId string `json:"featureId,omitempty"` // Parent: Required. The resource name of the EntityType or FeatureGroup to // create a Feature. Format for entity_type as parent: // `projects/{project}/locations/{location}/featurestores/{featurestore}/entityT // ypes/{entity_type}` Format for feature_group as parent: // `projects/{project}/locations/{location}/featureGroups/{feature_group}` Parent string `json:"parent,omitempty"` // ForceSendFields is a list of field names (e.g. "Feature") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Feature") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1CreateFeatureRequest) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1CreateFeatureViewOperationMetadata: Details of operations that perform create FeatureView.
type GoogleCloudAiplatformV1CreateFeatureViewOperationMetadata struct { // GenericMetadata: Operation metadata for FeatureView Create. GenericMetadata *GoogleCloudAiplatformV1GenericOperationMetadata `json:"genericMetadata,omitempty"` // ForceSendFields is a list of field names (e.g. "GenericMetadata") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "GenericMetadata") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1CreateFeatureViewOperationMetadata) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1CreateFeaturestoreOperationMetadata: Details of operations that perform create Featurestore.
type GoogleCloudAiplatformV1CreateFeaturestoreOperationMetadata struct { // GenericMetadata: Operation metadata for Featurestore. GenericMetadata *GoogleCloudAiplatformV1GenericOperationMetadata `json:"genericMetadata,omitempty"` // ForceSendFields is a list of field names (e.g. "GenericMetadata") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "GenericMetadata") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1CreateFeaturestoreOperationMetadata) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1CreateIndexEndpointOperationMetadata: Runtime operation information for IndexEndpointService.CreateIndexEndpoint.
type GoogleCloudAiplatformV1CreateIndexEndpointOperationMetadata struct { // GenericMetadata: The operation generic information. GenericMetadata *GoogleCloudAiplatformV1GenericOperationMetadata `json:"genericMetadata,omitempty"` // ForceSendFields is a list of field names (e.g. "GenericMetadata") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "GenericMetadata") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1CreateIndexEndpointOperationMetadata) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1CreateIndexOperationMetadata: Runtime operation information for IndexService.CreateIndex.
type GoogleCloudAiplatformV1CreateIndexOperationMetadata struct { // GenericMetadata: The operation generic information. GenericMetadata *GoogleCloudAiplatformV1GenericOperationMetadata `json:"genericMetadata,omitempty"` // NearestNeighborSearchOperationMetadata: The operation metadata with regard // to Matching Engine Index operation. NearestNeighborSearchOperationMetadata *GoogleCloudAiplatformV1NearestNeighborSearchOperationMetadata `json:"nearestNeighborSearchOperationMetadata,omitempty"` // ForceSendFields is a list of field names (e.g. "GenericMetadata") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "GenericMetadata") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1CreateIndexOperationMetadata) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1CreateMetadataStoreOperationMetadata: Details of operations that perform MetadataService.CreateMetadataStore.
type GoogleCloudAiplatformV1CreateMetadataStoreOperationMetadata struct { // GenericMetadata: Operation metadata for creating a MetadataStore. GenericMetadata *GoogleCloudAiplatformV1GenericOperationMetadata `json:"genericMetadata,omitempty"` // ForceSendFields is a list of field names (e.g. "GenericMetadata") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "GenericMetadata") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1CreateMetadataStoreOperationMetadata) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1CreateNotebookRuntimeTemplateOperationMetadata: Metadata information for NotebookService.CreateNotebookRuntimeTemplate.
type GoogleCloudAiplatformV1CreateNotebookRuntimeTemplateOperationMetadata struct { // GenericMetadata: The operation generic information. GenericMetadata *GoogleCloudAiplatformV1GenericOperationMetadata `json:"genericMetadata,omitempty"` // ForceSendFields is a list of field names (e.g. "GenericMetadata") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "GenericMetadata") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1CreateNotebookRuntimeTemplateOperationMetadata) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1CreatePersistentResourceOperationMetadata: Details of operations that perform create PersistentResource.
type GoogleCloudAiplatformV1CreatePersistentResourceOperationMetadata struct { // GenericMetadata: Operation metadata for PersistentResource. GenericMetadata *GoogleCloudAiplatformV1GenericOperationMetadata `json:"genericMetadata,omitempty"` // ProgressMessage: Progress Message for Create LRO ProgressMessage string `json:"progressMessage,omitempty"` // ForceSendFields is a list of field names (e.g. "GenericMetadata") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "GenericMetadata") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1CreatePersistentResourceOperationMetadata) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1CreatePipelineJobRequest: Request message for PipelineService.CreatePipelineJob.
type GoogleCloudAiplatformV1CreatePipelineJobRequest struct { // Parent: Required. The resource name of the Location to create the // PipelineJob in. Format: `projects/{project}/locations/{location}` Parent string `json:"parent,omitempty"` // PipelineJob: Required. The PipelineJob to create. PipelineJob *GoogleCloudAiplatformV1PipelineJob `json:"pipelineJob,omitempty"` // PipelineJobId: The ID to use for the PipelineJob, which will become the // final component of the PipelineJob name. If not provided, an ID will be // automatically generated. This value should be less than 128 characters, and // valid characters are `/a-z-/`. PipelineJobId string `json:"pipelineJobId,omitempty"` // ForceSendFields is a list of field names (e.g. "Parent") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Parent") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1CreatePipelineJobRequest) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1CreateRegistryFeatureOperationMetadata: Details of operations that perform create FeatureGroup.
type GoogleCloudAiplatformV1CreateRegistryFeatureOperationMetadata struct { // GenericMetadata: Operation metadata for Feature. GenericMetadata *GoogleCloudAiplatformV1GenericOperationMetadata `json:"genericMetadata,omitempty"` // ForceSendFields is a list of field names (e.g. "GenericMetadata") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "GenericMetadata") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1CreateRegistryFeatureOperationMetadata) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1CreateSpecialistPoolOperationMetadata: Runtime operation information for SpecialistPoolService.CreateSpecialistPool.
type GoogleCloudAiplatformV1CreateSpecialistPoolOperationMetadata struct { // GenericMetadata: The operation generic information. GenericMetadata *GoogleCloudAiplatformV1GenericOperationMetadata `json:"genericMetadata,omitempty"` // ForceSendFields is a list of field names (e.g. "GenericMetadata") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "GenericMetadata") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1CreateSpecialistPoolOperationMetadata) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1CreateTensorboardOperationMetadata: Details of operations that perform create Tensorboard.
type GoogleCloudAiplatformV1CreateTensorboardOperationMetadata struct { // GenericMetadata: Operation metadata for Tensorboard. GenericMetadata *GoogleCloudAiplatformV1GenericOperationMetadata `json:"genericMetadata,omitempty"` // ForceSendFields is a list of field names (e.g. "GenericMetadata") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "GenericMetadata") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1CreateTensorboardOperationMetadata) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1CreateTensorboardRunRequest: Request message for TensorboardService.CreateTensorboardRun.
type GoogleCloudAiplatformV1CreateTensorboardRunRequest struct { // Parent: Required. The resource name of the TensorboardExperiment to create // the TensorboardRun in. Format: // `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experimen // ts/{experiment}` Parent string `json:"parent,omitempty"` // TensorboardRun: Required. The TensorboardRun to create. TensorboardRun *GoogleCloudAiplatformV1TensorboardRun `json:"tensorboardRun,omitempty"` // TensorboardRunId: Required. The ID to use for the Tensorboard run, which // becomes the final component of the Tensorboard run's resource name. This // value should be 1-128 characters, and valid characters are `/a-z-/`. TensorboardRunId string `json:"tensorboardRunId,omitempty"` // ForceSendFields is a list of field names (e.g. "Parent") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Parent") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1CreateTensorboardRunRequest) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1CreateTensorboardTimeSeriesRequest: Request message for TensorboardService.CreateTensorboardTimeSeries.
type GoogleCloudAiplatformV1CreateTensorboardTimeSeriesRequest struct { // Parent: Required. The resource name of the TensorboardRun to create the // TensorboardTimeSeries in. Format: // `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experimen // ts/{experiment}/runs/{run}` Parent string `json:"parent,omitempty"` // TensorboardTimeSeries: Required. The TensorboardTimeSeries to create. TensorboardTimeSeries *GoogleCloudAiplatformV1TensorboardTimeSeries `json:"tensorboardTimeSeries,omitempty"` // TensorboardTimeSeriesId: Optional. The user specified unique ID to use for // the TensorboardTimeSeries, which becomes the final component of the // TensorboardTimeSeries's resource name. This value should match "a-z0-9{0, // 127}" TensorboardTimeSeriesId string `json:"tensorboardTimeSeriesId,omitempty"` // ForceSendFields is a list of field names (e.g. "Parent") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Parent") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1CreateTensorboardTimeSeriesRequest) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1CsvDestination: The storage details for CSV output content.
type GoogleCloudAiplatformV1CsvDestination struct { // GcsDestination: Required. Google Cloud Storage location. GcsDestination *GoogleCloudAiplatformV1GcsDestination `json:"gcsDestination,omitempty"` // ForceSendFields is a list of field names (e.g. "GcsDestination") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "GcsDestination") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1CsvDestination) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1CsvSource: The storage details for CSV input content.
type GoogleCloudAiplatformV1CsvSource struct { // GcsSource: Required. Google Cloud Storage location. GcsSource *GoogleCloudAiplatformV1GcsSource `json:"gcsSource,omitempty"` // ForceSendFields is a list of field names (e.g. "GcsSource") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "GcsSource") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1CsvSource) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1CustomJob: Represents a job that runs custom workloads such as a Docker container or a Python package. A CustomJob can have multiple worker pools and each worker pool can have its own machine and input spec. A CustomJob will be cleaned up once the job enters terminal state (failed or succeeded).
type GoogleCloudAiplatformV1CustomJob struct { // CreateTime: Output only. Time when the CustomJob was created. CreateTime string `json:"createTime,omitempty"` // DisplayName: Required. The display name of the CustomJob. The name can be up // to 128 characters long and can consist of any UTF-8 characters. DisplayName string `json:"displayName,omitempty"` // EncryptionSpec: Customer-managed encryption key options for a CustomJob. If // this is set, then all resources created by the CustomJob will be encrypted // with the provided encryption key. EncryptionSpec *GoogleCloudAiplatformV1EncryptionSpec `json:"encryptionSpec,omitempty"` // EndTime: Output only. Time when the CustomJob entered any of the following // states: `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED`, `JOB_STATE_CANCELLED`. EndTime string `json:"endTime,omitempty"` // Error: Output only. Only populated when job's state is `JOB_STATE_FAILED` or // `JOB_STATE_CANCELLED`. Error *GoogleRpcStatus `json:"error,omitempty"` // JobSpec: Required. Job spec. JobSpec *GoogleCloudAiplatformV1CustomJobSpec `json:"jobSpec,omitempty"` // Labels: The labels with user-defined metadata to organize CustomJobs. Label // keys and values can be no longer than 64 characters (Unicode codepoints), // can only contain lowercase letters, numeric characters, underscores and // dashes. International characters are allowed. See https://goo.gl/xmQnxf for // more information and examples of labels. Labels map[string]string `json:"labels,omitempty"` // Name: Output only. Resource name of a CustomJob. Name string `json:"name,omitempty"` // StartTime: Output only. Time when the CustomJob for the first time entered // the `JOB_STATE_RUNNING` state. StartTime string `json:"startTime,omitempty"` // State: Output only. The detailed state of the job. // // Possible values: // "JOB_STATE_UNSPECIFIED" - The job state is unspecified. // "JOB_STATE_QUEUED" - The job has been just created or resumed and // processing has not yet begun. // "JOB_STATE_PENDING" - The service is preparing to run the job. // "JOB_STATE_RUNNING" - The job is in progress. // "JOB_STATE_SUCCEEDED" - The job completed successfully. // "JOB_STATE_FAILED" - The job failed. // "JOB_STATE_CANCELLING" - The job is being cancelled. From this state the // job may only go to either `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED` or // `JOB_STATE_CANCELLED`. // "JOB_STATE_CANCELLED" - The job has been cancelled. // "JOB_STATE_PAUSED" - The job has been stopped, and can be resumed. // "JOB_STATE_EXPIRED" - The job has expired. // "JOB_STATE_UPDATING" - The job is being updated. Only jobs in the // `RUNNING` state can be updated. After updating, the job goes back to the // `RUNNING` state. // "JOB_STATE_PARTIALLY_SUCCEEDED" - The job is partially succeeded, some // results may be missing due to errors. State string `json:"state,omitempty"` // UpdateTime: Output only. Time when the CustomJob was most recently updated. UpdateTime string `json:"updateTime,omitempty"` // WebAccessUris: Output only. URIs for accessing interactive shells // (https://cloud.google.com/vertex-ai/docs/training/monitor-debug-interactive-shell) // (one URI for each training node). Only available if // job_spec.enable_web_access is `true`. The keys are names of each node in the // training job; for example, `workerpool0-0` for the primary node, // `workerpool1-0` for the first node in the second worker pool, and // `workerpool1-1` for the second node in the second worker pool. The values // are the URIs for each node's interactive shell. WebAccessUris map[string]string `json:"webAccessUris,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "CreateTime") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CreateTime") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1CustomJob) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1CustomJobSpec: Represents the spec of a CustomJob.
type GoogleCloudAiplatformV1CustomJobSpec struct { // BaseOutputDirectory: The Cloud Storage location to store the output of this // CustomJob or HyperparameterTuningJob. For HyperparameterTuningJob, the // baseOutputDirectory of each child CustomJob backing a Trial is set to a // subdirectory of name id under its parent HyperparameterTuningJob's // baseOutputDirectory. The following Vertex AI environment variables will be // passed to containers or python modules when this field is set: For // CustomJob: * AIP_MODEL_DIR = `/model/` * AIP_CHECKPOINT_DIR = // `/checkpoints/` * AIP_TENSORBOARD_LOG_DIR = `/logs/` For CustomJob backing a // Trial of HyperparameterTuningJob: * AIP_MODEL_DIR = `//model/` * // AIP_CHECKPOINT_DIR = `//checkpoints/` * AIP_TENSORBOARD_LOG_DIR = `//logs/` BaseOutputDirectory *GoogleCloudAiplatformV1GcsDestination `json:"baseOutputDirectory,omitempty"` // EnableDashboardAccess: Optional. Whether you want Vertex AI to enable access // to the customized dashboard in training chief container. If set to `true`, // you can access the dashboard at the URIs given by CustomJob.web_access_uris // or Trial.web_access_uris (within HyperparameterTuningJob.trials). EnableDashboardAccess bool `json:"enableDashboardAccess,omitempty"` // EnableWebAccess: Optional. Whether you want Vertex AI to enable interactive // shell access // (https://cloud.google.com/vertex-ai/docs/training/monitor-debug-interactive-shell) // to training containers. If set to `true`, you can access interactive shells // at the URIs given by CustomJob.web_access_uris or Trial.web_access_uris // (within HyperparameterTuningJob.trials). EnableWebAccess bool `json:"enableWebAccess,omitempty"` // Experiment: Optional. The Experiment associated with this job. Format: // `projects/{project}/locations/{location}/metadataStores/{metadataStores}/cont // exts/{experiment-name}` Experiment string `json:"experiment,omitempty"` // ExperimentRun: Optional. The Experiment Run associated with this job. // Format: // `projects/{project}/locations/{location}/metadataStores/{metadataStores}/cont // exts/{experiment-name}-{experiment-run-name}` ExperimentRun string `json:"experimentRun,omitempty"` // Models: Optional. The name of the Model resources for which to generate a // mapping to artifact URIs. Applicable only to some of the Google-provided // custom jobs. Format: // `projects/{project}/locations/{location}/models/{model}` In order to // retrieve a specific version of the model, also provide the version ID or // version alias. Example: // `projects/{project}/locations/{location}/models/{model}@2` or // `projects/{project}/locations/{location}/models/{model}@golden` If no // version ID or alias is specified, the "default" version will be returned. // The "default" version alias is created for the first version of the model, // and can be moved to other versions later on. There will be exactly one // default version. Models []string `json:"models,omitempty"` // Network: Optional. The full name of the Compute Engine network // (/compute/docs/networks-and-firewalls#networks) to which the Job should be // peered. For example, `projects/12345/global/networks/myVPC`. Format // (/compute/docs/reference/rest/v1/networks/insert) is of the form // `projects/{project}/global/networks/{network}`. Where {project} is a project // number, as in `12345`, and {network} is a network name. To specify this // field, you must have already configured VPC Network Peering for Vertex AI // (https://cloud.google.com/vertex-ai/docs/general/vpc-peering). If this field // is left unspecified, the job is not peered with any network. Network string `json:"network,omitempty"` // PersistentResourceId: Optional. The ID of the PersistentResource in the same // Project and Location which to run If this is specified, the job will be run // on existing machines held by the PersistentResource instead of on-demand // short-live machines. The network and CMEK configs on the job should be // consistent with those on the PersistentResource, otherwise, the job will be // rejected. PersistentResourceId string `json:"persistentResourceId,omitempty"` // ProtectedArtifactLocationId: The ID of the location to store protected // artifacts. e.g. us-central1. Populate only when the location is different // than CustomJob location. List of supported locations: // https://cloud.google.com/vertex-ai/docs/general/locations ProtectedArtifactLocationId string `json:"protectedArtifactLocationId,omitempty"` // ReservedIpRanges: Optional. A list of names for the reserved ip ranges under // the VPC network that can be used for this job. If set, we will deploy the // job within the provided ip ranges. Otherwise, the job will be deployed to // any ip ranges under the provided VPC network. Example: // ['vertex-ai-ip-range']. ReservedIpRanges []string `json:"reservedIpRanges,omitempty"` // Scheduling: Scheduling options for a CustomJob. Scheduling *GoogleCloudAiplatformV1Scheduling `json:"scheduling,omitempty"` // ServiceAccount: Specifies the service account for workload run-as account. // Users submitting jobs must have act-as permission on this run-as account. If // unspecified, the Vertex AI Custom Code Service Agent // (https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents) // for the CustomJob's project is used. ServiceAccount string `json:"serviceAccount,omitempty"` // Tensorboard: Optional. The name of a Vertex AI Tensorboard resource to which // this CustomJob will upload Tensorboard logs. Format: // `projects/{project}/locations/{location}/tensorboards/{tensorboard}` Tensorboard string `json:"tensorboard,omitempty"` // WorkerPoolSpecs: Required. The spec of the worker pools including machine // type and Docker image. All worker pools except the first one are optional // and can be skipped by providing an empty value. WorkerPoolSpecs []*GoogleCloudAiplatformV1WorkerPoolSpec `json:"workerPoolSpecs,omitempty"` // ForceSendFields is a list of field names (e.g. "BaseOutputDirectory") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BaseOutputDirectory") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1CustomJobSpec) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1DataItem: A piece of data in a Dataset. Could be an image, a video, a document or plain text.
type GoogleCloudAiplatformV1DataItem struct { // CreateTime: Output only. Timestamp when this DataItem was created. CreateTime string `json:"createTime,omitempty"` // Etag: Optional. Used to perform consistent read-modify-write updates. If not // set, a blind "overwrite" update happens. Etag string `json:"etag,omitempty"` // Labels: Optional. The labels with user-defined metadata to organize your // DataItems. Label keys and values can be no longer than 64 characters // (Unicode codepoints), can only contain lowercase letters, numeric // characters, underscores and dashes. International characters are allowed. No // more than 64 user labels can be associated with one DataItem(System labels // are excluded). See https://goo.gl/xmQnxf for more information and examples // of labels. System reserved label keys are prefixed with // "aiplatform.googleapis.com/" and are immutable. Labels map[string]string `json:"labels,omitempty"` // Name: Output only. The resource name of the DataItem. Name string `json:"name,omitempty"` // Payload: Required. The data that the DataItem represents (for example, an // image or a text snippet). The schema of the payload is stored in the parent // Dataset's metadata schema's dataItemSchemaUri field. Payload interface{} `json:"payload,omitempty"` // UpdateTime: Output only. Timestamp when this DataItem was last updated. UpdateTime string `json:"updateTime,omitempty"` // ForceSendFields is a list of field names (e.g. "CreateTime") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CreateTime") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1DataItem) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1DataItemView: A container for a single DataItem and Annotations on it.
type GoogleCloudAiplatformV1DataItemView struct { // Annotations: The Annotations on the DataItem. If too many Annotations should // be returned for the DataItem, this field will be truncated per // annotations_limit in request. If it was, then the has_truncated_annotations // will be set to true. Annotations []*GoogleCloudAiplatformV1Annotation `json:"annotations,omitempty"` // DataItem: The DataItem. DataItem *GoogleCloudAiplatformV1DataItem `json:"dataItem,omitempty"` // HasTruncatedAnnotations: True if and only if the Annotations field has been // truncated. It happens if more Annotations for this DataItem met the // request's annotation_filter than are allowed to be returned by // annotations_limit. Note that if Annotations field is not being returned due // to field mask, then this field will not be set to true no matter how many // Annotations are there. HasTruncatedAnnotations bool `json:"hasTruncatedAnnotations,omitempty"` // ForceSendFields is a list of field names (e.g. "Annotations") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Annotations") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1DataItemView) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1DataLabelingJob: DataLabelingJob is used to trigger a human labeling job on unlabeled data from the following Dataset:
type GoogleCloudAiplatformV1DataLabelingJob struct { // ActiveLearningConfig: Parameters that configure the active learning // pipeline. Active learning will label the data incrementally via several // iterations. For every iteration, it will select a batch of data based on the // sampling strategy. ActiveLearningConfig *GoogleCloudAiplatformV1ActiveLearningConfig `json:"activeLearningConfig,omitempty"` // AnnotationLabels: Labels to assign to annotations generated by this // DataLabelingJob. Label keys and values can be no longer than 64 characters // (Unicode codepoints), can only contain lowercase letters, numeric // characters, underscores and dashes. International characters are allowed. // See https://goo.gl/xmQnxf for more information and examples of labels. // System reserved label keys are prefixed with "aiplatform.googleapis.com/" // and are immutable. AnnotationLabels map[string]string `json:"annotationLabels,omitempty"` // CreateTime: Output only. Timestamp when this DataLabelingJob was created. CreateTime string `json:"createTime,omitempty"` // CurrentSpend: Output only. Estimated cost(in US dollars) that the // DataLabelingJob has incurred to date. CurrentSpend *GoogleTypeMoney `json:"currentSpend,omitempty"` // Datasets: Required. Dataset resource names. Right now we only support // labeling from a single Dataset. Format: // `projects/{project}/locations/{location}/datasets/{dataset}` Datasets []string `json:"datasets,omitempty"` // DisplayName: Required. The user-defined name of the DataLabelingJob. The // name can be up to 128 characters long and can consist of any UTF-8 // characters. Display name of a DataLabelingJob. DisplayName string `json:"displayName,omitempty"` // EncryptionSpec: Customer-managed encryption key spec for a DataLabelingJob. // If set, this DataLabelingJob will be secured by this key. Note: Annotations // created in the DataLabelingJob are associated with the EncryptionSpec of the // Dataset they are exported to. EncryptionSpec *GoogleCloudAiplatformV1EncryptionSpec `json:"encryptionSpec,omitempty"` // Error: Output only. DataLabelingJob errors. It is only populated when job's // state is `JOB_STATE_FAILED` or `JOB_STATE_CANCELLED`. Error *GoogleRpcStatus `json:"error,omitempty"` // Inputs: Required. Input config parameters for the DataLabelingJob. Inputs interface{} `json:"inputs,omitempty"` // InputsSchemaUri: Required. Points to a YAML file stored on Google Cloud // Storage describing the config for a specific type of DataLabelingJob. The // schema files that can be used here are found in the // https://storage.googleapis.com/google-cloud-aiplatform bucket in the // /schema/datalabelingjob/inputs/ folder. InputsSchemaUri string `json:"inputsSchemaUri,omitempty"` // InstructionUri: Required. The Google Cloud Storage location of the // instruction pdf. This pdf is shared with labelers, and provides detailed // description on how to label DataItems in Datasets. InstructionUri string `json:"instructionUri,omitempty"` // LabelerCount: Required. Number of labelers to work on each DataItem. LabelerCount int64 `json:"labelerCount,omitempty"` // LabelingProgress: Output only. Current labeling job progress percentage // scaled in interval [0, 100], indicating the percentage of DataItems that has // been finished. LabelingProgress int64 `json:"labelingProgress,omitempty"` // Labels: The labels with user-defined metadata to organize your // DataLabelingJobs. Label keys and values can be no longer than 64 characters // (Unicode codepoints), can only contain lowercase letters, numeric // characters, underscores and dashes. International characters are allowed. // See https://goo.gl/xmQnxf for more information and examples of labels. // System reserved label keys are prefixed with "aiplatform.googleapis.com/" // and are immutable. Following system labels exist for each DataLabelingJob: * // "aiplatform.googleapis.com/schema": output only, its value is the // inputs_schema's title. Labels map[string]string `json:"labels,omitempty"` // Name: Output only. Resource name of the DataLabelingJob. Name string `json:"name,omitempty"` // SpecialistPools: The SpecialistPools' resource names associated with this // job. SpecialistPools []string `json:"specialistPools,omitempty"` // State: Output only. The detailed state of the job. // // Possible values: // "JOB_STATE_UNSPECIFIED" - The job state is unspecified. // "JOB_STATE_QUEUED" - The job has been just created or resumed and // processing has not yet begun. // "JOB_STATE_PENDING" - The service is preparing to run the job. // "JOB_STATE_RUNNING" - The job is in progress. // "JOB_STATE_SUCCEEDED" - The job completed successfully. // "JOB_STATE_FAILED" - The job failed. // "JOB_STATE_CANCELLING" - The job is being cancelled. From this state the // job may only go to either `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED` or // `JOB_STATE_CANCELLED`. // "JOB_STATE_CANCELLED" - The job has been cancelled. // "JOB_STATE_PAUSED" - The job has been stopped, and can be resumed. // "JOB_STATE_EXPIRED" - The job has expired. // "JOB_STATE_UPDATING" - The job is being updated. Only jobs in the // `RUNNING` state can be updated. After updating, the job goes back to the // `RUNNING` state. // "JOB_STATE_PARTIALLY_SUCCEEDED" - The job is partially succeeded, some // results may be missing due to errors. State string `json:"state,omitempty"` // UpdateTime: Output only. Timestamp when this DataLabelingJob was updated // most recently. UpdateTime string `json:"updateTime,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "ActiveLearningConfig") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ActiveLearningConfig") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1DataLabelingJob) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1Dataset: A collection of DataItems and Annotations on them.
type GoogleCloudAiplatformV1Dataset struct { // CreateTime: Output only. Timestamp when this Dataset was created. CreateTime string `json:"createTime,omitempty"` // DataItemCount: Output only. The number of DataItems in this Dataset. Only // apply for non-structured Dataset. DataItemCount int64 `json:"dataItemCount,omitempty,string"` // Description: The description of the Dataset. Description string `json:"description,omitempty"` // DisplayName: Required. The user-defined name of the Dataset. The name can be // up to 128 characters long and can consist of any UTF-8 characters. DisplayName string `json:"displayName,omitempty"` // EncryptionSpec: Customer-managed encryption key spec for a Dataset. If set, // this Dataset and all sub-resources of this Dataset will be secured by this // key. EncryptionSpec *GoogleCloudAiplatformV1EncryptionSpec `json:"encryptionSpec,omitempty"` // Etag: Used to perform consistent read-modify-write updates. If not set, a // blind "overwrite" update happens. Etag string `json:"etag,omitempty"` // Labels: The labels with user-defined metadata to organize your Datasets. // Label keys and values can be no longer than 64 characters (Unicode // codepoints), can only contain lowercase letters, numeric characters, // underscores and dashes. International characters are allowed. No more than // 64 user labels can be associated with one Dataset (System labels are // excluded). See https://goo.gl/xmQnxf for more information and examples of // labels. System reserved label keys are prefixed with // "aiplatform.googleapis.com/" and are immutable. Following system labels // exist for each Dataset: * // "aiplatform.googleapis.com/dataset_metadata_schema": output only, its value // is the metadata_schema's title. Labels map[string]string `json:"labels,omitempty"` // Metadata: Required. Additional information about the Dataset. Metadata interface{} `json:"metadata,omitempty"` // MetadataArtifact: Output only. The resource name of the Artifact that was // created in MetadataStore when creating the Dataset. The Artifact resource // name pattern is // `projects/{project}/locations/{location}/metadataStores/{metadata_store}/arti // facts/{artifact}`. MetadataArtifact string `json:"metadataArtifact,omitempty"` // MetadataSchemaUri: Required. Points to a YAML file stored on Google Cloud // Storage describing additional information about the Dataset. The schema is // defined as an OpenAPI 3.0.2 Schema Object. The schema files that can be used // here are found in gs://google-cloud-aiplatform/schema/dataset/metadata/. MetadataSchemaUri string `json:"metadataSchemaUri,omitempty"` // ModelReference: Optional. Reference to the public base model last used by // the dataset. Only set for prompt datasets. ModelReference string `json:"modelReference,omitempty"` // Name: Output only. The resource name of the Dataset. Name string `json:"name,omitempty"` // SavedQueries: All SavedQueries belong to the Dataset will be returned in // List/Get Dataset response. The annotation_specs field will not be populated // except for UI cases which will only use annotation_spec_count. In // CreateDataset request, a SavedQuery is created together if this field is // set, up to one SavedQuery can be set in CreateDatasetRequest. The SavedQuery // should not contain any AnnotationSpec. SavedQueries []*GoogleCloudAiplatformV1SavedQuery `json:"savedQueries,omitempty"` // UpdateTime: Output only. Timestamp when this Dataset was last updated. UpdateTime string `json:"updateTime,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "CreateTime") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CreateTime") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1Dataset) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1DatasetVersion: Describes the dataset version.
type GoogleCloudAiplatformV1DatasetVersion struct { // BigQueryDatasetName: Output only. Name of the associated BigQuery dataset. BigQueryDatasetName string `json:"bigQueryDatasetName,omitempty"` // CreateTime: Output only. Timestamp when this DatasetVersion was created. CreateTime string `json:"createTime,omitempty"` // DisplayName: The user-defined name of the DatasetVersion. The name can be up // to 128 characters long and can consist of any UTF-8 characters. DisplayName string `json:"displayName,omitempty"` // Etag: Used to perform consistent read-modify-write updates. If not set, a // blind "overwrite" update happens. Etag string `json:"etag,omitempty"` // Metadata: Required. Output only. Additional information about the // DatasetVersion. Metadata interface{} `json:"metadata,omitempty"` // ModelReference: Output only. Reference to the public base model last used by // the dataset version. Only set for prompt dataset versions. ModelReference string `json:"modelReference,omitempty"` // Name: Output only. The resource name of the DatasetVersion. Name string `json:"name,omitempty"` // UpdateTime: Output only. Timestamp when this DatasetVersion was last // updated. UpdateTime string `json:"updateTime,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "BigQueryDatasetName") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BigQueryDatasetName") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1DatasetVersion) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1DedicatedResources: A description of resources that are dedicated to a DeployedModel, and that need a higher degree of manual configuration.
type GoogleCloudAiplatformV1DedicatedResources struct { // AutoscalingMetricSpecs: Immutable. The metric specifications that overrides // a resource utilization metric (CPU utilization, accelerator's duty cycle, // and so on) target value (default to 60 if not set). At most one entry is // allowed per metric. If machine_spec.accelerator_count is above 0, the // autoscaling will be based on both CPU utilization and accelerator's duty // cycle metrics and scale up when either metrics exceeds its target value // while scale down if both metrics are under their target value. The default // target value is 60 for both metrics. If machine_spec.accelerator_count is 0, // the autoscaling will be based on CPU utilization metric only with default // target value 60 if not explicitly set. For example, in the case of Online // Prediction, if you want to override target CPU utilization to 80, you should // set autoscaling_metric_specs.metric_name to // `aiplatform.googleapis.com/prediction/online/cpu/utilization` and // autoscaling_metric_specs.target to `80`. AutoscalingMetricSpecs []*GoogleCloudAiplatformV1AutoscalingMetricSpec `json:"autoscalingMetricSpecs,omitempty"` // MachineSpec: Required. Immutable. The specification of a single machine used // by the prediction. MachineSpec *GoogleCloudAiplatformV1MachineSpec `json:"machineSpec,omitempty"` // MaxReplicaCount: Immutable. The maximum number of replicas this // DeployedModel may be deployed on when the traffic against it increases. If // the requested value is too large, the deployment will error, but if // deployment succeeds then the ability to scale the model to that many // replicas is guaranteed (barring service outages). If traffic against the // DeployedModel increases beyond what its replicas at maximum may handle, a // portion of the traffic will be dropped. If this value is not provided, will // use min_replica_count as the default value. The value of this field impacts // the charge against Vertex CPU and GPU quotas. Specifically, you will be // charged for (max_replica_count * number of cores in the selected machine // type) and (max_replica_count * number of GPUs per replica in the selected // machine type). MaxReplicaCount int64 `json:"maxReplicaCount,omitempty"` // MinReplicaCount: Required. Immutable. The minimum number of machine replicas // this DeployedModel will be always deployed on. This value must be greater // than or equal to 1. If traffic against the DeployedModel increases, it may // dynamically be deployed onto more replicas, and as traffic decreases, some // of these extra replicas may be freed. MinReplicaCount int64 `json:"minReplicaCount,omitempty"` // ForceSendFields is a list of field names (e.g. "AutoscalingMetricSpecs") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AutoscalingMetricSpecs") to // include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1DedicatedResources) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1DeleteFeatureValuesOperationMetadata: Details of operations that delete Feature values.
type GoogleCloudAiplatformV1DeleteFeatureValuesOperationMetadata struct { // GenericMetadata: Operation metadata for Featurestore delete Features values. GenericMetadata *GoogleCloudAiplatformV1GenericOperationMetadata `json:"genericMetadata,omitempty"` // ForceSendFields is a list of field names (e.g. "GenericMetadata") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "GenericMetadata") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1DeleteFeatureValuesOperationMetadata) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1DeleteFeatureValuesRequest: Request message for FeaturestoreService.DeleteFeatureValues.
type GoogleCloudAiplatformV1DeleteFeatureValuesRequest struct { // SelectEntity: Select feature values to be deleted by specifying entities. SelectEntity *GoogleCloudAiplatformV1DeleteFeatureValuesRequestSelectEntity `json:"selectEntity,omitempty"` // SelectTimeRangeAndFeature: Select feature values to be deleted by specifying // time range and features. SelectTimeRangeAndFeature *GoogleCloudAiplatformV1DeleteFeatureValuesRequestSelectTimeRangeAndFeature `json:"selectTimeRangeAndFeature,omitempty"` // ForceSendFields is a list of field names (e.g. "SelectEntity") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "SelectEntity") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1DeleteFeatureValuesRequest) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1DeleteFeatureValuesRequestSelectEntity: Message to select entity. If an entity id is selected, all the feature values corresponding to the entity id will be deleted, including the entityId.
type GoogleCloudAiplatformV1DeleteFeatureValuesRequestSelectEntity struct { // EntityIdSelector: Required. Selectors choosing feature values of which // entity id to be deleted from the EntityType. EntityIdSelector *GoogleCloudAiplatformV1EntityIdSelector `json:"entityIdSelector,omitempty"` // ForceSendFields is a list of field names (e.g. "EntityIdSelector") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "EntityIdSelector") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1DeleteFeatureValuesRequestSelectEntity) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1DeleteFeatureValuesRequestSelectTimeRangeAndFeature: Message to select time range and feature. Values of the selected feature generated within an inclusive time range will be deleted. Using this option permanently deletes the feature values from the specified feature IDs within the specified time range. This might include data from the online storage. If you want to retain any deleted historical data in the online storage, you must re-ingest it.
type GoogleCloudAiplatformV1DeleteFeatureValuesRequestSelectTimeRangeAndFeature struct { // FeatureSelector: Required. Selectors choosing which feature values to be // deleted from the EntityType. FeatureSelector *GoogleCloudAiplatformV1FeatureSelector `json:"featureSelector,omitempty"` // SkipOnlineStorageDelete: If set, data will not be deleted from online // storage. When time range is older than the data in online storage, setting // this to be true will make the deletion have no impact on online serving. SkipOnlineStorageDelete bool `json:"skipOnlineStorageDelete,omitempty"` // TimeRange: Required. Select feature generated within a half-inclusive time // range. The time range is lower inclusive and upper exclusive. TimeRange *GoogleTypeInterval `json:"timeRange,omitempty"` // ForceSendFields is a list of field names (e.g. "FeatureSelector") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "FeatureSelector") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1DeleteFeatureValuesRequestSelectTimeRangeAndFeature) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1DeleteFeatureValuesResponse: Response message for FeaturestoreService.DeleteFeatureValues.
type GoogleCloudAiplatformV1DeleteFeatureValuesResponse struct { // SelectEntity: Response for request specifying the entities to delete SelectEntity *GoogleCloudAiplatformV1DeleteFeatureValuesResponseSelectEntity `json:"selectEntity,omitempty"` // SelectTimeRangeAndFeature: Response for request specifying time range and // feature SelectTimeRangeAndFeature *GoogleCloudAiplatformV1DeleteFeatureValuesResponseSelectTimeRangeAndFeature `json:"selectTimeRangeAndFeature,omitempty"` // ForceSendFields is a list of field names (e.g. "SelectEntity") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "SelectEntity") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1DeleteFeatureValuesResponse) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1DeleteFeatureValuesResponseSelectEntity: Response message if the request uses the SelectEntity option.
type GoogleCloudAiplatformV1DeleteFeatureValuesResponseSelectEntity struct { // OfflineStorageDeletedEntityRowCount: The count of deleted entity rows in the // offline storage. Each row corresponds to the combination of an entity ID and // a timestamp. One entity ID can have multiple rows in the offline storage. OfflineStorageDeletedEntityRowCount int64 `json:"offlineStorageDeletedEntityRowCount,omitempty,string"` // OnlineStorageDeletedEntityCount: The count of deleted entities in the online // storage. Each entity ID corresponds to one entity. OnlineStorageDeletedEntityCount int64 `json:"onlineStorageDeletedEntityCount,omitempty,string"` // ForceSendFields is a list of field names (e.g. // "OfflineStorageDeletedEntityRowCount") to unconditionally include in API // requests. By default, fields with empty or default values are omitted from // API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. // "OfflineStorageDeletedEntityRowCount") to include in API requests with the // JSON null value. By default, fields with empty values are omitted from API // requests. See https://pkg.go.dev/google.golang.org/api#hdr-NullFields for // more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1DeleteFeatureValuesResponseSelectEntity) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1DeleteFeatureValuesResponseSelectTimeRangeAndFeature: Response message if the request uses the SelectTimeRangeAndFeature option.
type GoogleCloudAiplatformV1DeleteFeatureValuesResponseSelectTimeRangeAndFeature struct { // ImpactedFeatureCount: The count of the features or columns impacted. This is // the same as the feature count in the request. ImpactedFeatureCount int64 `json:"impactedFeatureCount,omitempty,string"` // OfflineStorageModifiedEntityRowCount: The count of modified entity rows in // the offline storage. Each row corresponds to the combination of an entity ID // and a timestamp. One entity ID can have multiple rows in the offline // storage. Within each row, only the features specified in the request are // deleted. OfflineStorageModifiedEntityRowCount int64 `json:"offlineStorageModifiedEntityRowCount,omitempty,string"` // OnlineStorageModifiedEntityCount: The count of modified entities in the // online storage. Each entity ID corresponds to one entity. Within each // entity, only the features specified in the request are deleted. OnlineStorageModifiedEntityCount int64 `json:"onlineStorageModifiedEntityCount,omitempty,string"` // ForceSendFields is a list of field names (e.g. "ImpactedFeatureCount") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ImpactedFeatureCount") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1DeleteFeatureValuesResponseSelectTimeRangeAndFeature) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1DeleteMetadataStoreOperationMetadata: Details of operations that perform MetadataService.DeleteMetadataStore.
type GoogleCloudAiplatformV1DeleteMetadataStoreOperationMetadata struct { // GenericMetadata: Operation metadata for deleting a MetadataStore. GenericMetadata *GoogleCloudAiplatformV1GenericOperationMetadata `json:"genericMetadata,omitempty"` // ForceSendFields is a list of field names (e.g. "GenericMetadata") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "GenericMetadata") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1DeleteMetadataStoreOperationMetadata) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1DeleteOperationMetadata: Details of operations that perform deletes of any entities.
type GoogleCloudAiplatformV1DeleteOperationMetadata struct { // GenericMetadata: The common part of the operation metadata. GenericMetadata *GoogleCloudAiplatformV1GenericOperationMetadata `json:"genericMetadata,omitempty"` // ForceSendFields is a list of field names (e.g. "GenericMetadata") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "GenericMetadata") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1DeleteOperationMetadata) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1DeployIndexOperationMetadata: Runtime operation information for IndexEndpointService.DeployIndex.
type GoogleCloudAiplatformV1DeployIndexOperationMetadata struct { // DeployedIndexId: The unique index id specified by user DeployedIndexId string `json:"deployedIndexId,omitempty"` // GenericMetadata: The operation generic information. GenericMetadata *GoogleCloudAiplatformV1GenericOperationMetadata `json:"genericMetadata,omitempty"` // ForceSendFields is a list of field names (e.g. "DeployedIndexId") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DeployedIndexId") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1DeployIndexOperationMetadata) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1DeployIndexRequest: Request message for IndexEndpointService.DeployIndex.
type GoogleCloudAiplatformV1DeployIndexRequest struct { // DeployedIndex: Required. The DeployedIndex to be created within the // IndexEndpoint. DeployedIndex *GoogleCloudAiplatformV1DeployedIndex `json:"deployedIndex,omitempty"` // ForceSendFields is a list of field names (e.g. "DeployedIndex") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DeployedIndex") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1DeployIndexRequest) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1DeployIndexResponse: Response message for IndexEndpointService.DeployIndex.
type GoogleCloudAiplatformV1DeployIndexResponse struct { // DeployedIndex: The DeployedIndex that had been deployed in the // IndexEndpoint. DeployedIndex *GoogleCloudAiplatformV1DeployedIndex `json:"deployedIndex,omitempty"` // ForceSendFields is a list of field names (e.g. "DeployedIndex") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DeployedIndex") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1DeployIndexResponse) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1DeployModelOperationMetadata: Runtime operation information for EndpointService.DeployModel.
type GoogleCloudAiplatformV1DeployModelOperationMetadata struct { // GenericMetadata: The operation generic information. GenericMetadata *GoogleCloudAiplatformV1GenericOperationMetadata `json:"genericMetadata,omitempty"` // ForceSendFields is a list of field names (e.g. "GenericMetadata") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "GenericMetadata") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1DeployModelOperationMetadata) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1DeployModelRequest: Request message for EndpointService.DeployModel.
type GoogleCloudAiplatformV1DeployModelRequest struct { // DeployedModel: Required. The DeployedModel to be created within the // Endpoint. Note that Endpoint.traffic_split must be updated for the // DeployedModel to start receiving traffic, either as part of this call, or // via EndpointService.UpdateEndpoint. DeployedModel *GoogleCloudAiplatformV1DeployedModel `json:"deployedModel,omitempty"` // TrafficSplit: A map from a DeployedModel's ID to the percentage of this // Endpoint's traffic that should be forwarded to that DeployedModel. If this // field is non-empty, then the Endpoint's traffic_split will be overwritten // with it. To refer to the ID of the just being deployed Model, a "0" should // be used, and the actual ID of the new DeployedModel will be filled in its // place by this method. The traffic percentage values must add up to 100. If // this field is empty, then the Endpoint's traffic_split is not updated. TrafficSplit map[string]int64 `json:"trafficSplit,omitempty"` // ForceSendFields is a list of field names (e.g. "DeployedModel") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DeployedModel") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1DeployModelRequest) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1DeployModelResponse: Response message for EndpointService.DeployModel.
type GoogleCloudAiplatformV1DeployModelResponse struct { // DeployedModel: The DeployedModel that had been deployed in the Endpoint. DeployedModel *GoogleCloudAiplatformV1DeployedModel `json:"deployedModel,omitempty"` // ForceSendFields is a list of field names (e.g. "DeployedModel") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DeployedModel") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1DeployModelResponse) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1DeployedIndex: A deployment of an Index. IndexEndpoints contain one or more DeployedIndexes.
type GoogleCloudAiplatformV1DeployedIndex struct { // AutomaticResources: Optional. A description of resources that the // DeployedIndex uses, which to large degree are decided by Vertex AI, and // optionally allows only a modest additional configuration. If // min_replica_count is not set, the default value is 2 (we don't provide SLA // when min_replica_count=1). If max_replica_count is not set, the default // value is min_replica_count. The max allowed replica count is 1000. AutomaticResources *GoogleCloudAiplatformV1AutomaticResources `json:"automaticResources,omitempty"` // CreateTime: Output only. Timestamp when the DeployedIndex was created. CreateTime string `json:"createTime,omitempty"` // DedicatedResources: Optional. A description of resources that are dedicated // to the DeployedIndex, and that need a higher degree of manual configuration. // The field min_replica_count must be set to a value strictly greater than 0, // or else validation will fail. We don't provide SLA when min_replica_count=1. // If max_replica_count is not set, the default value is min_replica_count. The // max allowed replica count is 1000. Available machine types for SMALL shard: // e2-standard-2 and all machine types available for MEDIUM and LARGE shard. // Available machine types for MEDIUM shard: e2-standard-16 and all machine // types available for LARGE shard. Available machine types for LARGE shard: // e2-highmem-16, n2d-standard-32. n1-standard-16 and n1-standard-32 are still // available, but we recommend e2-standard-16 and e2-highmem-16 for cost // efficiency. DedicatedResources *GoogleCloudAiplatformV1DedicatedResources `json:"dedicatedResources,omitempty"` // DeployedIndexAuthConfig: Optional. If set, the authentication is enabled for // the private endpoint. DeployedIndexAuthConfig *GoogleCloudAiplatformV1DeployedIndexAuthConfig `json:"deployedIndexAuthConfig,omitempty"` // DeploymentGroup: Optional. The deployment group can be no longer than 64 // characters (eg: 'test', 'prod'). If not set, we will use the 'default' // deployment group. Creating `deployment_groups` with `reserved_ip_ranges` is // a recommended practice when the peered network has multiple peering ranges. // This creates your deployments from predictable IP spaces for easier traffic // administration. Also, one deployment_group (except 'default') can only be // used with the same reserved_ip_ranges which means if the deployment_group // has been used with reserved_ip_ranges: [a, b, c], using it with [a, b] or // [d, e] is disallowed. Note: we only support up to 5 deployment groups(not // including 'default'). DeploymentGroup string `json:"deploymentGroup,omitempty"` // DisplayName: The display name of the DeployedIndex. If not provided upon // creation, the Index's display_name is used. DisplayName string `json:"displayName,omitempty"` // EnableAccessLogging: Optional. If true, private endpoint's access logs are // sent to Cloud Logging. These logs are like standard server access logs, // containing information like timestamp and latency for each MatchRequest. // Note that logs may incur a cost, especially if the deployed index receives a // high queries per second rate (QPS). Estimate your costs before enabling this // option. EnableAccessLogging bool `json:"enableAccessLogging,omitempty"` // Id: Required. The user specified ID of the DeployedIndex. The ID can be up // to 128 characters long and must start with a letter and only contain // letters, numbers, and underscores. The ID must be unique within the project // it is created in. Id string `json:"id,omitempty"` // Index: Required. The name of the Index this is the deployment of. We may // refer to this Index as the DeployedIndex's "original" Index. Index string `json:"index,omitempty"` // IndexSyncTime: Output only. The DeployedIndex may depend on various data on // its original Index. Additionally when certain changes to the original Index // are being done (e.g. when what the Index contains is being changed) the // DeployedIndex may be asynchronously updated in the background to reflect // these changes. If this timestamp's value is at least the Index.update_time // of the original Index, it means that this DeployedIndex and the original // Index are in sync. If this timestamp is older, then to see which updates // this DeployedIndex already contains (and which it does not), one must list // the operations that are running on the original Index. Only the successfully // completed Operations with update_time equal or before this sync time are // contained in this DeployedIndex. IndexSyncTime string `json:"indexSyncTime,omitempty"` // PrivateEndpoints: Output only. Provides paths for users to send requests // directly to the deployed index services running on Cloud via private // services access. This field is populated if network is configured. PrivateEndpoints *GoogleCloudAiplatformV1IndexPrivateEndpoints `json:"privateEndpoints,omitempty"` // ReservedIpRanges: Optional. A list of reserved ip ranges under the VPC // network that can be used for this DeployedIndex. If set, we will deploy the // index within the provided ip ranges. Otherwise, the index might be deployed // to any ip ranges under the provided VPC network. The value should be the // name of the address // (https://cloud.google.com/compute/docs/reference/rest/v1/addresses) Example: // ['vertex-ai-ip-range']. For more information about subnets and network IP // ranges, please see // https://cloud.google.com/vpc/docs/subnets#manually_created_subnet_ip_ranges. ReservedIpRanges []string `json:"reservedIpRanges,omitempty"` // ForceSendFields is a list of field names (e.g. "AutomaticResources") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AutomaticResources") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1DeployedIndex) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1DeployedIndexAuthConfig: Used to set up the auth on the DeployedIndex's private endpoint.
type GoogleCloudAiplatformV1DeployedIndexAuthConfig struct { // AuthProvider: Defines the authentication provider that the DeployedIndex // uses. AuthProvider *GoogleCloudAiplatformV1DeployedIndexAuthConfigAuthProvider `json:"authProvider,omitempty"` // ForceSendFields is a list of field names (e.g. "AuthProvider") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AuthProvider") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1DeployedIndexAuthConfig) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1DeployedIndexAuthConfigAuthProvider: Configuration for an authentication provider, including support for JSON Web Token (JWT) (https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32).
type GoogleCloudAiplatformV1DeployedIndexAuthConfigAuthProvider struct { // AllowedIssuers: A list of allowed JWT issuers. Each entry must be a valid // Google service account, in the following format: // `service-account-name@project-id.iam.gserviceaccount.com` AllowedIssuers []string `json:"allowedIssuers,omitempty"` // Audiences: The list of JWT audiences // (https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3). // that are allowed to access. A JWT containing any of these audiences will be // accepted. Audiences []string `json:"audiences,omitempty"` // ForceSendFields is a list of field names (e.g. "AllowedIssuers") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AllowedIssuers") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1DeployedIndexAuthConfigAuthProvider) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1DeployedIndexRef: Points to a DeployedIndex.
type GoogleCloudAiplatformV1DeployedIndexRef struct { // DeployedIndexId: Immutable. The ID of the DeployedIndex in the above // IndexEndpoint. DeployedIndexId string `json:"deployedIndexId,omitempty"` // DisplayName: Output only. The display name of the DeployedIndex. DisplayName string `json:"displayName,omitempty"` // IndexEndpoint: Immutable. A resource name of the IndexEndpoint. IndexEndpoint string `json:"indexEndpoint,omitempty"` // ForceSendFields is a list of field names (e.g. "DeployedIndexId") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DeployedIndexId") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1DeployedIndexRef) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1DeployedModel: A deployment of a Model. Endpoints contain one or more DeployedModels.
type GoogleCloudAiplatformV1DeployedModel struct { // AutomaticResources: A description of resources that to large degree are // decided by Vertex AI, and require only a modest additional configuration. AutomaticResources *GoogleCloudAiplatformV1AutomaticResources `json:"automaticResources,omitempty"` // CreateTime: Output only. Timestamp when the DeployedModel was created. CreateTime string `json:"createTime,omitempty"` // DedicatedResources: A description of resources that are dedicated to the // DeployedModel, and that need a higher degree of manual configuration. DedicatedResources *GoogleCloudAiplatformV1DedicatedResources `json:"dedicatedResources,omitempty"` // DisableContainerLogging: For custom-trained Models and AutoML Tabular // Models, the container of the DeployedModel instances will send `stderr` and // `stdout` streams to Cloud Logging by default. Please note that the logs // incur cost, which are subject to Cloud Logging pricing // (https://cloud.google.com/logging/pricing). User can disable container // logging by setting this flag to true. DisableContainerLogging bool `json:"disableContainerLogging,omitempty"` // DisableExplanations: If true, deploy the model without explainable feature, // regardless the existence of Model.explanation_spec or explanation_spec. DisableExplanations bool `json:"disableExplanations,omitempty"` // DisplayName: The display name of the DeployedModel. If not provided upon // creation, the Model's display_name is used. DisplayName string `json:"displayName,omitempty"` // EnableAccessLogging: If true, online prediction access logs are sent to // Cloud Logging. These logs are like standard server access logs, containing // information like timestamp and latency for each prediction request. Note // that logs may incur a cost, especially if your project receives prediction // requests at a high queries per second rate (QPS). Estimate your costs before // enabling this option. EnableAccessLogging bool `json:"enableAccessLogging,omitempty"` // ExplanationSpec: Explanation configuration for this DeployedModel. When // deploying a Model using EndpointService.DeployModel, this value overrides // the value of Model.explanation_spec. All fields of explanation_spec are // optional in the request. If a field of explanation_spec is not populated, // the value of the same field of Model.explanation_spec is inherited. If the // corresponding Model.explanation_spec is not populated, all fields of the // explanation_spec will be used for the explanation configuration. ExplanationSpec *GoogleCloudAiplatformV1ExplanationSpec `json:"explanationSpec,omitempty"` // Id: Immutable. The ID of the DeployedModel. If not provided upon deployment, // Vertex AI will generate a value for this ID. This value should be 1-10 // characters, and valid characters are `/[0-9]/`. Id string `json:"id,omitempty"` // Model: Required. The resource name of the Model that this is the deployment // of. Note that the Model may be in a different location than the // DeployedModel's Endpoint. The resource name may contain version id or // version alias to specify the version. Example: // `projects/{project}/locations/{location}/models/{model}@2` or // `projects/{project}/locations/{location}/models/{model}@golden` if no // version is specified, the default version will be deployed. Model string `json:"model,omitempty"` // ModelVersionId: Output only. The version ID of the model that is deployed. ModelVersionId string `json:"modelVersionId,omitempty"` // PrivateEndpoints: Output only. Provide paths for users to send // predict/explain/health requests directly to the deployed model services // running on Cloud via private services access. This field is populated if // network is configured. PrivateEndpoints *GoogleCloudAiplatformV1PrivateEndpoints `json:"privateEndpoints,omitempty"` // ServiceAccount: The service account that the DeployedModel's container runs // as. Specify the email address of the service account. If this service // account is not specified, the container runs as a service account that // doesn't have access to the resource project. Users deploying the Model must // have the `iam.serviceAccounts.actAs` permission on this service account. ServiceAccount string `json:"serviceAccount,omitempty"` // SharedResources: The resource name of the shared DeploymentResourcePool to // deploy on. Format: // `projects/{project}/locations/{location}/deploymentResourcePools/{deployment_ // resource_pool}` SharedResources string `json:"sharedResources,omitempty"` // ForceSendFields is a list of field names (e.g. "AutomaticResources") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AutomaticResources") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1DeployedModel) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1DeployedModelRef: Points to a DeployedModel.
type GoogleCloudAiplatformV1DeployedModelRef struct { // DeployedModelId: Immutable. An ID of a DeployedModel in the above Endpoint. DeployedModelId string `json:"deployedModelId,omitempty"` // Endpoint: Immutable. A resource name of an Endpoint. Endpoint string `json:"endpoint,omitempty"` // ForceSendFields is a list of field names (e.g. "DeployedModelId") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DeployedModelId") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1DeployedModelRef) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1DeploymentResourcePool: A description of resources that can be shared by multiple DeployedModels, whose underlying specification consists of a DedicatedResources.
type GoogleCloudAiplatformV1DeploymentResourcePool struct { // CreateTime: Output only. Timestamp when this DeploymentResourcePool was // created. CreateTime string `json:"createTime,omitempty"` // DedicatedResources: Required. The underlying DedicatedResources that the // DeploymentResourcePool uses. DedicatedResources *GoogleCloudAiplatformV1DedicatedResources `json:"dedicatedResources,omitempty"` // Name: Immutable. The resource name of the DeploymentResourcePool. Format: // `projects/{project}/locations/{location}/deploymentResourcePools/{deployment_ // resource_pool}` Name string `json:"name,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "CreateTime") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CreateTime") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1DeploymentResourcePool) MarshalJSON() ([]byte, error)
type GoogleCloudAiplatformV1DestinationFeatureSetting struct { // DestinationField: Specify the field name in the export destination. If not // specified, Feature ID is used. DestinationField string `json:"destinationField,omitempty"` // FeatureId: Required. The ID of the Feature to apply the setting to. FeatureId string `json:"featureId,omitempty"` // ForceSendFields is a list of field names (e.g. "DestinationField") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DestinationField") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1DestinationFeatureSetting) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1DirectPredictRequest: Request message for PredictionService.DirectPredict.
type GoogleCloudAiplatformV1DirectPredictRequest struct { // Inputs: The prediction input. Inputs []*GoogleCloudAiplatformV1Tensor `json:"inputs,omitempty"` // Parameters: The parameters that govern the prediction. Parameters *GoogleCloudAiplatformV1Tensor `json:"parameters,omitempty"` // ForceSendFields is a list of field names (e.g. "Inputs") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Inputs") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1DirectPredictRequest) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1DirectPredictResponse: Response message for PredictionService.DirectPredict.
type GoogleCloudAiplatformV1DirectPredictResponse struct { // Outputs: The prediction output. Outputs []*GoogleCloudAiplatformV1Tensor `json:"outputs,omitempty"` // Parameters: The parameters that govern the prediction. Parameters *GoogleCloudAiplatformV1Tensor `json:"parameters,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Outputs") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Outputs") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1DirectPredictResponse) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1DirectRawPredictRequest: Request message for PredictionService.DirectRawPredict.
type GoogleCloudAiplatformV1DirectRawPredictRequest struct { // Input: The prediction input. Input string `json:"input,omitempty"` // MethodName: Fully qualified name of the API method being invoked to perform // predictions. Format: `/namespace.Service/Method/` Example: // `/tensorflow.serving.PredictionService/Predict` MethodName string `json:"methodName,omitempty"` // ForceSendFields is a list of field names (e.g. "Input") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Input") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1DirectRawPredictRequest) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1DirectRawPredictResponse: Response message for PredictionService.DirectRawPredict.
type GoogleCloudAiplatformV1DirectRawPredictResponse struct { // Output: The prediction output. Output string `json:"output,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Output") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Output") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1DirectRawPredictResponse) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1DiskSpec: Represents the spec of disk options.
type GoogleCloudAiplatformV1DiskSpec struct { // BootDiskSizeGb: Size in GB of the boot disk (default is 100GB). BootDiskSizeGb int64 `json:"bootDiskSizeGb,omitempty"` // BootDiskType: Type of the boot disk (default is "pd-ssd"). Valid values: // "pd-ssd" (Persistent Disk Solid State Drive) or "pd-standard" (Persistent // Disk Hard Disk Drive). BootDiskType string `json:"bootDiskType,omitempty"` // ForceSendFields is a list of field names (e.g. "BootDiskSizeGb") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BootDiskSizeGb") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1DiskSpec) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1DoubleArray: A list of double values.
type GoogleCloudAiplatformV1DoubleArray struct { // Values: A list of double values. Values []float64 `json:"values,omitempty"` // ForceSendFields is a list of field names (e.g. "Values") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Values") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1DoubleArray) MarshalJSON() ([]byte, error)
func (s *GoogleCloudAiplatformV1DoubleArray) UnmarshalJSON(data []byte) error
GoogleCloudAiplatformV1EncryptionSpec: Represents a customer-managed encryption key spec that can be applied to a top-level resource.
type GoogleCloudAiplatformV1EncryptionSpec struct { // KmsKeyName: Required. The Cloud KMS resource identifier of the customer // managed encryption key used to protect a resource. Has the form: // `projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key`. // The key needs to be in the same region as where the compute resource is // created. KmsKeyName string `json:"kmsKeyName,omitempty"` // ForceSendFields is a list of field names (e.g. "KmsKeyName") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "KmsKeyName") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1EncryptionSpec) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1Endpoint: Models are deployed into it, and afterwards Endpoint is called to obtain predictions and explanations.
type GoogleCloudAiplatformV1Endpoint struct { // CreateTime: Output only. Timestamp when this Endpoint was created. CreateTime string `json:"createTime,omitempty"` // DeployedModels: Output only. The models deployed in this Endpoint. To add or // remove DeployedModels use EndpointService.DeployModel and // EndpointService.UndeployModel respectively. DeployedModels []*GoogleCloudAiplatformV1DeployedModel `json:"deployedModels,omitempty"` // Description: The description of the Endpoint. Description string `json:"description,omitempty"` // DisplayName: Required. The display name of the Endpoint. The name can be up // to 128 characters long and can consist of any UTF-8 characters. DisplayName string `json:"displayName,omitempty"` // EnablePrivateServiceConnect: Deprecated: If true, expose the Endpoint via // private service connect. Only one of the fields, network or // enable_private_service_connect, can be set. EnablePrivateServiceConnect bool `json:"enablePrivateServiceConnect,omitempty"` // EncryptionSpec: Customer-managed encryption key spec for an Endpoint. If // set, this Endpoint and all sub-resources of this Endpoint will be secured by // this key. EncryptionSpec *GoogleCloudAiplatformV1EncryptionSpec `json:"encryptionSpec,omitempty"` // Etag: Used to perform consistent read-modify-write updates. If not set, a // blind "overwrite" update happens. Etag string `json:"etag,omitempty"` // Labels: The labels with user-defined metadata to organize your Endpoints. // Label keys and values can be no longer than 64 characters (Unicode // codepoints), can only contain lowercase letters, numeric characters, // underscores and dashes. International characters are allowed. See // https://goo.gl/xmQnxf for more information and examples of labels. Labels map[string]string `json:"labels,omitempty"` // ModelDeploymentMonitoringJob: Output only. Resource name of the Model // Monitoring job associated with this Endpoint if monitoring is enabled by // JobService.CreateModelDeploymentMonitoringJob. Format: // `projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model // _deployment_monitoring_job}` ModelDeploymentMonitoringJob string `json:"modelDeploymentMonitoringJob,omitempty"` // Name: Output only. The resource name of the Endpoint. Name string `json:"name,omitempty"` // Network: Optional. The full name of the Google Compute Engine network // (https://cloud.google.com//compute/docs/networks-and-firewalls#networks) to // which the Endpoint should be peered. Private services access must already be // configured for the network. If left unspecified, the Endpoint is not peered // with any network. Only one of the fields, network or // enable_private_service_connect, can be set. Format // (https://cloud.google.com/compute/docs/reference/rest/v1/networks/insert): // `projects/{project}/global/networks/{network}`. Where `{project}` is a // project number, as in `12345`, and `{network}` is network name. Network string `json:"network,omitempty"` // PredictRequestResponseLoggingConfig: Configures the request-response logging // for online prediction. PredictRequestResponseLoggingConfig *GoogleCloudAiplatformV1PredictRequestResponseLoggingConfig `json:"predictRequestResponseLoggingConfig,omitempty"` // PrivateServiceConnectConfig: Optional. Configuration for private service // connect. network and private_service_connect_config are mutually exclusive. PrivateServiceConnectConfig *GoogleCloudAiplatformV1PrivateServiceConnectConfig `json:"privateServiceConnectConfig,omitempty"` // TrafficSplit: A map from a DeployedModel's ID to the percentage of this // Endpoint's traffic that should be forwarded to that DeployedModel. If a // DeployedModel's ID is not listed in this map, then it receives no traffic. // The traffic percentage values must add up to 100, or map must be empty if // the Endpoint is to not accept any traffic at a moment. TrafficSplit map[string]int64 `json:"trafficSplit,omitempty"` // UpdateTime: Output only. Timestamp when this Endpoint was last updated. UpdateTime string `json:"updateTime,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "CreateTime") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CreateTime") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1Endpoint) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1EntityIdSelector: Selector for entityId. Getting ids from the given source.
type GoogleCloudAiplatformV1EntityIdSelector struct { // CsvSource: Source of Csv CsvSource *GoogleCloudAiplatformV1CsvSource `json:"csvSource,omitempty"` // EntityIdField: Source column that holds entity IDs. If not provided, entity // IDs are extracted from the column named entity_id. EntityIdField string `json:"entityIdField,omitempty"` // ForceSendFields is a list of field names (e.g. "CsvSource") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CsvSource") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1EntityIdSelector) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1EntityType: An entity type is a type of object in a system that needs to be modeled and have stored information about. For example, driver is an entity type, and driver0 is an instance of an entity type driver.
type GoogleCloudAiplatformV1EntityType struct { // CreateTime: Output only. Timestamp when this EntityType was created. CreateTime string `json:"createTime,omitempty"` // Description: Optional. Description of the EntityType. Description string `json:"description,omitempty"` // Etag: Optional. Used to perform a consistent read-modify-write updates. If // not set, a blind "overwrite" update happens. Etag string `json:"etag,omitempty"` // Labels: Optional. The labels with user-defined metadata to organize your // EntityTypes. Label keys and values can be no longer than 64 characters // (Unicode codepoints), can only contain lowercase letters, numeric // characters, underscores and dashes. International characters are allowed. // See https://goo.gl/xmQnxf for more information on and examples of labels. No // more than 64 user labels can be associated with one EntityType (System // labels are excluded)." System reserved label keys are prefixed with // "aiplatform.googleapis.com/" and are immutable. Labels map[string]string `json:"labels,omitempty"` // MonitoringConfig: Optional. The default monitoring configuration for all // Features with value type (Feature.ValueType) BOOL, STRING, DOUBLE or INT64 // under this EntityType. If this is populated with // [FeaturestoreMonitoringConfig.monitoring_interval] specified, snapshot // analysis monitoring is enabled. Otherwise, snapshot analysis monitoring is // disabled. MonitoringConfig *GoogleCloudAiplatformV1FeaturestoreMonitoringConfig `json:"monitoringConfig,omitempty"` // Name: Immutable. Name of the EntityType. Format: // `projects/{project}/locations/{location}/featurestores/{featurestore}/entityT // ypes/{entity_type}` The last part entity_type is assigned by the client. The // entity_type can be up to 64 characters long and can consist only of ASCII // Latin letters A-Z and a-z and underscore(_), and ASCII digits 0-9 starting // with a letter. The value will be unique given a featurestore. Name string `json:"name,omitempty"` // OfflineStorageTtlDays: Optional. Config for data retention policy in offline // storage. TTL in days for feature values that will be stored in offline // storage. The Feature Store offline storage periodically removes obsolete // feature values older than `offline_storage_ttl_days` since the feature // generation time. If unset (or explicitly set to 0), default to 4000 days // TTL. OfflineStorageTtlDays int64 `json:"offlineStorageTtlDays,omitempty"` // UpdateTime: Output only. Timestamp when this EntityType was most recently // updated. UpdateTime string `json:"updateTime,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "CreateTime") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CreateTime") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1EntityType) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1EnvVar: Represents an environment variable present in a Container or Python Module.
type GoogleCloudAiplatformV1EnvVar struct { // Name: Required. Name of the environment variable. Must be a valid C // identifier. Name string `json:"name,omitempty"` // Value: Required. Variables that reference a $(VAR_NAME) are expanded using // the previous defined environment variables in the container and any service // environment variables. If a variable cannot be resolved, the reference in // the input string will be unchanged. The $(VAR_NAME) syntax can be escaped // with a double $$, ie: $$(VAR_NAME). Escaped references will never be // expanded, regardless of whether the variable exists or not. Value string `json:"value,omitempty"` // ForceSendFields is a list of field names (e.g. "Name") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Name") to include in API requests // with the JSON null value. By default, fields with empty values are omitted // from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1EnvVar) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ErrorAnalysisAnnotation: Model error analysis for each annotation.
type GoogleCloudAiplatformV1ErrorAnalysisAnnotation struct { // AttributedItems: Attributed items for a given annotation, typically // representing neighbors from the training sets constrained by the query type. AttributedItems []*GoogleCloudAiplatformV1ErrorAnalysisAnnotationAttributedItem `json:"attributedItems,omitempty"` // OutlierScore: The outlier score of this annotated item. Usually defined as // the min of all distances from attributed items. OutlierScore float64 `json:"outlierScore,omitempty"` // OutlierThreshold: The threshold used to determine if this annotation is an // outlier or not. OutlierThreshold float64 `json:"outlierThreshold,omitempty"` // QueryType: The query type used for finding the attributed items. // // Possible values: // "QUERY_TYPE_UNSPECIFIED" - Unspecified query type for model error // analysis. // "ALL_SIMILAR" - Query similar samples across all classes in the dataset. // "SAME_CLASS_SIMILAR" - Query similar samples from the same class of the // input sample. // "SAME_CLASS_DISSIMILAR" - Query dissimilar samples from the same class of // the input sample. QueryType string `json:"queryType,omitempty"` // ForceSendFields is a list of field names (e.g. "AttributedItems") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AttributedItems") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ErrorAnalysisAnnotation) MarshalJSON() ([]byte, error)
func (s *GoogleCloudAiplatformV1ErrorAnalysisAnnotation) UnmarshalJSON(data []byte) error
GoogleCloudAiplatformV1ErrorAnalysisAnnotationAttributedItem: Attributed items for a given annotation, typically representing neighbors from the training sets constrained by the query type.
type GoogleCloudAiplatformV1ErrorAnalysisAnnotationAttributedItem struct { // AnnotationResourceName: The unique ID for each annotation. Used by FE to // allocate the annotation in DB. AnnotationResourceName string `json:"annotationResourceName,omitempty"` // Distance: The distance of this item to the annotation. Distance float64 `json:"distance,omitempty"` // ForceSendFields is a list of field names (e.g. "AnnotationResourceName") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AnnotationResourceName") to // include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ErrorAnalysisAnnotationAttributedItem) MarshalJSON() ([]byte, error)
func (s *GoogleCloudAiplatformV1ErrorAnalysisAnnotationAttributedItem) UnmarshalJSON(data []byte) error
GoogleCloudAiplatformV1EvaluatedAnnotation: True positive, false positive, or false negative. EvaluatedAnnotation is only available under ModelEvaluationSlice with slice of `annotationSpec` dimension.
type GoogleCloudAiplatformV1EvaluatedAnnotation struct { // DataItemPayload: Output only. The data item payload that the Model predicted // this EvaluatedAnnotation on. DataItemPayload interface{} `json:"dataItemPayload,omitempty"` // ErrorAnalysisAnnotations: Annotations of model error analysis results. ErrorAnalysisAnnotations []*GoogleCloudAiplatformV1ErrorAnalysisAnnotation `json:"errorAnalysisAnnotations,omitempty"` // EvaluatedDataItemViewId: Output only. ID of the EvaluatedDataItemView under // the same ancestor ModelEvaluation. The EvaluatedDataItemView consists of all // ground truths and predictions on data_item_payload. EvaluatedDataItemViewId string `json:"evaluatedDataItemViewId,omitempty"` // Explanations: Explanations of predictions. Each element of the explanations // indicates the explanation for one explanation Method. The attributions list // in the EvaluatedAnnotationExplanation.explanation object corresponds to the // predictions list. For example, the second element in the attributions list // explains the second element in the predictions list. Explanations []*GoogleCloudAiplatformV1EvaluatedAnnotationExplanation `json:"explanations,omitempty"` // GroundTruths: Output only. The ground truth Annotations, i.e. the // Annotations that exist in the test data the Model is evaluated on. For true // positive, there is one and only one ground truth annotation, which matches // the only prediction in predictions. For false positive, there are zero or // more ground truth annotations that are similar to the only prediction in // predictions, but not enough for a match. For false negative, there is one // and only one ground truth annotation, which doesn't match any predictions // created by the model. The schema of the ground truth is stored in // ModelEvaluation.annotation_schema_uri GroundTruths []interface{} `json:"groundTruths,omitempty"` // Predictions: Output only. The model predicted annotations. For true // positive, there is one and only one prediction, which matches the only one // ground truth annotation in ground_truths. For false positive, there is one // and only one prediction, which doesn't match any ground truth annotation of // the corresponding data_item_view_id. For false negative, there are zero or // more predictions which are similar to the only ground truth annotation in // ground_truths but not enough for a match. The schema of the prediction is // stored in ModelEvaluation.annotation_schema_uri Predictions []interface{} `json:"predictions,omitempty"` // Type: Output only. Type of the EvaluatedAnnotation. // // Possible values: // "EVALUATED_ANNOTATION_TYPE_UNSPECIFIED" - Invalid value. // "TRUE_POSITIVE" - The EvaluatedAnnotation is a true positive. It has a // prediction created by the Model and a ground truth Annotation which the // prediction matches. // "FALSE_POSITIVE" - The EvaluatedAnnotation is false positive. It has a // prediction created by the Model which does not match any ground truth // annotation. // "FALSE_NEGATIVE" - The EvaluatedAnnotation is false negative. It has a // ground truth annotation which is not matched by any of the model created // predictions. Type string `json:"type,omitempty"` // ForceSendFields is a list of field names (e.g. "DataItemPayload") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DataItemPayload") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1EvaluatedAnnotation) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1EvaluatedAnnotationExplanation: Explanation result of the prediction produced by the Model.
type GoogleCloudAiplatformV1EvaluatedAnnotationExplanation struct { // Explanation: Explanation attribution response details. Explanation *GoogleCloudAiplatformV1Explanation `json:"explanation,omitempty"` // ExplanationType: Explanation type. For AutoML Image Classification models, // possible values are: * `image-integrated-gradients` * `image-xrai` ExplanationType string `json:"explanationType,omitempty"` // ForceSendFields is a list of field names (e.g. "Explanation") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Explanation") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1EvaluatedAnnotationExplanation) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1Event: An edge describing the relationship between an Artifact and an Execution in a lineage graph.
type GoogleCloudAiplatformV1Event struct { // Artifact: Required. The relative resource name of the Artifact in the Event. Artifact string `json:"artifact,omitempty"` // EventTime: Output only. Time the Event occurred. EventTime string `json:"eventTime,omitempty"` // Execution: Output only. The relative resource name of the Execution in the // Event. Execution string `json:"execution,omitempty"` // Labels: The labels with user-defined metadata to annotate Events. Label keys // and values can be no longer than 64 characters (Unicode codepoints), can // only contain lowercase letters, numeric characters, underscores and dashes. // International characters are allowed. No more than 64 user labels can be // associated with one Event (System labels are excluded). See // https://goo.gl/xmQnxf for more information and examples of labels. System // reserved label keys are prefixed with "aiplatform.googleapis.com/" and are // immutable. Labels map[string]string `json:"labels,omitempty"` // Type: Required. The type of the Event. // // Possible values: // "TYPE_UNSPECIFIED" - Unspecified whether input or output of the Execution. // "INPUT" - An input of the Execution. // "OUTPUT" - An output of the Execution. Type string `json:"type,omitempty"` // ForceSendFields is a list of field names (e.g. "Artifact") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Artifact") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1Event) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1Examples: Example-based explainability that returns the nearest neighbors from the provided dataset.
type GoogleCloudAiplatformV1Examples struct { // ExampleGcsSource: The Cloud Storage input instances. ExampleGcsSource *GoogleCloudAiplatformV1ExamplesExampleGcsSource `json:"exampleGcsSource,omitempty"` // NearestNeighborSearchConfig: The full configuration for the generated index, // the semantics are the same as metadata and should match // NearestNeighborSearchConfig // (https://cloud.google.com/vertex-ai/docs/explainable-ai/configuring-explanations-example-based#nearest-neighbor-search-config). NearestNeighborSearchConfig interface{} `json:"nearestNeighborSearchConfig,omitempty"` // NeighborCount: The number of neighbors to return when querying for examples. NeighborCount int64 `json:"neighborCount,omitempty"` // Presets: Simplified preset configuration, which automatically sets // configuration values based on the desired query speed-precision trade-off // and modality. Presets *GoogleCloudAiplatformV1Presets `json:"presets,omitempty"` // ForceSendFields is a list of field names (e.g. "ExampleGcsSource") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ExampleGcsSource") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1Examples) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ExamplesExampleGcsSource: The Cloud Storage input instances.
type GoogleCloudAiplatformV1ExamplesExampleGcsSource struct { // DataFormat: The format in which instances are given, if not specified, // assume it's JSONL format. Currently only JSONL format is supported. // // Possible values: // "DATA_FORMAT_UNSPECIFIED" - Format unspecified, used when unset. // "JSONL" - Examples are stored in JSONL files. DataFormat string `json:"dataFormat,omitempty"` // GcsSource: The Cloud Storage location for the input instances. GcsSource *GoogleCloudAiplatformV1GcsSource `json:"gcsSource,omitempty"` // ForceSendFields is a list of field names (e.g. "DataFormat") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DataFormat") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ExamplesExampleGcsSource) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ExamplesOverride: Overrides for example-based explanations.
type GoogleCloudAiplatformV1ExamplesOverride struct { // CrowdingCount: The number of neighbors to return that have the same crowding // tag. CrowdingCount int64 `json:"crowdingCount,omitempty"` // DataFormat: The format of the data being provided with each call. // // Possible values: // "DATA_FORMAT_UNSPECIFIED" - Unspecified format. Must not be used. // "INSTANCES" - Provided data is a set of model inputs. // "EMBEDDINGS" - Provided data is a set of embeddings. DataFormat string `json:"dataFormat,omitempty"` // NeighborCount: The number of neighbors to return. NeighborCount int64 `json:"neighborCount,omitempty"` // Restrictions: Restrict the resulting nearest neighbors to respect these // constraints. Restrictions []*GoogleCloudAiplatformV1ExamplesRestrictionsNamespace `json:"restrictions,omitempty"` // ReturnEmbeddings: If true, return the embeddings instead of neighbors. ReturnEmbeddings bool `json:"returnEmbeddings,omitempty"` // ForceSendFields is a list of field names (e.g. "CrowdingCount") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CrowdingCount") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ExamplesOverride) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ExamplesRestrictionsNamespace: Restrictions namespace for example-based explanations overrides.
type GoogleCloudAiplatformV1ExamplesRestrictionsNamespace struct { // Allow: The list of allowed tags. Allow []string `json:"allow,omitempty"` // Deny: The list of deny tags. Deny []string `json:"deny,omitempty"` // NamespaceName: The namespace name. NamespaceName string `json:"namespaceName,omitempty"` // ForceSendFields is a list of field names (e.g. "Allow") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Allow") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ExamplesRestrictionsNamespace) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1Execution: Instance of a general execution.
type GoogleCloudAiplatformV1Execution struct { // CreateTime: Output only. Timestamp when this Execution was created. CreateTime string `json:"createTime,omitempty"` // Description: Description of the Execution Description string `json:"description,omitempty"` // DisplayName: User provided display name of the Execution. May be up to 128 // Unicode characters. DisplayName string `json:"displayName,omitempty"` // Etag: An eTag used to perform consistent read-modify-write updates. If not // set, a blind "overwrite" update happens. Etag string `json:"etag,omitempty"` // Labels: The labels with user-defined metadata to organize your Executions. // Label keys and values can be no longer than 64 characters (Unicode // codepoints), can only contain lowercase letters, numeric characters, // underscores and dashes. International characters are allowed. No more than // 64 user labels can be associated with one Execution (System labels are // excluded). Labels map[string]string `json:"labels,omitempty"` // Metadata: Properties of the Execution. Top level metadata keys' heading and // trailing spaces will be trimmed. The size of this field should not exceed // 200KB. Metadata googleapi.RawMessage `json:"metadata,omitempty"` // Name: Output only. The resource name of the Execution. Name string `json:"name,omitempty"` // SchemaTitle: The title of the schema describing the metadata. Schema title // and version is expected to be registered in earlier Create Schema calls. And // both are used together as unique identifiers to identify schemas within the // local metadata store. SchemaTitle string `json:"schemaTitle,omitempty"` // SchemaVersion: The version of the schema in `schema_title` to use. Schema // title and version is expected to be registered in earlier Create Schema // calls. And both are used together as unique identifiers to identify schemas // within the local metadata store. SchemaVersion string `json:"schemaVersion,omitempty"` // State: The state of this Execution. This is a property of the Execution, and // does not imply or capture any ongoing process. This property is managed by // clients (such as Vertex AI Pipelines) and the system does not prescribe or // check the validity of state transitions. // // Possible values: // "STATE_UNSPECIFIED" - Unspecified Execution state // "NEW" - The Execution is new // "RUNNING" - The Execution is running // "COMPLETE" - The Execution has finished running // "FAILED" - The Execution has failed // "CACHED" - The Execution completed through Cache hit. // "CANCELLED" - The Execution was cancelled. State string `json:"state,omitempty"` // UpdateTime: Output only. Timestamp when this Execution was last updated. UpdateTime string `json:"updateTime,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "CreateTime") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CreateTime") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1Execution) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ExplainRequest: Request message for PredictionService.Explain.
type GoogleCloudAiplatformV1ExplainRequest struct { // DeployedModelId: If specified, this ExplainRequest will be served by the // chosen DeployedModel, overriding Endpoint.traffic_split. DeployedModelId string `json:"deployedModelId,omitempty"` // ExplanationSpecOverride: If specified, overrides the explanation_spec of the // DeployedModel. Can be used for explaining prediction results with different // configurations, such as: - Explaining top-5 predictions results as opposed // to top-1; - Increasing path count or step count of the attribution methods // to reduce approximate errors; - Using different baselines for explaining the // prediction results. ExplanationSpecOverride *GoogleCloudAiplatformV1ExplanationSpecOverride `json:"explanationSpecOverride,omitempty"` // Instances: Required. The instances that are the input to the explanation // call. A DeployedModel may have an upper limit on the number of instances it // supports per request, and when it is exceeded the explanation call errors in // case of AutoML Models, or, in case of customer created Models, the behaviour // is as documented by that Model. The schema of any single instance may be // specified via Endpoint's DeployedModels' Model's PredictSchemata's // instance_schema_uri. Instances []interface{} `json:"instances,omitempty"` // Parameters: The parameters that govern the prediction. The schema of the // parameters may be specified via Endpoint's DeployedModels' Model's // PredictSchemata's parameters_schema_uri. Parameters interface{} `json:"parameters,omitempty"` // ForceSendFields is a list of field names (e.g. "DeployedModelId") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DeployedModelId") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ExplainRequest) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ExplainResponse: Response message for PredictionService.Explain.
type GoogleCloudAiplatformV1ExplainResponse struct { // DeployedModelId: ID of the Endpoint's DeployedModel that served this // explanation. DeployedModelId string `json:"deployedModelId,omitempty"` // Explanations: The explanations of the Model's PredictResponse.predictions. // It has the same number of elements as instances to be explained. Explanations []*GoogleCloudAiplatformV1Explanation `json:"explanations,omitempty"` // Predictions: The predictions that are the output of the predictions call. // Same as PredictResponse.predictions. Predictions []interface{} `json:"predictions,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "DeployedModelId") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DeployedModelId") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ExplainResponse) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1Explanation: Explanation of a prediction (provided in PredictResponse.predictions) produced by the Model on a given instance.
type GoogleCloudAiplatformV1Explanation struct { // Attributions: Output only. Feature attributions grouped by predicted // outputs. For Models that predict only one output, such as regression Models // that predict only one score, there is only one attibution that explains the // predicted output. For Models that predict multiple outputs, such as // multiclass Models that predict multiple classes, each element explains one // specific item. Attribution.output_index can be used to identify which output // this attribution is explaining. By default, we provide Shapley values for // the predicted class. However, you can configure the explanation request to // generate Shapley values for any other classes too. For example, if a model // predicts a probability of `0.4` for approving a loan application, the // model's decision is to reject the application since `p(reject) = 0.6 > // p(approve) = 0.4`, and the default Shapley values would be computed for // rejection decision and not approval, even though the latter might be the // positive class. If users set ExplanationParameters.top_k, the attributions // are sorted by instance_output_value in descending order. If // ExplanationParameters.output_indices is specified, the attributions are // stored by Attribution.output_index in the same order as they appear in the // output_indices. Attributions []*GoogleCloudAiplatformV1Attribution `json:"attributions,omitempty"` // Neighbors: Output only. List of the nearest neighbors for example-based // explanations. For models deployed with the examples explanations feature // enabled, the attributions field is empty and instead the neighbors field is // populated. Neighbors []*GoogleCloudAiplatformV1Neighbor `json:"neighbors,omitempty"` // ForceSendFields is a list of field names (e.g. "Attributions") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Attributions") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1Explanation) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ExplanationMetadata: Metadata describing the Model's input and output for explanation.
type GoogleCloudAiplatformV1ExplanationMetadata struct { // FeatureAttributionsSchemaUri: Points to a YAML file stored on Google Cloud // Storage describing the format of the feature attributions. The schema is // defined as an OpenAPI 3.0.2 Schema Object // (https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject). // AutoML tabular Models always have this field populated by Vertex AI. Note: // The URI given on output may be different, including the URI scheme, than the // one given on input. The output URI will point to a location where the user // only has a read access. FeatureAttributionsSchemaUri string `json:"featureAttributionsSchemaUri,omitempty"` // Inputs: Required. Map from feature names to feature input metadata. Keys are // the name of the features. Values are the specification of the feature. An // empty InputMetadata is valid. It describes a text feature which has the name // specified as the key in ExplanationMetadata.inputs. The baseline of the // empty feature is chosen by Vertex AI. For Vertex AI-provided Tensorflow // images, the key can be any friendly name of the feature. Once specified, // featureAttributions are keyed by this key (if not grouped with another // feature). For custom images, the key must match with the key in instance. Inputs map[string]GoogleCloudAiplatformV1ExplanationMetadataInputMetadata `json:"inputs,omitempty"` // LatentSpaceSource: Name of the source to generate embeddings for example // based explanations. LatentSpaceSource string `json:"latentSpaceSource,omitempty"` // Outputs: Required. Map from output names to output metadata. For Vertex // AI-provided Tensorflow images, keys can be any user defined string that // consists of any UTF-8 characters. For custom images, keys are the name of // the output field in the prediction to be explained. Currently only one key // is allowed. Outputs map[string]GoogleCloudAiplatformV1ExplanationMetadataOutputMetadata `json:"outputs,omitempty"` // ForceSendFields is a list of field names (e.g. // "FeatureAttributionsSchemaUri") to unconditionally include in API requests. // By default, fields with empty or default values are omitted from API // requests. See https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields // for more details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "FeatureAttributionsSchemaUri") to // include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ExplanationMetadata) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ExplanationMetadataInputMetadata: Metadata of the input of a feature. Fields other than InputMetadata.input_baselines are applicable only for Models that are using Vertex AI-provided images for Tensorflow.
type GoogleCloudAiplatformV1ExplanationMetadataInputMetadata struct { // DenseShapeTensorName: Specifies the shape of the values of the input if the // input is a sparse representation. Refer to Tensorflow documentation for more // details: https://www.tensorflow.org/api_docs/python/tf/sparse/SparseTensor. DenseShapeTensorName string `json:"denseShapeTensorName,omitempty"` // EncodedBaselines: A list of baselines for the encoded tensor. The shape of // each baseline should match the shape of the encoded tensor. If a scalar is // provided, Vertex AI broadcasts to the same shape as the encoded tensor. EncodedBaselines []interface{} `json:"encodedBaselines,omitempty"` // EncodedTensorName: Encoded tensor is a transformation of the input tensor. // Must be provided if choosing Integrated Gradients attribution or XRAI // attribution and the input tensor is not differentiable. An encoded tensor is // generated if the input tensor is encoded by a lookup table. EncodedTensorName string `json:"encodedTensorName,omitempty"` // Encoding: Defines how the feature is encoded into the input tensor. Defaults // to IDENTITY. // // Possible values: // "ENCODING_UNSPECIFIED" - Default value. This is the same as IDENTITY. // "IDENTITY" - The tensor represents one feature. // "BAG_OF_FEATURES" - The tensor represents a bag of features where each // index maps to a feature. InputMetadata.index_feature_mapping must be // provided for this encoding. For example: ``` input = [27, 6.0, 150] // index_feature_mapping = ["age", "height", "weight"] ``` // "BAG_OF_FEATURES_SPARSE" - The tensor represents a bag of features where // each index maps to a feature. Zero values in the tensor indicates feature // being non-existent. InputMetadata.index_feature_mapping must be provided for // this encoding. For example: ``` input = [2, 0, 5, 0, 1] // index_feature_mapping = ["a", "b", "c", "d", "e"] ``` // "INDICATOR" - The tensor is a list of binaries representing whether a // feature exists or not (1 indicates existence). // InputMetadata.index_feature_mapping must be provided for this encoding. For // example: ``` input = [1, 0, 1, 0, 1] index_feature_mapping = ["a", "b", "c", // "d", "e"] ``` // "COMBINED_EMBEDDING" - The tensor is encoded into a 1-dimensional array // represented by an encoded tensor. InputMetadata.encoded_tensor_name must be // provided for this encoding. For example: ``` input = ["This", "is", "a", // "test", "."] encoded = [0.1, 0.2, 0.3, 0.4, 0.5] ``` // "CONCAT_EMBEDDING" - Select this encoding when the input tensor is encoded // into a 2-dimensional array represented by an encoded tensor. // InputMetadata.encoded_tensor_name must be provided for this encoding. The // first dimension of the encoded tensor's shape is the same as the input // tensor's shape. For example: ``` input = ["This", "is", "a", "test", "."] // encoded = [[0.1, 0.2, 0.3, 0.4, 0.5], [0.2, 0.1, 0.4, 0.3, 0.5], [0.5, 0.1, // 0.3, 0.5, 0.4], [0.5, 0.3, 0.1, 0.2, 0.4], [0.4, 0.3, 0.2, 0.5, 0.1]] ``` Encoding string `json:"encoding,omitempty"` // FeatureValueDomain: The domain details of the input feature value. Like // min/max, original mean or standard deviation if normalized. FeatureValueDomain *GoogleCloudAiplatformV1ExplanationMetadataInputMetadataFeatureValueDomain `json:"featureValueDomain,omitempty"` // GroupName: Name of the group that the input belongs to. Features with the // same group name will be treated as one feature when computing attributions. // Features grouped together can have different shapes in value. If provided, // there will be one single attribution generated in // Attribution.feature_attributions, keyed by the group name. GroupName string `json:"groupName,omitempty"` // IndexFeatureMapping: A list of feature names for each index in the input // tensor. Required when the input InputMetadata.encoding is BAG_OF_FEATURES, // BAG_OF_FEATURES_SPARSE, INDICATOR. IndexFeatureMapping []string `json:"indexFeatureMapping,omitempty"` // IndicesTensorName: Specifies the index of the values of the input tensor. // Required when the input tensor is a sparse representation. Refer to // Tensorflow documentation for more details: // https://www.tensorflow.org/api_docs/python/tf/sparse/SparseTensor. IndicesTensorName string `json:"indicesTensorName,omitempty"` // InputBaselines: Baseline inputs for this feature. If no baseline is // specified, Vertex AI chooses the baseline for this feature. If multiple // baselines are specified, Vertex AI returns the average attributions across // them in Attribution.feature_attributions. For Vertex AI-provided Tensorflow // images (both 1.x and 2.x), the shape of each baseline must match the shape // of the input tensor. If a scalar is provided, we broadcast to the same shape // as the input tensor. For custom images, the element of the baselines must be // in the same format as the feature's input in the instance[]. The schema of // any single instance may be specified via Endpoint's DeployedModels' Model's // PredictSchemata's instance_schema_uri. InputBaselines []interface{} `json:"inputBaselines,omitempty"` // InputTensorName: Name of the input tensor for this feature. Required and is // only applicable to Vertex AI-provided images for Tensorflow. InputTensorName string `json:"inputTensorName,omitempty"` // Modality: Modality of the feature. Valid values are: numeric, image. // Defaults to numeric. Modality string `json:"modality,omitempty"` // Visualization: Visualization configurations for image explanation. Visualization *GoogleCloudAiplatformV1ExplanationMetadataInputMetadataVisualization `json:"visualization,omitempty"` // ForceSendFields is a list of field names (e.g. "DenseShapeTensorName") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DenseShapeTensorName") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ExplanationMetadataInputMetadata) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ExplanationMetadataInputMetadataFeatureValueDomain: Domain details of the input feature value. Provides numeric information about the feature, such as its range (min, max). If the feature has been pre-processed, for example with z-scoring, then it provides information about how to recover the original feature. For example, if the input feature is an image and it has been pre-processed to obtain 0-mean and stddev = 1 values, then original_mean, and original_stddev refer to the mean and stddev of the original feature (e.g. image tensor) from which input feature (with mean = 0 and stddev = 1) was obtained.
type GoogleCloudAiplatformV1ExplanationMetadataInputMetadataFeatureValueDomain struct { // MaxValue: The maximum permissible value for this feature. MaxValue float64 `json:"maxValue,omitempty"` // MinValue: The minimum permissible value for this feature. MinValue float64 `json:"minValue,omitempty"` // OriginalMean: If this input feature has been normalized to a mean value of // 0, the original_mean specifies the mean value of the domain prior to // normalization. OriginalMean float64 `json:"originalMean,omitempty"` // OriginalStddev: If this input feature has been normalized to a standard // deviation of 1.0, the original_stddev specifies the standard deviation of // the domain prior to normalization. OriginalStddev float64 `json:"originalStddev,omitempty"` // ForceSendFields is a list of field names (e.g. "MaxValue") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "MaxValue") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ExplanationMetadataInputMetadataFeatureValueDomain) MarshalJSON() ([]byte, error)
func (s *GoogleCloudAiplatformV1ExplanationMetadataInputMetadataFeatureValueDomain) UnmarshalJSON(data []byte) error
GoogleCloudAiplatformV1ExplanationMetadataInputMetadataVisualization: Visualization configurations for image explanation.
type GoogleCloudAiplatformV1ExplanationMetadataInputMetadataVisualization struct { // ClipPercentLowerbound: Excludes attributions below the specified percentile, // from the highlighted areas. Defaults to 62. ClipPercentLowerbound float64 `json:"clipPercentLowerbound,omitempty"` // ClipPercentUpperbound: Excludes attributions above the specified percentile // from the highlighted areas. Using the clip_percent_upperbound and // clip_percent_lowerbound together can be useful for filtering out noise and // making it easier to see areas of strong attribution. Defaults to 99.9. ClipPercentUpperbound float64 `json:"clipPercentUpperbound,omitempty"` // ColorMap: The color scheme used for the highlighted areas. Defaults to // PINK_GREEN for Integrated Gradients attribution, which shows positive // attributions in green and negative in pink. Defaults to VIRIDIS for XRAI // attribution, which highlights the most influential regions in yellow and the // least influential in blue. // // Possible values: // "COLOR_MAP_UNSPECIFIED" - Should not be used. // "PINK_GREEN" - Positive: green. Negative: pink. // "VIRIDIS" - Viridis color map: A perceptually uniform color mapping which // is easier to see by those with colorblindness and progresses from yellow to // green to blue. Positive: yellow. Negative: blue. // "RED" - Positive: red. Negative: red. // "GREEN" - Positive: green. Negative: green. // "RED_GREEN" - Positive: green. Negative: red. // "PINK_WHITE_GREEN" - PiYG palette. ColorMap string `json:"colorMap,omitempty"` // OverlayType: How the original image is displayed in the visualization. // Adjusting the overlay can help increase visual clarity if the original image // makes it difficult to view the visualization. Defaults to NONE. // // Possible values: // "OVERLAY_TYPE_UNSPECIFIED" - Default value. This is the same as NONE. // "NONE" - No overlay. // "ORIGINAL" - The attributions are shown on top of the original image. // "GRAYSCALE" - The attributions are shown on top of grayscaled version of // the original image. // "MASK_BLACK" - The attributions are used as a mask to reveal predictive // parts of the image and hide the un-predictive parts. OverlayType string `json:"overlayType,omitempty"` // Polarity: Whether to only highlight pixels with positive contributions, // negative or both. Defaults to POSITIVE. // // Possible values: // "POLARITY_UNSPECIFIED" - Default value. This is the same as POSITIVE. // "POSITIVE" - Highlights the pixels/outlines that were most influential to // the model's prediction. // "NEGATIVE" - Setting polarity to negative highlights areas that does not // lead to the models's current prediction. // "BOTH" - Shows both positive and negative attributions. Polarity string `json:"polarity,omitempty"` // Type: Type of the image visualization. Only applicable to Integrated // Gradients attribution. OUTLINES shows regions of attribution, while PIXELS // shows per-pixel attribution. Defaults to OUTLINES. // // Possible values: // "TYPE_UNSPECIFIED" - Should not be used. // "PIXELS" - Shows which pixel contributed to the image prediction. // "OUTLINES" - Shows which region contributed to the image prediction by // outlining the region. Type string `json:"type,omitempty"` // ForceSendFields is a list of field names (e.g. "ClipPercentLowerbound") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ClipPercentLowerbound") to // include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ExplanationMetadataInputMetadataVisualization) MarshalJSON() ([]byte, error)
func (s *GoogleCloudAiplatformV1ExplanationMetadataInputMetadataVisualization) UnmarshalJSON(data []byte) error
GoogleCloudAiplatformV1ExplanationMetadataOutputMetadata: Metadata of the prediction output to be explained.
type GoogleCloudAiplatformV1ExplanationMetadataOutputMetadata struct { // DisplayNameMappingKey: Specify a field name in the prediction to look for // the display name. Use this if the prediction contains the display names for // the outputs. The display names in the prediction must have the same shape of // the outputs, so that it can be located by Attribution.output_index for a // specific output. DisplayNameMappingKey string `json:"displayNameMappingKey,omitempty"` // IndexDisplayNameMapping: Static mapping between the index and display name. // Use this if the outputs are a deterministic n-dimensional array, e.g. a list // of scores of all the classes in a pre-defined order for a // multi-classification Model. It's not feasible if the outputs are // non-deterministic, e.g. the Model produces top-k classes or sort the outputs // by their values. The shape of the value must be an n-dimensional array of // strings. The number of dimensions must match that of the outputs to be // explained. The Attribution.output_display_name is populated by locating in // the mapping with Attribution.output_index. IndexDisplayNameMapping interface{} `json:"indexDisplayNameMapping,omitempty"` // OutputTensorName: Name of the output tensor. Required and is only applicable // to Vertex AI provided images for Tensorflow. OutputTensorName string `json:"outputTensorName,omitempty"` // ForceSendFields is a list of field names (e.g. "DisplayNameMappingKey") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DisplayNameMappingKey") to // include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ExplanationMetadataOutputMetadata) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ExplanationMetadataOverride: The ExplanationMetadata entries that can be overridden at online explanation time.
type GoogleCloudAiplatformV1ExplanationMetadataOverride struct { // Inputs: Required. Overrides the input metadata of the features. The key is // the name of the feature to be overridden. The keys specified here must exist // in the input metadata to be overridden. If a feature is not specified here, // the corresponding feature's input metadata is not overridden. Inputs map[string]GoogleCloudAiplatformV1ExplanationMetadataOverrideInputMetadataOverride `json:"inputs,omitempty"` // ForceSendFields is a list of field names (e.g. "Inputs") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Inputs") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ExplanationMetadataOverride) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ExplanationMetadataOverrideInputMetadataOverride: The input metadata entries to be overridden.
type GoogleCloudAiplatformV1ExplanationMetadataOverrideInputMetadataOverride struct { // InputBaselines: Baseline inputs for this feature. This overrides the // `input_baseline` field of the ExplanationMetadata.InputMetadata object of // the corresponding feature's input metadata. If it's not specified, the // original baselines are not overridden. InputBaselines []interface{} `json:"inputBaselines,omitempty"` // ForceSendFields is a list of field names (e.g. "InputBaselines") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "InputBaselines") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ExplanationMetadataOverrideInputMetadataOverride) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ExplanationParameters: Parameters to configure explaining for Model's predictions.
type GoogleCloudAiplatformV1ExplanationParameters struct { // Examples: Example-based explanations that returns the nearest neighbors from // the provided dataset. Examples *GoogleCloudAiplatformV1Examples `json:"examples,omitempty"` // IntegratedGradientsAttribution: An attribution method that computes // Aumann-Shapley values taking advantage of the model's fully differentiable // structure. Refer to this paper for more details: // https://arxiv.org/abs/1703.01365 IntegratedGradientsAttribution *GoogleCloudAiplatformV1IntegratedGradientsAttribution `json:"integratedGradientsAttribution,omitempty"` // OutputIndices: If populated, only returns attributions that have // output_index contained in output_indices. It must be an ndarray of integers, // with the same shape of the output it's explaining. If not populated, returns // attributions for top_k indices of outputs. If neither top_k nor // output_indices is populated, returns the argmax index of the outputs. Only // applicable to Models that predict multiple outputs (e,g, multi-class Models // that predict multiple classes). OutputIndices []interface{} `json:"outputIndices,omitempty"` // SampledShapleyAttribution: An attribution method that approximates Shapley // values for features that contribute to the label being predicted. A sampling // strategy is used to approximate the value rather than considering all // subsets of features. Refer to this paper for model details: // https://arxiv.org/abs/1306.4265. SampledShapleyAttribution *GoogleCloudAiplatformV1SampledShapleyAttribution `json:"sampledShapleyAttribution,omitempty"` // TopK: If populated, returns attributions for top K indices of outputs // (defaults to 1). Only applies to Models that predicts more than one outputs // (e,g, multi-class Models). When set to -1, returns explanations for all // outputs. TopK int64 `json:"topK,omitempty"` // XraiAttribution: An attribution method that redistributes Integrated // Gradients attribution to segmented regions, taking advantage of the model's // fully differentiable structure. Refer to this paper for more details: // https://arxiv.org/abs/1906.02825 XRAI currently performs better on natural // images, like a picture of a house or an animal. If the images are taken in // artificial environments, like a lab or manufacturing line, or from // diagnostic equipment, like x-rays or quality-control cameras, use Integrated // Gradients instead. XraiAttribution *GoogleCloudAiplatformV1XraiAttribution `json:"xraiAttribution,omitempty"` // ForceSendFields is a list of field names (e.g. "Examples") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Examples") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ExplanationParameters) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ExplanationSpec: Specification of Model explanation.
type GoogleCloudAiplatformV1ExplanationSpec struct { // Metadata: Optional. Metadata describing the Model's input and output for // explanation. Metadata *GoogleCloudAiplatformV1ExplanationMetadata `json:"metadata,omitempty"` // Parameters: Required. Parameters that configure explaining of the Model's // predictions. Parameters *GoogleCloudAiplatformV1ExplanationParameters `json:"parameters,omitempty"` // ForceSendFields is a list of field names (e.g. "Metadata") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Metadata") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ExplanationSpec) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ExplanationSpecOverride: The ExplanationSpec entries that can be overridden at online explanation time.
type GoogleCloudAiplatformV1ExplanationSpecOverride struct { // ExamplesOverride: The example-based explanations parameter overrides. ExamplesOverride *GoogleCloudAiplatformV1ExamplesOverride `json:"examplesOverride,omitempty"` // Metadata: The metadata to be overridden. If not specified, no metadata is // overridden. Metadata *GoogleCloudAiplatformV1ExplanationMetadataOverride `json:"metadata,omitempty"` // Parameters: The parameters to be overridden. Note that the attribution // method cannot be changed. If not specified, no parameter is overridden. Parameters *GoogleCloudAiplatformV1ExplanationParameters `json:"parameters,omitempty"` // ForceSendFields is a list of field names (e.g. "ExamplesOverride") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ExamplesOverride") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ExplanationSpecOverride) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ExportDataConfig: Describes what part of the Dataset is to be exported, the destination of the export and how to export.
type GoogleCloudAiplatformV1ExportDataConfig struct { // AnnotationSchemaUri: The Cloud Storage URI that points to a YAML file // describing the annotation schema. The schema is defined as an OpenAPI 3.0.2 // Schema Object // (https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject). // The schema files that can be used here are found in // gs://google-cloud-aiplatform/schema/dataset/annotation/, note that the // chosen schema must be consistent with metadata of the Dataset specified by // dataset_id. Only used for custom training data export use cases. Only // applicable to Datasets that have DataItems and Annotations. Only Annotations // that both match this schema and belong to DataItems not ignored by the split // method are used in respectively training, validation or test role, depending // on the role of the DataItem they are on. When used in conjunction with // annotations_filter, the Annotations used for training are filtered by both // annotations_filter and annotation_schema_uri. AnnotationSchemaUri string `json:"annotationSchemaUri,omitempty"` // AnnotationsFilter: An expression for filtering what part of the Dataset is // to be exported. Only Annotations that match this filter will be exported. // The filter syntax is the same as in ListAnnotations. AnnotationsFilter string `json:"annotationsFilter,omitempty"` // ExportUse: Indicates the usage of the exported files. // // Possible values: // "EXPORT_USE_UNSPECIFIED" - Regular user export. // "CUSTOM_CODE_TRAINING" - Export for custom code training. ExportUse string `json:"exportUse,omitempty"` // FilterSplit: Split based on the provided filters for each set. FilterSplit *GoogleCloudAiplatformV1ExportFilterSplit `json:"filterSplit,omitempty"` // FractionSplit: Split based on fractions defining the size of each set. FractionSplit *GoogleCloudAiplatformV1ExportFractionSplit `json:"fractionSplit,omitempty"` // GcsDestination: The Google Cloud Storage location where the output is to be // written to. In the given directory a new directory will be created with // name: `export-data--` where timestamp is in YYYY-MM-DDThh:mm:ss.sssZ // ISO-8601 format. All export output will be written into that directory. // Inside that directory, annotations with the same schema will be grouped into // sub directories which are named with the corresponding annotations' schema // title. Inside these sub directories, a schema.yaml will be created to // describe the output format. GcsDestination *GoogleCloudAiplatformV1GcsDestination `json:"gcsDestination,omitempty"` // SavedQueryId: The ID of a SavedQuery (annotation set) under the Dataset // specified by dataset_id used for filtering Annotations for training. Only // used for custom training data export use cases. Only applicable to Datasets // that have SavedQueries. Only Annotations that are associated with this // SavedQuery are used in respectively training. When used in conjunction with // annotations_filter, the Annotations used for training are filtered by both // saved_query_id and annotations_filter. Only one of saved_query_id and // annotation_schema_uri should be specified as both of them represent the same // thing: problem type. SavedQueryId string `json:"savedQueryId,omitempty"` // ForceSendFields is a list of field names (e.g. "AnnotationSchemaUri") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AnnotationSchemaUri") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ExportDataConfig) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ExportDataOperationMetadata: Runtime operation information for DatasetService.ExportData.
type GoogleCloudAiplatformV1ExportDataOperationMetadata struct { // GcsOutputDirectory: A Google Cloud Storage directory which path ends with // '/'. The exported data is stored in the directory. GcsOutputDirectory string `json:"gcsOutputDirectory,omitempty"` // GenericMetadata: The common part of the operation metadata. GenericMetadata *GoogleCloudAiplatformV1GenericOperationMetadata `json:"genericMetadata,omitempty"` // ForceSendFields is a list of field names (e.g. "GcsOutputDirectory") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "GcsOutputDirectory") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ExportDataOperationMetadata) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ExportDataRequest: Request message for DatasetService.ExportData.
type GoogleCloudAiplatformV1ExportDataRequest struct { // ExportConfig: Required. The desired output location. ExportConfig *GoogleCloudAiplatformV1ExportDataConfig `json:"exportConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "ExportConfig") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ExportConfig") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ExportDataRequest) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ExportDataResponse: Response message for DatasetService.ExportData.
type GoogleCloudAiplatformV1ExportDataResponse struct { // DataStats: Only present for custom code training export use case. Records // data stats, i.e., train/validation/test item/annotation counts calculated // during the export operation. DataStats *GoogleCloudAiplatformV1ModelDataStats `json:"dataStats,omitempty"` // ExportedFiles: All of the files that are exported in this export operation. // For custom code training export, only three (training, validation and test) // Cloud Storage paths in wildcard format are populated (for example, // gs://.../training-*). ExportedFiles []string `json:"exportedFiles,omitempty"` // ForceSendFields is a list of field names (e.g. "DataStats") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DataStats") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ExportDataResponse) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ExportFeatureValuesOperationMetadata: Details of operations that exports Features values.
type GoogleCloudAiplatformV1ExportFeatureValuesOperationMetadata struct { // GenericMetadata: Operation metadata for Featurestore export Feature values. GenericMetadata *GoogleCloudAiplatformV1GenericOperationMetadata `json:"genericMetadata,omitempty"` // ForceSendFields is a list of field names (e.g. "GenericMetadata") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "GenericMetadata") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ExportFeatureValuesOperationMetadata) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ExportFeatureValuesRequest: Request message for FeaturestoreService.ExportFeatureValues.
type GoogleCloudAiplatformV1ExportFeatureValuesRequest struct { // Destination: Required. Specifies destination location and format. Destination *GoogleCloudAiplatformV1FeatureValueDestination `json:"destination,omitempty"` // FeatureSelector: Required. Selects Features to export values of. FeatureSelector *GoogleCloudAiplatformV1FeatureSelector `json:"featureSelector,omitempty"` // FullExport: Exports all historical values of all entities of the EntityType // within a time range FullExport *GoogleCloudAiplatformV1ExportFeatureValuesRequestFullExport `json:"fullExport,omitempty"` // Settings: Per-Feature export settings. Settings []*GoogleCloudAiplatformV1DestinationFeatureSetting `json:"settings,omitempty"` // SnapshotExport: Exports the latest Feature values of all entities of the // EntityType within a time range. SnapshotExport *GoogleCloudAiplatformV1ExportFeatureValuesRequestSnapshotExport `json:"snapshotExport,omitempty"` // ForceSendFields is a list of field names (e.g. "Destination") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Destination") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ExportFeatureValuesRequest) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ExportFeatureValuesRequestFullExport: Describes exporting all historical Feature values of all entities of the EntityType between [start_time, end_time].
type GoogleCloudAiplatformV1ExportFeatureValuesRequestFullExport struct { // EndTime: Exports Feature values as of this timestamp. If not set, retrieve // values as of now. Timestamp, if present, must not have higher than // millisecond precision. EndTime string `json:"endTime,omitempty"` // StartTime: Excludes Feature values with feature generation timestamp before // this timestamp. If not set, retrieve oldest values kept in Feature Store. // Timestamp, if present, must not have higher than millisecond precision. StartTime string `json:"startTime,omitempty"` // ForceSendFields is a list of field names (e.g. "EndTime") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "EndTime") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ExportFeatureValuesRequestFullExport) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ExportFeatureValuesRequestSnapshotExport: Describes exporting the latest Feature values of all entities of the EntityType between [start_time, snapshot_time].
type GoogleCloudAiplatformV1ExportFeatureValuesRequestSnapshotExport struct { // SnapshotTime: Exports Feature values as of this timestamp. If not set, // retrieve values as of now. Timestamp, if present, must not have higher than // millisecond precision. SnapshotTime string `json:"snapshotTime,omitempty"` // StartTime: Excludes Feature values with feature generation timestamp before // this timestamp. If not set, retrieve oldest values kept in Feature Store. // Timestamp, if present, must not have higher than millisecond precision. StartTime string `json:"startTime,omitempty"` // ForceSendFields is a list of field names (e.g. "SnapshotTime") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "SnapshotTime") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ExportFeatureValuesRequestSnapshotExport) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ExportFeatureValuesResponse: Response message for FeaturestoreService.ExportFeatureValues.
type GoogleCloudAiplatformV1ExportFeatureValuesResponse struct { }
GoogleCloudAiplatformV1ExportFilterSplit: Assigns input data to training, validation, and test sets based on the given filters, data pieces not matched by any filter are ignored. Currently only supported for Datasets containing DataItems. If any of the filters in this message are to match nothing, then they can be set as '-' (the minus sign). Supported only for unstructured Datasets.
type GoogleCloudAiplatformV1ExportFilterSplit struct { // TestFilter: Required. A filter on DataItems of the Dataset. DataItems that // match this filter are used to test the Model. A filter with same syntax as // the one used in DatasetService.ListDataItems may be used. If a single // DataItem is matched by more than one of the FilterSplit filters, then it is // assigned to the first set that applies to it in the training, validation, // test order. TestFilter string `json:"testFilter,omitempty"` // TrainingFilter: Required. A filter on DataItems of the Dataset. DataItems // that match this filter are used to train the Model. A filter with same // syntax as the one used in DatasetService.ListDataItems may be used. If a // single DataItem is matched by more than one of the FilterSplit filters, then // it is assigned to the first set that applies to it in the training, // validation, test order. TrainingFilter string `json:"trainingFilter,omitempty"` // ValidationFilter: Required. A filter on DataItems of the Dataset. DataItems // that match this filter are used to validate the Model. A filter with same // syntax as the one used in DatasetService.ListDataItems may be used. If a // single DataItem is matched by more than one of the FilterSplit filters, then // it is assigned to the first set that applies to it in the training, // validation, test order. ValidationFilter string `json:"validationFilter,omitempty"` // ForceSendFields is a list of field names (e.g. "TestFilter") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "TestFilter") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ExportFilterSplit) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ExportFractionSplit: Assigns the input data to training, validation, and test sets as per the given fractions. Any of `training_fraction`, `validation_fraction` and `test_fraction` may optionally be provided, they must sum to up to 1. If the provided ones sum to less than 1, the remainder is assigned to sets as decided by Vertex AI. If none of the fractions are set, by default roughly 80% of data is used for training, 10% for validation, and 10% for test.
type GoogleCloudAiplatformV1ExportFractionSplit struct { // TestFraction: The fraction of the input data that is to be used to evaluate // the Model. TestFraction float64 `json:"testFraction,omitempty"` // TrainingFraction: The fraction of the input data that is to be used to train // the Model. TrainingFraction float64 `json:"trainingFraction,omitempty"` // ValidationFraction: The fraction of the input data that is to be used to // validate the Model. ValidationFraction float64 `json:"validationFraction,omitempty"` // ForceSendFields is a list of field names (e.g. "TestFraction") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "TestFraction") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ExportFractionSplit) MarshalJSON() ([]byte, error)
func (s *GoogleCloudAiplatformV1ExportFractionSplit) UnmarshalJSON(data []byte) error
GoogleCloudAiplatformV1ExportModelOperationMetadata: Details of ModelService.ExportModel operation.
type GoogleCloudAiplatformV1ExportModelOperationMetadata struct { // GenericMetadata: The common part of the operation metadata. GenericMetadata *GoogleCloudAiplatformV1GenericOperationMetadata `json:"genericMetadata,omitempty"` // OutputInfo: Output only. Information further describing the output of this // Model export. OutputInfo *GoogleCloudAiplatformV1ExportModelOperationMetadataOutputInfo `json:"outputInfo,omitempty"` // ForceSendFields is a list of field names (e.g. "GenericMetadata") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "GenericMetadata") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ExportModelOperationMetadata) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ExportModelOperationMetadataOutputInfo: Further describes the output of the ExportModel. Supplements ExportModelRequest.OutputConfig.
type GoogleCloudAiplatformV1ExportModelOperationMetadataOutputInfo struct { // ArtifactOutputUri: Output only. If the Model artifact is being exported to // Google Cloud Storage this is the full path of the directory created, into // which the Model files are being written to. ArtifactOutputUri string `json:"artifactOutputUri,omitempty"` // ImageOutputUri: Output only. If the Model image is being exported to Google // Container Registry or Artifact Registry this is the full path of the image // created. ImageOutputUri string `json:"imageOutputUri,omitempty"` // ForceSendFields is a list of field names (e.g. "ArtifactOutputUri") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ArtifactOutputUri") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ExportModelOperationMetadataOutputInfo) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ExportModelRequest: Request message for ModelService.ExportModel.
type GoogleCloudAiplatformV1ExportModelRequest struct { // OutputConfig: Required. The desired output location and configuration. OutputConfig *GoogleCloudAiplatformV1ExportModelRequestOutputConfig `json:"outputConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "OutputConfig") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "OutputConfig") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ExportModelRequest) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ExportModelRequestOutputConfig: Output configuration for the Model export.
type GoogleCloudAiplatformV1ExportModelRequestOutputConfig struct { // ArtifactDestination: The Cloud Storage location where the Model artifact is // to be written to. Under the directory given as the destination a new one // with name "model-export--", where timestamp is in YYYY-MM-DDThh:mm:ss.sssZ // ISO-8601 format, will be created. Inside, the Model and any of its // supporting files will be written. This field should only be set when the // `exportableContent` field of the [Model.supported_export_formats] object // contains `ARTIFACT`. ArtifactDestination *GoogleCloudAiplatformV1GcsDestination `json:"artifactDestination,omitempty"` // ExportFormatId: The ID of the format in which the Model must be exported. // Each Model lists the export formats it supports. If no value is provided // here, then the first from the list of the Model's supported formats is used // by default. ExportFormatId string `json:"exportFormatId,omitempty"` // ImageDestination: The Google Container Registry or Artifact Registry uri // where the Model container image will be copied to. This field should only be // set when the `exportableContent` field of the // [Model.supported_export_formats] object contains `IMAGE`. ImageDestination *GoogleCloudAiplatformV1ContainerRegistryDestination `json:"imageDestination,omitempty"` // ForceSendFields is a list of field names (e.g. "ArtifactDestination") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ArtifactDestination") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ExportModelRequestOutputConfig) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ExportModelResponse: Response message of ModelService.ExportModel operation.
type GoogleCloudAiplatformV1ExportModelResponse struct { }
GoogleCloudAiplatformV1ExportTensorboardTimeSeriesDataRequest: Request message for TensorboardService.ExportTensorboardTimeSeriesData.
type GoogleCloudAiplatformV1ExportTensorboardTimeSeriesDataRequest struct { // Filter: Exports the TensorboardTimeSeries' data that match the filter // expression. Filter string `json:"filter,omitempty"` // OrderBy: Field to use to sort the TensorboardTimeSeries' data. By default, // TensorboardTimeSeries' data is returned in a pseudo random order. OrderBy string `json:"orderBy,omitempty"` // PageSize: The maximum number of data points to return per page. The default // page_size is 1000. Values must be between 1 and 10000. Values above 10000 // are coerced to 10000. PageSize int64 `json:"pageSize,omitempty"` // PageToken: A page token, received from a previous // ExportTensorboardTimeSeriesData call. Provide this to retrieve the // subsequent page. When paginating, all other parameters provided to // ExportTensorboardTimeSeriesData must match the call that provided the page // token. PageToken string `json:"pageToken,omitempty"` // ForceSendFields is a list of field names (e.g. "Filter") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Filter") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ExportTensorboardTimeSeriesDataRequest) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ExportTensorboardTimeSeriesDataResponse: Response message for TensorboardService.ExportTensorboardTimeSeriesData.
type GoogleCloudAiplatformV1ExportTensorboardTimeSeriesDataResponse struct { // NextPageToken: A token, which can be sent as page_token to retrieve the next // page. If this field is omitted, there are no subsequent pages. NextPageToken string `json:"nextPageToken,omitempty"` // TimeSeriesDataPoints: The returned time series data points. TimeSeriesDataPoints []*GoogleCloudAiplatformV1TimeSeriesDataPoint `json:"timeSeriesDataPoints,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "NextPageToken") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "NextPageToken") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ExportTensorboardTimeSeriesDataResponse) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1Feature: Feature Metadata information. For example, color is a feature that describes an apple.
type GoogleCloudAiplatformV1Feature struct { // CreateTime: Output only. Only applicable for Vertex AI Feature Store // (Legacy). Timestamp when this EntityType was created. CreateTime string `json:"createTime,omitempty"` // Description: Description of the Feature. Description string `json:"description,omitempty"` // DisableMonitoring: Optional. Only applicable for Vertex AI Feature Store // (Legacy). If not set, use the monitoring_config defined for the EntityType // this Feature belongs to. Only Features with type (Feature.ValueType) BOOL, // STRING, DOUBLE or INT64 can enable monitoring. If set to true, all types of // data monitoring are disabled despite the config on EntityType. DisableMonitoring bool `json:"disableMonitoring,omitempty"` // Etag: Used to perform a consistent read-modify-write updates. If not set, a // blind "overwrite" update happens. Etag string `json:"etag,omitempty"` // Labels: Optional. The labels with user-defined metadata to organize your // Features. Label keys and values can be no longer than 64 characters (Unicode // codepoints), can only contain lowercase letters, numeric characters, // underscores and dashes. International characters are allowed. See // https://goo.gl/xmQnxf for more information on and examples of labels. No // more than 64 user labels can be associated with one Feature (System labels // are excluded)." System reserved label keys are prefixed with // "aiplatform.googleapis.com/" and are immutable. Labels map[string]string `json:"labels,omitempty"` // MonitoringStatsAnomalies: Output only. Only applicable for Vertex AI Feature // Store (Legacy). The list of historical stats and anomalies with specified // objectives. MonitoringStatsAnomalies []*GoogleCloudAiplatformV1FeatureMonitoringStatsAnomaly `json:"monitoringStatsAnomalies,omitempty"` // Name: Immutable. Name of the Feature. Format: // `projects/{project}/locations/{location}/featurestores/{featurestore}/entityT // ypes/{entity_type}/features/{feature}` // `projects/{project}/locations/{location}/featureGroups/{feature_group}/featur // es/{feature}` The last part feature is assigned by the client. The feature // can be up to 64 characters long and can consist only of ASCII Latin letters // A-Z and a-z, underscore(_), and ASCII digits 0-9 starting with a letter. The // value will be unique given an entity type. Name string `json:"name,omitempty"` // PointOfContact: Entity responsible for maintaining this feature. Can be // comma separated list of email addresses or URIs. PointOfContact string `json:"pointOfContact,omitempty"` // UpdateTime: Output only. Only applicable for Vertex AI Feature Store // (Legacy). Timestamp when this EntityType was most recently updated. UpdateTime string `json:"updateTime,omitempty"` // ValueType: Immutable. Only applicable for Vertex AI Feature Store (Legacy). // Type of Feature value. // // Possible values: // "VALUE_TYPE_UNSPECIFIED" - The value type is unspecified. // "BOOL" - Used for Feature that is a boolean. // "BOOL_ARRAY" - Used for Feature that is a list of boolean. // "DOUBLE" - Used for Feature that is double. // "DOUBLE_ARRAY" - Used for Feature that is a list of double. // "INT64" - Used for Feature that is INT64. // "INT64_ARRAY" - Used for Feature that is a list of INT64. // "STRING" - Used for Feature that is string. // "STRING_ARRAY" - Used for Feature that is a list of String. // "BYTES" - Used for Feature that is bytes. ValueType string `json:"valueType,omitempty"` // VersionColumnName: Only applicable for Vertex AI Feature Store. The name of // the BigQuery Table/View column hosting data for this version. If no value is // provided, will use feature_id. VersionColumnName string `json:"versionColumnName,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "CreateTime") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CreateTime") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1Feature) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1FeatureGroup: Vertex AI Feature Group.
type GoogleCloudAiplatformV1FeatureGroup struct { // BigQuery: Indicates that features for this group come from BigQuery // Table/View. By default treats the source as a sparse time series source. The // BigQuery source table or view must have at least one entity ID column and a // column named `feature_timestamp`. BigQuery *GoogleCloudAiplatformV1FeatureGroupBigQuery `json:"bigQuery,omitempty"` // CreateTime: Output only. Timestamp when this FeatureGroup was created. CreateTime string `json:"createTime,omitempty"` // Description: Optional. Description of the FeatureGroup. Description string `json:"description,omitempty"` // Etag: Optional. Used to perform consistent read-modify-write updates. If not // set, a blind "overwrite" update happens. Etag string `json:"etag,omitempty"` // Labels: Optional. The labels with user-defined metadata to organize your // FeatureGroup. Label keys and values can be no longer than 64 characters // (Unicode codepoints), can only contain lowercase letters, numeric // characters, underscores and dashes. International characters are allowed. // See https://goo.gl/xmQnxf for more information on and examples of labels. No // more than 64 user labels can be associated with one FeatureGroup(System // labels are excluded)." System reserved label keys are prefixed with // "aiplatform.googleapis.com/" and are immutable. Labels map[string]string `json:"labels,omitempty"` // Name: Identifier. Name of the FeatureGroup. Format: // `projects/{project}/locations/{location}/featureGroups/{featureGroup}` Name string `json:"name,omitempty"` // UpdateTime: Output only. Timestamp when this FeatureGroup was last updated. UpdateTime string `json:"updateTime,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "BigQuery") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BigQuery") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1FeatureGroup) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1FeatureGroupBigQuery: Input source type for BigQuery Tables and Views.
type GoogleCloudAiplatformV1FeatureGroupBigQuery struct { // BigQuerySource: Required. Immutable. The BigQuery source URI that points to // either a BigQuery Table or View. BigQuerySource *GoogleCloudAiplatformV1BigQuerySource `json:"bigQuerySource,omitempty"` // EntityIdColumns: Optional. Columns to construct entity_id / row keys. If not // provided defaults to `entity_id`. EntityIdColumns []string `json:"entityIdColumns,omitempty"` // ForceSendFields is a list of field names (e.g. "BigQuerySource") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BigQuerySource") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1FeatureGroupBigQuery) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1FeatureMonitoringStatsAnomaly: A list of historical SnapshotAnalysis or ImportFeaturesAnalysis stats requested by user, sorted by FeatureStatsAnomaly.start_time descending.
type GoogleCloudAiplatformV1FeatureMonitoringStatsAnomaly struct { // FeatureStatsAnomaly: Output only. The stats and anomalies generated at // specific timestamp. FeatureStatsAnomaly *GoogleCloudAiplatformV1FeatureStatsAnomaly `json:"featureStatsAnomaly,omitempty"` // Objective: Output only. The objective for each stats. // // Possible values: // "OBJECTIVE_UNSPECIFIED" - If it's OBJECTIVE_UNSPECIFIED, monitoring_stats // will be empty. // "IMPORT_FEATURE_ANALYSIS" - Stats are generated by Import Feature // Analysis. // "SNAPSHOT_ANALYSIS" - Stats are generated by Snapshot Analysis. Objective string `json:"objective,omitempty"` // ForceSendFields is a list of field names (e.g. "FeatureStatsAnomaly") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "FeatureStatsAnomaly") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1FeatureMonitoringStatsAnomaly) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1FeatureNoiseSigma: Noise sigma by features. Noise sigma represents the standard deviation of the gaussian kernel that will be used to add noise to interpolated inputs prior to computing gradients.
type GoogleCloudAiplatformV1FeatureNoiseSigma struct { // NoiseSigma: Noise sigma per feature. No noise is added to features that are // not set. NoiseSigma []*GoogleCloudAiplatformV1FeatureNoiseSigmaNoiseSigmaForFeature `json:"noiseSigma,omitempty"` // ForceSendFields is a list of field names (e.g. "NoiseSigma") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "NoiseSigma") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1FeatureNoiseSigma) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1FeatureNoiseSigmaNoiseSigmaForFeature: Noise sigma for a single feature.
type GoogleCloudAiplatformV1FeatureNoiseSigmaNoiseSigmaForFeature struct { // Name: The name of the input feature for which noise sigma is provided. The // features are defined in explanation metadata inputs. Name string `json:"name,omitempty"` // Sigma: This represents the standard deviation of the Gaussian kernel that // will be used to add noise to the feature prior to computing gradients. // Similar to noise_sigma but represents the noise added to the current // feature. Defaults to 0.1. Sigma float64 `json:"sigma,omitempty"` // ForceSendFields is a list of field names (e.g. "Name") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Name") to include in API requests // with the JSON null value. By default, fields with empty values are omitted // from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1FeatureNoiseSigmaNoiseSigmaForFeature) MarshalJSON() ([]byte, error)
func (s *GoogleCloudAiplatformV1FeatureNoiseSigmaNoiseSigmaForFeature) UnmarshalJSON(data []byte) error
GoogleCloudAiplatformV1FeatureOnlineStore: Vertex AI Feature Online Store provides a centralized repository for serving ML features and embedding indexes at low latency. The Feature Online Store is a top-level container.
type GoogleCloudAiplatformV1FeatureOnlineStore struct { // Bigtable: Contains settings for the Cloud Bigtable instance that will be // created to serve featureValues for all FeatureViews under this // FeatureOnlineStore. Bigtable *GoogleCloudAiplatformV1FeatureOnlineStoreBigtable `json:"bigtable,omitempty"` // CreateTime: Output only. Timestamp when this FeatureOnlineStore was created. CreateTime string `json:"createTime,omitempty"` // DedicatedServingEndpoint: Optional. The dedicated serving endpoint for this // FeatureOnlineStore, which is different from common Vertex service endpoint. DedicatedServingEndpoint *GoogleCloudAiplatformV1FeatureOnlineStoreDedicatedServingEndpoint `json:"dedicatedServingEndpoint,omitempty"` // Etag: Optional. Used to perform consistent read-modify-write updates. If not // set, a blind "overwrite" update happens. Etag string `json:"etag,omitempty"` // Labels: Optional. The labels with user-defined metadata to organize your // FeatureOnlineStore. Label keys and values can be no longer than 64 // characters (Unicode codepoints), can only contain lowercase letters, numeric // characters, underscores and dashes. International characters are allowed. // See https://goo.gl/xmQnxf for more information on and examples of labels. No // more than 64 user labels can be associated with one // FeatureOnlineStore(System labels are excluded)." System reserved label keys // are prefixed with "aiplatform.googleapis.com/" and are immutable. Labels map[string]string `json:"labels,omitempty"` // Name: Identifier. Name of the FeatureOnlineStore. Format: // `projects/{project}/locations/{location}/featureOnlineStores/{featureOnlineSt // ore}` Name string `json:"name,omitempty"` // Optimized: Contains settings for the Optimized store that will be created to // serve featureValues for all FeatureViews under this FeatureOnlineStore. When // choose Optimized storage type, need to set // PrivateServiceConnectConfig.enable_private_service_connect to use private // endpoint. Otherwise will use public endpoint by default. Optimized *GoogleCloudAiplatformV1FeatureOnlineStoreOptimized `json:"optimized,omitempty"` // State: Output only. State of the featureOnlineStore. // // Possible values: // "STATE_UNSPECIFIED" - Default value. This value is unused. // "STABLE" - State when the featureOnlineStore configuration is not being // updated and the fields reflect the current configuration of the // featureOnlineStore. The featureOnlineStore is usable in this state. // "UPDATING" - The state of the featureOnlineStore configuration when it is // being updated. During an update, the fields reflect either the original // configuration or the updated configuration of the featureOnlineStore. The // featureOnlineStore is still usable in this state. State string `json:"state,omitempty"` // UpdateTime: Output only. Timestamp when this FeatureOnlineStore was last // updated. UpdateTime string `json:"updateTime,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Bigtable") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Bigtable") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1FeatureOnlineStore) MarshalJSON() ([]byte, error)
type GoogleCloudAiplatformV1FeatureOnlineStoreBigtable struct { // AutoScaling: Required. Autoscaling config applied to Bigtable Instance. AutoScaling *GoogleCloudAiplatformV1FeatureOnlineStoreBigtableAutoScaling `json:"autoScaling,omitempty"` // ForceSendFields is a list of field names (e.g. "AutoScaling") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AutoScaling") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1FeatureOnlineStoreBigtable) MarshalJSON() ([]byte, error)
type GoogleCloudAiplatformV1FeatureOnlineStoreBigtableAutoScaling struct { // CpuUtilizationTarget: Optional. A percentage of the cluster's CPU capacity. // Can be from 10% to 80%. When a cluster's CPU utilization exceeds the target // that you have set, Bigtable immediately adds nodes to the cluster. When CPU // utilization is substantially lower than the target, Bigtable removes nodes. // If not set will default to 50%. CpuUtilizationTarget int64 `json:"cpuUtilizationTarget,omitempty"` // MaxNodeCount: Required. The maximum number of nodes to scale up to. Must be // greater than or equal to min_node_count, and less than or equal to 10 times // of 'min_node_count'. MaxNodeCount int64 `json:"maxNodeCount,omitempty"` // MinNodeCount: Required. The minimum number of nodes to scale down to. Must // be greater than or equal to 1. MinNodeCount int64 `json:"minNodeCount,omitempty"` // ForceSendFields is a list of field names (e.g. "CpuUtilizationTarget") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CpuUtilizationTarget") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1FeatureOnlineStoreBigtableAutoScaling) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1FeatureOnlineStoreDedicatedServingEndpoint: The dedicated serving endpoint for this FeatureOnlineStore. Only need to set when you choose Optimized storage type. Public endpoint is provisioned by default.
type GoogleCloudAiplatformV1FeatureOnlineStoreDedicatedServingEndpoint struct { // PublicEndpointDomainName: Output only. This field will be populated with the // domain name to use for this FeatureOnlineStore PublicEndpointDomainName string `json:"publicEndpointDomainName,omitempty"` // ForceSendFields is a list of field names (e.g. "PublicEndpointDomainName") // to unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "PublicEndpointDomainName") to // include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1FeatureOnlineStoreDedicatedServingEndpoint) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1FeatureOnlineStoreOptimized: Optimized storage type
type GoogleCloudAiplatformV1FeatureOnlineStoreOptimized struct { }
GoogleCloudAiplatformV1FeatureSelector: Selector for Features of an EntityType.
type GoogleCloudAiplatformV1FeatureSelector struct { // IdMatcher: Required. Matches Features based on ID. IdMatcher *GoogleCloudAiplatformV1IdMatcher `json:"idMatcher,omitempty"` // ForceSendFields is a list of field names (e.g. "IdMatcher") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "IdMatcher") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1FeatureSelector) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1FeatureStatsAnomaly: Stats and Anomaly generated at specific timestamp for specific Feature. The start_time and end_time are used to define the time range of the dataset that current stats belongs to, e.g. prediction traffic is bucketed into prediction datasets by time window. If the Dataset is not defined by time window, start_time = end_time. Timestamp of the stats and anomalies always refers to end_time. Raw stats and anomalies are stored in stats_uri or anomaly_uri in the tensorflow defined protos. Field data_stats contains almost identical information with the raw stats in Vertex AI defined proto, for UI to display.
type GoogleCloudAiplatformV1FeatureStatsAnomaly struct { // AnomalyDetectionThreshold: This is the threshold used when detecting // anomalies. The threshold can be changed by user, so this one might be // different from ThresholdConfig.value. AnomalyDetectionThreshold float64 `json:"anomalyDetectionThreshold,omitempty"` // AnomalyUri: Path of the anomaly file for current feature values in Cloud // Storage bucket. Format: gs:////anomalies. Example: // gs://monitoring_bucket/feature_name/anomalies. Stats are stored as binary // format with Protobuf message Anoamlies are stored as binary format with // Protobuf message [tensorflow.metadata.v0.AnomalyInfo] // (https://github.com/tensorflow/metadata/blob/master/tensorflow_metadata/proto/v0/anomalies.proto). AnomalyUri string `json:"anomalyUri,omitempty"` // DistributionDeviation: Deviation from the current stats to baseline stats. // 1. For categorical feature, the distribution distance is calculated by // L-inifinity norm. 2. For numerical feature, the distribution distance is // calculated by Jensen–Shannon divergence. DistributionDeviation float64 `json:"distributionDeviation,omitempty"` // EndTime: The end timestamp of window where stats were generated. For // objectives where time window doesn't make sense (e.g. Featurestore Snapshot // Monitoring), end_time indicates the timestamp of the data used to generate // stats (e.g. timestamp we take snapshots for feature values). EndTime string `json:"endTime,omitempty"` // Score: Feature importance score, only populated when cross-feature // monitoring is enabled. For now only used to represent feature attribution // score within range [0, 1] for // ModelDeploymentMonitoringObjectiveType.FEATURE_ATTRIBUTION_SKEW and // ModelDeploymentMonitoringObjectiveType.FEATURE_ATTRIBUTION_DRIFT. Score float64 `json:"score,omitempty"` // StartTime: The start timestamp of window where stats were generated. For // objectives where time window doesn't make sense (e.g. Featurestore Snapshot // Monitoring), start_time is only used to indicate the monitoring intervals, // so it always equals to (end_time - monitoring_interval). StartTime string `json:"startTime,omitempty"` // StatsUri: Path of the stats file for current feature values in Cloud Storage // bucket. Format: gs:////stats. Example: // gs://monitoring_bucket/feature_name/stats. Stats are stored as binary format // with Protobuf message tensorflow.metadata.v0.FeatureNameStatistics // (https://github.com/tensorflow/metadata/blob/master/tensorflow_metadata/proto/v0/statistics.proto). StatsUri string `json:"statsUri,omitempty"` // ForceSendFields is a list of field names (e.g. "AnomalyDetectionThreshold") // to unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AnomalyDetectionThreshold") to // include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1FeatureStatsAnomaly) MarshalJSON() ([]byte, error)
func (s *GoogleCloudAiplatformV1FeatureStatsAnomaly) UnmarshalJSON(data []byte) error
GoogleCloudAiplatformV1FeatureValue: Value for a feature.
type GoogleCloudAiplatformV1FeatureValue struct { // BoolArrayValue: A list of bool type feature value. BoolArrayValue *GoogleCloudAiplatformV1BoolArray `json:"boolArrayValue,omitempty"` // BoolValue: Bool type feature value. BoolValue bool `json:"boolValue,omitempty"` // BytesValue: Bytes feature value. BytesValue string `json:"bytesValue,omitempty"` // DoubleArrayValue: A list of double type feature value. DoubleArrayValue *GoogleCloudAiplatformV1DoubleArray `json:"doubleArrayValue,omitempty"` // DoubleValue: Double type feature value. DoubleValue float64 `json:"doubleValue,omitempty"` // Int64ArrayValue: A list of int64 type feature value. Int64ArrayValue *GoogleCloudAiplatformV1Int64Array `json:"int64ArrayValue,omitempty"` // Int64Value: Int64 feature value. Int64Value int64 `json:"int64Value,omitempty,string"` // Metadata: Metadata of feature value. Metadata *GoogleCloudAiplatformV1FeatureValueMetadata `json:"metadata,omitempty"` // StringArrayValue: A list of string type feature value. StringArrayValue *GoogleCloudAiplatformV1StringArray `json:"stringArrayValue,omitempty"` // StringValue: String feature value. StringValue string `json:"stringValue,omitempty"` // ForceSendFields is a list of field names (e.g. "BoolArrayValue") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BoolArrayValue") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1FeatureValue) MarshalJSON() ([]byte, error)
func (s *GoogleCloudAiplatformV1FeatureValue) UnmarshalJSON(data []byte) error
GoogleCloudAiplatformV1FeatureValueDestination: A destination location for Feature values and format.
type GoogleCloudAiplatformV1FeatureValueDestination struct { // BigqueryDestination: Output in BigQuery format. // BigQueryDestination.output_uri in // FeatureValueDestination.bigquery_destination must refer to a table. BigqueryDestination *GoogleCloudAiplatformV1BigQueryDestination `json:"bigqueryDestination,omitempty"` // CsvDestination: Output in CSV format. Array Feature value types are not // allowed in CSV format. CsvDestination *GoogleCloudAiplatformV1CsvDestination `json:"csvDestination,omitempty"` // TfrecordDestination: Output in TFRecord format. Below are the mapping from // Feature value type in Featurestore to Feature value type in TFRecord: Value // type in Featurestore | Value type in TFRecord DOUBLE, DOUBLE_ARRAY | // FLOAT_LIST INT64, INT64_ARRAY | INT64_LIST STRING, STRING_ARRAY, BYTES | // BYTES_LIST true -> byte_string("true"), false -> byte_string("false") BOOL, // BOOL_ARRAY (true, false) | BYTES_LIST TfrecordDestination *GoogleCloudAiplatformV1TFRecordDestination `json:"tfrecordDestination,omitempty"` // ForceSendFields is a list of field names (e.g. "BigqueryDestination") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BigqueryDestination") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1FeatureValueDestination) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1FeatureValueList: Container for list of values.
type GoogleCloudAiplatformV1FeatureValueList struct { // Values: A list of feature values. All of them should be the same data type. Values []*GoogleCloudAiplatformV1FeatureValue `json:"values,omitempty"` // ForceSendFields is a list of field names (e.g. "Values") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Values") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1FeatureValueList) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1FeatureValueMetadata: Metadata of feature value.
type GoogleCloudAiplatformV1FeatureValueMetadata struct { // GenerateTime: Feature generation timestamp. Typically, it is provided by // user at feature ingestion time. If not, feature store will use the system // timestamp when the data is ingested into feature store. For streaming // ingestion, the time, aligned by days, must be no older than five years (1825 // days) and no later than one year (366 days) in the future. GenerateTime string `json:"generateTime,omitempty"` // ForceSendFields is a list of field names (e.g. "GenerateTime") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "GenerateTime") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1FeatureValueMetadata) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1FeatureView: FeatureView is representation of values that the FeatureOnlineStore will serve based on its syncConfig.
type GoogleCloudAiplatformV1FeatureView struct { // BigQuerySource: Optional. Configures how data is supposed to be extracted // from a BigQuery source to be loaded onto the FeatureOnlineStore. BigQuerySource *GoogleCloudAiplatformV1FeatureViewBigQuerySource `json:"bigQuerySource,omitempty"` // CreateTime: Output only. Timestamp when this FeatureView was created. CreateTime string `json:"createTime,omitempty"` // Etag: Optional. Used to perform consistent read-modify-write updates. If not // set, a blind "overwrite" update happens. Etag string `json:"etag,omitempty"` // FeatureRegistrySource: Optional. Configures the features from a Feature // Registry source that need to be loaded onto the FeatureOnlineStore. FeatureRegistrySource *GoogleCloudAiplatformV1FeatureViewFeatureRegistrySource `json:"featureRegistrySource,omitempty"` // IndexConfig: Optional. Configuration for index preparation for vector // search. It contains the required configurations to create an index from // source data, so that approximate nearest neighbor (a.k.a ANN) algorithms // search can be performed during online serving. IndexConfig *GoogleCloudAiplatformV1FeatureViewIndexConfig `json:"indexConfig,omitempty"` // Labels: Optional. The labels with user-defined metadata to organize your // FeatureViews. Label keys and values can be no longer than 64 characters // (Unicode codepoints), can only contain lowercase letters, numeric // characters, underscores and dashes. International characters are allowed. // See https://goo.gl/xmQnxf for more information on and examples of labels. No // more than 64 user labels can be associated with one // FeatureOnlineStore(System labels are excluded)." System reserved label keys // are prefixed with "aiplatform.googleapis.com/" and are immutable. Labels map[string]string `json:"labels,omitempty"` // Name: Identifier. Name of the FeatureView. Format: // `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_ // store}/featureViews/{feature_view}` Name string `json:"name,omitempty"` // SyncConfig: Configures when data is to be synced/updated for this // FeatureView. At the end of the sync the latest featureValues for each // entityId of this FeatureView are made ready for online serving. SyncConfig *GoogleCloudAiplatformV1FeatureViewSyncConfig `json:"syncConfig,omitempty"` // UpdateTime: Output only. Timestamp when this FeatureView was last updated. UpdateTime string `json:"updateTime,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "BigQuerySource") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BigQuerySource") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1FeatureView) MarshalJSON() ([]byte, error)
type GoogleCloudAiplatformV1FeatureViewBigQuerySource struct { // EntityIdColumns: Required. Columns to construct entity_id / row keys. EntityIdColumns []string `json:"entityIdColumns,omitempty"` // Uri: Required. The BigQuery view URI that will be materialized on each sync // trigger based on FeatureView.SyncConfig. Uri string `json:"uri,omitempty"` // ForceSendFields is a list of field names (e.g. "EntityIdColumns") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "EntityIdColumns") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1FeatureViewBigQuerySource) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1FeatureViewDataKey: Lookup key for a feature view.
type GoogleCloudAiplatformV1FeatureViewDataKey struct { // CompositeKey: The actual Entity ID will be composed from this struct. This // should match with the way ID is defined in the FeatureView spec. CompositeKey *GoogleCloudAiplatformV1FeatureViewDataKeyCompositeKey `json:"compositeKey,omitempty"` // Key: String key to use for lookup. Key string `json:"key,omitempty"` // ForceSendFields is a list of field names (e.g. "CompositeKey") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CompositeKey") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1FeatureViewDataKey) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1FeatureViewDataKeyCompositeKey: ID that is comprised from several parts (columns).
type GoogleCloudAiplatformV1FeatureViewDataKeyCompositeKey struct { // Parts: Parts to construct Entity ID. Should match with the same ID columns // as defined in FeatureView in the same order. Parts []string `json:"parts,omitempty"` // ForceSendFields is a list of field names (e.g. "Parts") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Parts") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1FeatureViewDataKeyCompositeKey) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1FeatureViewFeatureRegistrySource: A Feature Registry source for features that need to be synced to Online Store.
type GoogleCloudAiplatformV1FeatureViewFeatureRegistrySource struct { // FeatureGroups: Required. List of features that need to be synced to Online // Store. FeatureGroups []*GoogleCloudAiplatformV1FeatureViewFeatureRegistrySourceFeatureGroup `json:"featureGroups,omitempty"` // ProjectNumber: Optional. The project number of the parent project of the // Feature Groups. ProjectNumber int64 `json:"projectNumber,omitempty,string"` // ForceSendFields is a list of field names (e.g. "FeatureGroups") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "FeatureGroups") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1FeatureViewFeatureRegistrySource) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1FeatureViewFeatureRegistrySourceFeatureGroup: Features belonging to a single feature group that will be synced to Online Store.
type GoogleCloudAiplatformV1FeatureViewFeatureRegistrySourceFeatureGroup struct { // FeatureGroupId: Required. Identifier of the feature group. FeatureGroupId string `json:"featureGroupId,omitempty"` // FeatureIds: Required. Identifiers of features under the feature group. FeatureIds []string `json:"featureIds,omitempty"` // ForceSendFields is a list of field names (e.g. "FeatureGroupId") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "FeatureGroupId") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1FeatureViewFeatureRegistrySourceFeatureGroup) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1FeatureViewIndexConfig: Configuration for vector indexing.
type GoogleCloudAiplatformV1FeatureViewIndexConfig struct { // BruteForceConfig: Optional. Configuration options for using brute force // search, which simply implements the standard linear search in the database // for each query. It is primarily meant for benchmarking and to generate the // ground truth for approximate search. BruteForceConfig *GoogleCloudAiplatformV1FeatureViewIndexConfigBruteForceConfig `json:"bruteForceConfig,omitempty"` // CrowdingColumn: Optional. Column of crowding. This column contains crowding // attribute which is a constraint on a neighbor list produced by // FeatureOnlineStoreService.SearchNearestEntities to diversify search results. // If NearestNeighborQuery.per_crowding_attribute_neighbor_count is set to K in // SearchNearestEntitiesRequest, it's guaranteed that no more than K entities // of the same crowding attribute are returned in the response. CrowdingColumn string `json:"crowdingColumn,omitempty"` // DistanceMeasureType: Optional. The distance measure used in nearest neighbor // search. // // Possible values: // "DISTANCE_MEASURE_TYPE_UNSPECIFIED" - Should not be set. // "SQUARED_L2_DISTANCE" - Euclidean (L_2) Distance. // "COSINE_DISTANCE" - Cosine Distance. Defined as 1 - cosine similarity. We // strongly suggest using DOT_PRODUCT_DISTANCE + UNIT_L2_NORM instead of COSINE // distance. Our algorithms have been more optimized for DOT_PRODUCT distance // which, when combined with UNIT_L2_NORM, is mathematically equivalent to // COSINE distance and results in the same ranking. // "DOT_PRODUCT_DISTANCE" - Dot Product Distance. Defined as a negative of // the dot product. DistanceMeasureType string `json:"distanceMeasureType,omitempty"` // EmbeddingColumn: Optional. Column of embedding. This column contains the // source data to create index for vector search. embedding_column must be set // when using vector search. EmbeddingColumn string `json:"embeddingColumn,omitempty"` // EmbeddingDimension: Optional. The number of dimensions of the input // embedding. EmbeddingDimension int64 `json:"embeddingDimension,omitempty"` // FilterColumns: Optional. Columns of features that're used to filter vector // search results. FilterColumns []string `json:"filterColumns,omitempty"` // TreeAhConfig: Optional. Configuration options for the tree-AH algorithm // (Shallow tree + Asymmetric Hashing). Please refer to this paper for more // details: https://arxiv.org/abs/1908.10396 TreeAhConfig *GoogleCloudAiplatformV1FeatureViewIndexConfigTreeAHConfig `json:"treeAhConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "BruteForceConfig") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BruteForceConfig") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1FeatureViewIndexConfig) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1FeatureViewIndexConfigBruteForceConfig: Configuration options for using brute force search.
type GoogleCloudAiplatformV1FeatureViewIndexConfigBruteForceConfig struct { }
GoogleCloudAiplatformV1FeatureViewIndexConfigTreeAHConfig: Configuration options for the tree-AH algorithm.
type GoogleCloudAiplatformV1FeatureViewIndexConfigTreeAHConfig struct { // LeafNodeEmbeddingCount: Optional. Number of embeddings on each leaf node. // The default value is 1000 if not set. LeafNodeEmbeddingCount int64 `json:"leafNodeEmbeddingCount,omitempty,string"` // ForceSendFields is a list of field names (e.g. "LeafNodeEmbeddingCount") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "LeafNodeEmbeddingCount") to // include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1FeatureViewIndexConfigTreeAHConfig) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1FeatureViewSync: FeatureViewSync is a representation of sync operation which copies data from data source to Feature View in Online Store.
type GoogleCloudAiplatformV1FeatureViewSync struct { // CreateTime: Output only. Time when this FeatureViewSync is created. Creation // of a FeatureViewSync means that the job is pending / waiting for sufficient // resources but may not have started the actual data transfer yet. CreateTime string `json:"createTime,omitempty"` // FinalStatus: Output only. Final status of the FeatureViewSync. FinalStatus *GoogleRpcStatus `json:"finalStatus,omitempty"` // Name: Identifier. Name of the FeatureViewSync. Format: // `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_ // store}/featureViews/{feature_view}/featureViewSyncs/{feature_view_sync}` Name string `json:"name,omitempty"` // RunTime: Output only. Time when this FeatureViewSync is finished. RunTime *GoogleTypeInterval `json:"runTime,omitempty"` // SyncSummary: Output only. Summary of the sync job. SyncSummary *GoogleCloudAiplatformV1FeatureViewSyncSyncSummary `json:"syncSummary,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "CreateTime") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CreateTime") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1FeatureViewSync) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1FeatureViewSyncConfig: Configuration for Sync. Only one option is set.
type GoogleCloudAiplatformV1FeatureViewSyncConfig struct { // Cron: Cron schedule (https://en.wikipedia.org/wiki/Cron) to launch scheduled // runs. To explicitly set a timezone to the cron tab, apply a prefix in the // cron tab: "CRON_TZ=${IANA_TIME_ZONE}" or "TZ=${IANA_TIME_ZONE}". The // ${IANA_TIME_ZONE} may only be a valid string from IANA time zone database. // For example, "CRON_TZ=America/New_York 1 * * * *", or "TZ=America/New_York 1 // * * * *". Cron string `json:"cron,omitempty"` // ForceSendFields is a list of field names (e.g. "Cron") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Cron") to include in API requests // with the JSON null value. By default, fields with empty values are omitted // from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1FeatureViewSyncConfig) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1FeatureViewSyncSyncSummary: Summary from the Sync job. For continuous syncs, the summary is updated periodically. For batch syncs, it gets updated on completion of the sync.
type GoogleCloudAiplatformV1FeatureViewSyncSyncSummary struct { // RowSynced: Output only. Total number of rows synced. RowSynced int64 `json:"rowSynced,omitempty,string"` // TotalSlot: Output only. BigQuery slot milliseconds consumed for the sync // job. TotalSlot int64 `json:"totalSlot,omitempty,string"` // ForceSendFields is a list of field names (e.g. "RowSynced") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "RowSynced") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1FeatureViewSyncSyncSummary) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1Featurestore: Vertex AI Feature Store provides a centralized repository for organizing, storing, and serving ML features. The Featurestore is a top-level container for your features and their values.
type GoogleCloudAiplatformV1Featurestore struct { // CreateTime: Output only. Timestamp when this Featurestore was created. CreateTime string `json:"createTime,omitempty"` // EncryptionSpec: Optional. Customer-managed encryption key spec for data // storage. If set, both of the online and offline data storage will be secured // by this key. EncryptionSpec *GoogleCloudAiplatformV1EncryptionSpec `json:"encryptionSpec,omitempty"` // Etag: Optional. Used to perform consistent read-modify-write updates. If not // set, a blind "overwrite" update happens. Etag string `json:"etag,omitempty"` // Labels: Optional. The labels with user-defined metadata to organize your // Featurestore. Label keys and values can be no longer than 64 characters // (Unicode codepoints), can only contain lowercase letters, numeric // characters, underscores and dashes. International characters are allowed. // See https://goo.gl/xmQnxf for more information on and examples of labels. No // more than 64 user labels can be associated with one Featurestore(System // labels are excluded)." System reserved label keys are prefixed with // "aiplatform.googleapis.com/" and are immutable. Labels map[string]string `json:"labels,omitempty"` // Name: Output only. Name of the Featurestore. Format: // `projects/{project}/locations/{location}/featurestores/{featurestore}` Name string `json:"name,omitempty"` // OnlineServingConfig: Optional. Config for online storage resources. The // field should not co-exist with the field of `OnlineStoreReplicationConfig`. // If both of it and OnlineStoreReplicationConfig are unset, the feature store // will not have an online store and cannot be used for online serving. OnlineServingConfig *GoogleCloudAiplatformV1FeaturestoreOnlineServingConfig `json:"onlineServingConfig,omitempty"` // OnlineStorageTtlDays: Optional. TTL in days for feature values that will be // stored in online serving storage. The Feature Store online storage // periodically removes obsolete feature values older than // `online_storage_ttl_days` since the feature generation time. Note that // `online_storage_ttl_days` should be less than or equal to // `offline_storage_ttl_days` for each EntityType under a featurestore. If not // set, default to 4000 days OnlineStorageTtlDays int64 `json:"onlineStorageTtlDays,omitempty"` // State: Output only. State of the featurestore. // // Possible values: // "STATE_UNSPECIFIED" - Default value. This value is unused. // "STABLE" - State when the featurestore configuration is not being updated // and the fields reflect the current configuration of the featurestore. The // featurestore is usable in this state. // "UPDATING" - The state of the featurestore configuration when it is being // updated. During an update, the fields reflect either the original // configuration or the updated configuration of the featurestore. For example, // `online_serving_config.fixed_node_count` can take minutes to update. While // the update is in progress, the featurestore is in the UPDATING state, and // the value of `fixed_node_count` can be the original value or the updated // value, depending on the progress of the operation. Until the update // completes, the actual number of nodes can still be the original value of // `fixed_node_count`. The featurestore is still usable in this state. State string `json:"state,omitempty"` // UpdateTime: Output only. Timestamp when this Featurestore was last updated. UpdateTime string `json:"updateTime,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "CreateTime") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CreateTime") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1Featurestore) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1FeaturestoreMonitoringConfig: Configuration of how features in Featurestore are monitored.
type GoogleCloudAiplatformV1FeaturestoreMonitoringConfig struct { // CategoricalThresholdConfig: Threshold for categorical features of anomaly // detection. This is shared by all types of Featurestore Monitoring for // categorical features (i.e. Features with type (Feature.ValueType) BOOL or // STRING). CategoricalThresholdConfig *GoogleCloudAiplatformV1FeaturestoreMonitoringConfigThresholdConfig `json:"categoricalThresholdConfig,omitempty"` // ImportFeaturesAnalysis: The config for ImportFeatures Analysis Based Feature // Monitoring. ImportFeaturesAnalysis *GoogleCloudAiplatformV1FeaturestoreMonitoringConfigImportFeaturesAnalysis `json:"importFeaturesAnalysis,omitempty"` // NumericalThresholdConfig: Threshold for numerical features of anomaly // detection. This is shared by all objectives of Featurestore Monitoring for // numerical features (i.e. Features with type (Feature.ValueType) DOUBLE or // INT64). NumericalThresholdConfig *GoogleCloudAiplatformV1FeaturestoreMonitoringConfigThresholdConfig `json:"numericalThresholdConfig,omitempty"` // SnapshotAnalysis: The config for Snapshot Analysis Based Feature Monitoring. SnapshotAnalysis *GoogleCloudAiplatformV1FeaturestoreMonitoringConfigSnapshotAnalysis `json:"snapshotAnalysis,omitempty"` // ForceSendFields is a list of field names (e.g. "CategoricalThresholdConfig") // to unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CategoricalThresholdConfig") to // include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1FeaturestoreMonitoringConfig) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1FeaturestoreMonitoringConfigImportFeaturesAnalysis: Configuration of the Featurestore's ImportFeature Analysis Based Monitoring. This type of analysis generates statistics for values of each Feature imported by every ImportFeatureValues operation.
type GoogleCloudAiplatformV1FeaturestoreMonitoringConfigImportFeaturesAnalysis struct { // AnomalyDetectionBaseline: The baseline used to do anomaly detection for the // statistics generated by import features analysis. // // Possible values: // "BASELINE_UNSPECIFIED" - Should not be used. // "LATEST_STATS" - Choose the later one statistics generated by either most // recent snapshot analysis or previous import features analysis. If non of // them exists, skip anomaly detection and only generate a statistics. // "MOST_RECENT_SNAPSHOT_STATS" - Use the statistics generated by the most // recent snapshot analysis if exists. // "PREVIOUS_IMPORT_FEATURES_STATS" - Use the statistics generated by the // previous import features analysis if exists. AnomalyDetectionBaseline string `json:"anomalyDetectionBaseline,omitempty"` // State: Whether to enable / disable / inherite default hebavior for import // features analysis. // // Possible values: // "STATE_UNSPECIFIED" - Should not be used. // "DEFAULT" - The default behavior of whether to enable the monitoring. // EntityType-level config: disabled. Feature-level config: inherited from the // configuration of EntityType this Feature belongs to. // "ENABLED" - Explicitly enables import features analysis. EntityType-level // config: by default enables import features analysis for all Features under // it. Feature-level config: enables import features analysis regardless of the // EntityType-level config. // "DISABLED" - Explicitly disables import features analysis. // EntityType-level config: by default disables import features analysis for // all Features under it. Feature-level config: disables import features // analysis regardless of the EntityType-level config. State string `json:"state,omitempty"` // ForceSendFields is a list of field names (e.g. "AnomalyDetectionBaseline") // to unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AnomalyDetectionBaseline") to // include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1FeaturestoreMonitoringConfigImportFeaturesAnalysis) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1FeaturestoreMonitoringConfigSnapshotAnalysis: Configuration of the Featurestore's Snapshot Analysis Based Monitoring. This type of analysis generates statistics for each Feature based on a snapshot of the latest feature value of each entities every monitoring_interval.
type GoogleCloudAiplatformV1FeaturestoreMonitoringConfigSnapshotAnalysis struct { // Disabled: The monitoring schedule for snapshot analysis. For // EntityType-level config: unset / disabled = true indicates disabled by // default for Features under it; otherwise by default enable snapshot analysis // monitoring with monitoring_interval for Features under it. Feature-level // config: disabled = true indicates disabled regardless of the // EntityType-level config; unset monitoring_interval indicates going with // EntityType-level config; otherwise run snapshot analysis monitoring with // monitoring_interval regardless of the EntityType-level config. Explicitly // Disable the snapshot analysis based monitoring. Disabled bool `json:"disabled,omitempty"` // MonitoringIntervalDays: Configuration of the snapshot analysis based // monitoring pipeline running interval. The value indicates number of days. MonitoringIntervalDays int64 `json:"monitoringIntervalDays,omitempty"` // StalenessDays: Customized export features time window for snapshot analysis. // Unit is one day. Default value is 3 weeks. Minimum value is 1 day. Maximum // value is 4000 days. StalenessDays int64 `json:"stalenessDays,omitempty"` // ForceSendFields is a list of field names (e.g. "Disabled") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Disabled") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1FeaturestoreMonitoringConfigSnapshotAnalysis) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1FeaturestoreMonitoringConfigThresholdConfig: The config for Featurestore Monitoring threshold.
type GoogleCloudAiplatformV1FeaturestoreMonitoringConfigThresholdConfig struct { // Value: Specify a threshold value that can trigger the alert. 1. For // categorical feature, the distribution distance is calculated by L-inifinity // norm. 2. For numerical feature, the distribution distance is calculated by // Jensen–Shannon divergence. Each feature must have a non-zero threshold if // they need to be monitored. Otherwise no alert will be triggered for that // feature. Value float64 `json:"value,omitempty"` // ForceSendFields is a list of field names (e.g. "Value") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Value") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1FeaturestoreMonitoringConfigThresholdConfig) MarshalJSON() ([]byte, error)
func (s *GoogleCloudAiplatformV1FeaturestoreMonitoringConfigThresholdConfig) UnmarshalJSON(data []byte) error
GoogleCloudAiplatformV1FeaturestoreOnlineServingConfig: OnlineServingConfig specifies the details for provisioning online serving resources.
type GoogleCloudAiplatformV1FeaturestoreOnlineServingConfig struct { // FixedNodeCount: The number of nodes for the online store. The number of // nodes doesn't scale automatically, but you can manually update the number of // nodes. If set to 0, the featurestore will not have an online store and // cannot be used for online serving. FixedNodeCount int64 `json:"fixedNodeCount,omitempty"` // Scaling: Online serving scaling configuration. Only one of // `fixed_node_count` and `scaling` can be set. Setting one will reset the // other. Scaling *GoogleCloudAiplatformV1FeaturestoreOnlineServingConfigScaling `json:"scaling,omitempty"` // ForceSendFields is a list of field names (e.g. "FixedNodeCount") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "FixedNodeCount") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1FeaturestoreOnlineServingConfig) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1FeaturestoreOnlineServingConfigScaling: Online serving scaling configuration. If min_node_count and max_node_count are set to the same value, the cluster will be configured with the fixed number of node (no auto-scaling).
type GoogleCloudAiplatformV1FeaturestoreOnlineServingConfigScaling struct { // CpuUtilizationTarget: Optional. The cpu utilization that the Autoscaler // should be trying to achieve. This number is on a scale from 0 (no // utilization) to 100 (total utilization), and is limited between 10 and 80. // When a cluster's CPU utilization exceeds the target that you have set, // Bigtable immediately adds nodes to the cluster. When CPU utilization is // substantially lower than the target, Bigtable removes nodes. If not set or // set to 0, default to 50. CpuUtilizationTarget int64 `json:"cpuUtilizationTarget,omitempty"` // MaxNodeCount: The maximum number of nodes to scale up to. Must be greater // than min_node_count, and less than or equal to 10 times of 'min_node_count'. MaxNodeCount int64 `json:"maxNodeCount,omitempty"` // MinNodeCount: Required. The minimum number of nodes to scale down to. Must // be greater than or equal to 1. MinNodeCount int64 `json:"minNodeCount,omitempty"` // ForceSendFields is a list of field names (e.g. "CpuUtilizationTarget") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CpuUtilizationTarget") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1FeaturestoreOnlineServingConfigScaling) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1FetchFeatureValuesRequest: Request message for FeatureOnlineStoreService.FetchFeatureValues. All the features under the requested feature view will be returned.
type GoogleCloudAiplatformV1FetchFeatureValuesRequest struct { // DataFormat: Optional. Response data format. If not set, // FeatureViewDataFormat.KEY_VALUE will be used. // // Possible values: // "FEATURE_VIEW_DATA_FORMAT_UNSPECIFIED" - Not set. Will be treated as the // KeyValue format. // "KEY_VALUE" - Return response data in key-value format. // "PROTO_STRUCT" - Return response data in proto Struct format. DataFormat string `json:"dataFormat,omitempty"` // DataKey: Optional. The request key to fetch feature values for. DataKey *GoogleCloudAiplatformV1FeatureViewDataKey `json:"dataKey,omitempty"` // ForceSendFields is a list of field names (e.g. "DataFormat") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DataFormat") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1FetchFeatureValuesRequest) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1FetchFeatureValuesResponse: Response message for FeatureOnlineStoreService.FetchFeatureValues
type GoogleCloudAiplatformV1FetchFeatureValuesResponse struct { // DataKey: The data key associated with this response. Will only be populated // for FeatureOnlineStoreService.StreamingFetchFeatureValues RPCs. DataKey *GoogleCloudAiplatformV1FeatureViewDataKey `json:"dataKey,omitempty"` // KeyValues: Feature values in KeyValue format. KeyValues *GoogleCloudAiplatformV1FetchFeatureValuesResponseFeatureNameValuePairList `json:"keyValues,omitempty"` // ProtoStruct: Feature values in proto Struct format. ProtoStruct googleapi.RawMessage `json:"protoStruct,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "DataKey") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DataKey") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1FetchFeatureValuesResponse) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1FetchFeatureValuesResponseFeatureNameValuePairList: Response structure in the format of key (feature name) and (feature) value pair.
type GoogleCloudAiplatformV1FetchFeatureValuesResponseFeatureNameValuePairList struct { // Features: List of feature names and values. Features []*GoogleCloudAiplatformV1FetchFeatureValuesResponseFeatureNameValuePairListFeatureNameValuePair `json:"features,omitempty"` // ForceSendFields is a list of field names (e.g. "Features") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Features") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1FetchFeatureValuesResponseFeatureNameValuePairList) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1FetchFeatureValuesResponseFeatureNameValuePairListFeat ureNameValuePair: Feature name & value pair.
type GoogleCloudAiplatformV1FetchFeatureValuesResponseFeatureNameValuePairListFeatureNameValuePair struct { // Name: Feature short name. Name string `json:"name,omitempty"` // Value: Feature value. Value *GoogleCloudAiplatformV1FeatureValue `json:"value,omitempty"` // ForceSendFields is a list of field names (e.g. "Name") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Name") to include in API requests // with the JSON null value. By default, fields with empty values are omitted // from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1FetchFeatureValuesResponseFeatureNameValuePairListFeatureNameValuePair) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1FileData: URI based data.
type GoogleCloudAiplatformV1FileData struct { // FileUri: Required. URI. FileUri string `json:"fileUri,omitempty"` // MimeType: Required. The IANA standard MIME type of the source data. MimeType string `json:"mimeType,omitempty"` // ForceSendFields is a list of field names (e.g. "FileUri") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "FileUri") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1FileData) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1FilterSplit: Assigns input data to training, validation, and test sets based on the given filters, data pieces not matched by any filter are ignored. Currently only supported for Datasets containing DataItems. If any of the filters in this message are to match nothing, then they can be set as '-' (the minus sign). Supported only for unstructured Datasets.
type GoogleCloudAiplatformV1FilterSplit struct { // TestFilter: Required. A filter on DataItems of the Dataset. DataItems that // match this filter are used to test the Model. A filter with same syntax as // the one used in DatasetService.ListDataItems may be used. If a single // DataItem is matched by more than one of the FilterSplit filters, then it is // assigned to the first set that applies to it in the training, validation, // test order. TestFilter string `json:"testFilter,omitempty"` // TrainingFilter: Required. A filter on DataItems of the Dataset. DataItems // that match this filter are used to train the Model. A filter with same // syntax as the one used in DatasetService.ListDataItems may be used. If a // single DataItem is matched by more than one of the FilterSplit filters, then // it is assigned to the first set that applies to it in the training, // validation, test order. TrainingFilter string `json:"trainingFilter,omitempty"` // ValidationFilter: Required. A filter on DataItems of the Dataset. DataItems // that match this filter are used to validate the Model. A filter with same // syntax as the one used in DatasetService.ListDataItems may be used. If a // single DataItem is matched by more than one of the FilterSplit filters, then // it is assigned to the first set that applies to it in the training, // validation, test order. ValidationFilter string `json:"validationFilter,omitempty"` // ForceSendFields is a list of field names (e.g. "TestFilter") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "TestFilter") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1FilterSplit) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1FindNeighborsRequest: The request message for MatchService.FindNeighbors.
type GoogleCloudAiplatformV1FindNeighborsRequest struct { // DeployedIndexId: The ID of the DeployedIndex that will serve the request. // This request is sent to a specific IndexEndpoint, as per the // IndexEndpoint.network. That IndexEndpoint also has // IndexEndpoint.deployed_indexes, and each such index has a DeployedIndex.id // field. The value of the field below must equal one of the DeployedIndex.id // fields of the IndexEndpoint that is being called for this request. DeployedIndexId string `json:"deployedIndexId,omitempty"` // Queries: The list of queries. Queries []*GoogleCloudAiplatformV1FindNeighborsRequestQuery `json:"queries,omitempty"` // ReturnFullDatapoint: If set to true, the full datapoints (including all // vector values and restricts) of the nearest neighbors are returned. Note // that returning full datapoint will significantly increase the latency and // cost of the query. ReturnFullDatapoint bool `json:"returnFullDatapoint,omitempty"` // ForceSendFields is a list of field names (e.g. "DeployedIndexId") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DeployedIndexId") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1FindNeighborsRequest) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1FindNeighborsRequestQuery: A query to find a number of the nearest neighbors (most similar vectors) of a vector.
type GoogleCloudAiplatformV1FindNeighborsRequestQuery struct { // ApproximateNeighborCount: The number of neighbors to find via approximate // search before exact reordering is performed. If not set, the default value // from scam config is used; if set, this value must be > 0. ApproximateNeighborCount int64 `json:"approximateNeighborCount,omitempty"` // Datapoint: Required. The datapoint/vector whose nearest neighbors should be // searched for. Datapoint *GoogleCloudAiplatformV1IndexDatapoint `json:"datapoint,omitempty"` // FractionLeafNodesToSearchOverride: The fraction of the number of leaves to // search, set at query time allows user to tune search performance. This value // increase result in both search accuracy and latency increase. The value // should be between 0.0 and 1.0. If not set or set to 0.0, query uses the // default value specified in // NearestNeighborSearchConfig.TreeAHConfig.fraction_leaf_nodes_to_search. FractionLeafNodesToSearchOverride float64 `json:"fractionLeafNodesToSearchOverride,omitempty"` // NeighborCount: The number of nearest neighbors to be retrieved from database // for each query. If not set, will use the default from the service // configuration // (https://cloud.google.com/vertex-ai/docs/matching-engine/configuring-indexes#nearest-neighbor-search-config). NeighborCount int64 `json:"neighborCount,omitempty"` // PerCrowdingAttributeNeighborCount: Crowding is a constraint on a neighbor // list produced by nearest neighbor search requiring that no more than some // value k' of the k neighbors returned have the same value of // crowding_attribute. It's used for improving result diversity. This field is // the maximum number of matches with the same crowding tag. PerCrowdingAttributeNeighborCount int64 `json:"perCrowdingAttributeNeighborCount,omitempty"` // Rrf: Optional. Represents RRF algorithm that combines search results. Rrf *GoogleCloudAiplatformV1FindNeighborsRequestQueryRRF `json:"rrf,omitempty"` // ForceSendFields is a list of field names (e.g. "ApproximateNeighborCount") // to unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ApproximateNeighborCount") to // include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1FindNeighborsRequestQuery) MarshalJSON() ([]byte, error)
func (s *GoogleCloudAiplatformV1FindNeighborsRequestQuery) UnmarshalJSON(data []byte) error
GoogleCloudAiplatformV1FindNeighborsRequestQueryRRF: Parameters for RRF algorithm that combines search results.
type GoogleCloudAiplatformV1FindNeighborsRequestQueryRRF struct { // Alpha: Required. Users can provide an alpha value to give more weight to // dense vs sparse results. For example, if the alpha is 0, we only return // sparse and if the alpha is 1, we only return dense. Alpha float64 `json:"alpha,omitempty"` // ForceSendFields is a list of field names (e.g. "Alpha") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Alpha") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1FindNeighborsRequestQueryRRF) MarshalJSON() ([]byte, error)
func (s *GoogleCloudAiplatformV1FindNeighborsRequestQueryRRF) UnmarshalJSON(data []byte) error
GoogleCloudAiplatformV1FindNeighborsResponse: The response message for MatchService.FindNeighbors.
type GoogleCloudAiplatformV1FindNeighborsResponse struct { // NearestNeighbors: The nearest neighbors of the query datapoints. NearestNeighbors []*GoogleCloudAiplatformV1FindNeighborsResponseNearestNeighbors `json:"nearestNeighbors,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "NearestNeighbors") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "NearestNeighbors") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1FindNeighborsResponse) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1FindNeighborsResponseNearestNeighbors: Nearest neighbors for one query.
type GoogleCloudAiplatformV1FindNeighborsResponseNearestNeighbors struct { // Id: The ID of the query datapoint. Id string `json:"id,omitempty"` // Neighbors: All its neighbors. Neighbors []*GoogleCloudAiplatformV1FindNeighborsResponseNeighbor `json:"neighbors,omitempty"` // ForceSendFields is a list of field names (e.g. "Id") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Id") to include in API requests // with the JSON null value. By default, fields with empty values are omitted // from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1FindNeighborsResponseNearestNeighbors) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1FindNeighborsResponseNeighbor: A neighbor of the query vector.
type GoogleCloudAiplatformV1FindNeighborsResponseNeighbor struct { // Datapoint: The datapoint of the neighbor. Note that full datapoints are // returned only when "return_full_datapoint" is set to true. Otherwise, only // the "datapoint_id" and "crowding_tag" fields are populated. Datapoint *GoogleCloudAiplatformV1IndexDatapoint `json:"datapoint,omitempty"` // Distance: The distance between the neighbor and the dense embedding query. Distance float64 `json:"distance,omitempty"` // SparseDistance: The distance between the neighbor and the query // sparse_embedding. SparseDistance float64 `json:"sparseDistance,omitempty"` // ForceSendFields is a list of field names (e.g. "Datapoint") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Datapoint") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1FindNeighborsResponseNeighbor) MarshalJSON() ([]byte, error)
func (s *GoogleCloudAiplatformV1FindNeighborsResponseNeighbor) UnmarshalJSON(data []byte) error
GoogleCloudAiplatformV1FractionSplit: Assigns the input data to training, validation, and test sets as per the given fractions. Any of `training_fraction`, `validation_fraction` and `test_fraction` may optionally be provided, they must sum to up to 1. If the provided ones sum to less than 1, the remainder is assigned to sets as decided by Vertex AI. If none of the fractions are set, by default roughly 80% of data is used for training, 10% for validation, and 10% for test.
type GoogleCloudAiplatformV1FractionSplit struct { // TestFraction: The fraction of the input data that is to be used to evaluate // the Model. TestFraction float64 `json:"testFraction,omitempty"` // TrainingFraction: The fraction of the input data that is to be used to train // the Model. TrainingFraction float64 `json:"trainingFraction,omitempty"` // ValidationFraction: The fraction of the input data that is to be used to // validate the Model. ValidationFraction float64 `json:"validationFraction,omitempty"` // ForceSendFields is a list of field names (e.g. "TestFraction") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "TestFraction") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1FractionSplit) MarshalJSON() ([]byte, error)
func (s *GoogleCloudAiplatformV1FractionSplit) UnmarshalJSON(data []byte) error
GoogleCloudAiplatformV1FunctionCall: A predicted [FunctionCall] returned from the model that contains a string representing the [FunctionDeclaration.name] and a structured JSON object containing the parameters and their values.
type GoogleCloudAiplatformV1FunctionCall struct { // Args: Optional. Required. The function parameters and values in JSON object // format. See [FunctionDeclaration.parameters] for parameter details. Args googleapi.RawMessage `json:"args,omitempty"` // Name: Required. The name of the function to call. Matches // [FunctionDeclaration.name]. Name string `json:"name,omitempty"` // ForceSendFields is a list of field names (e.g. "Args") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Args") to include in API requests // with the JSON null value. By default, fields with empty values are omitted // from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1FunctionCall) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1FunctionDeclaration: Structured representation of a function declaration as defined by the OpenAPI 3.0 specification (https://spec.openapis.org/oas/v3.0.3). Included in this declaration are the function name and parameters. This FunctionDeclaration is a representation of a block of code that can be used as a `Tool` by the model and executed by the client.
type GoogleCloudAiplatformV1FunctionDeclaration struct { // Description: Optional. Description and purpose of the function. Model uses // it to decide how and whether to call the function. Description string `json:"description,omitempty"` // Name: Required. The name of the function to call. Must start with a letter // or an underscore. Must be a-z, A-Z, 0-9, or contain underscores, dots and // dashes, with a maximum length of 64. Name string `json:"name,omitempty"` // Parameters: Optional. Describes the parameters to this function in JSON // Schema Object format. Reflects the Open API 3.03 Parameter Object. string // Key: the name of the parameter. Parameter names are case sensitive. Schema // Value: the Schema defining the type used for the parameter. For function // with no parameters, this can be left unset. Parameter names must start with // a letter or an underscore and must only contain chars a-z, A-Z, 0-9, or // underscores with a maximum length of 64. Example with 1 required and 1 // optional parameter: type: OBJECT properties: param1: type: STRING param2: // type: INTEGER required: - param1 Parameters *GoogleCloudAiplatformV1Schema `json:"parameters,omitempty"` // ForceSendFields is a list of field names (e.g. "Description") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Description") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1FunctionDeclaration) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1FunctionResponse: The result output from a [FunctionCall] that contains a string representing the [FunctionDeclaration.name] and a structured JSON object containing any output from the function is used as context to the model. This should contain the result of a [FunctionCall] made based on model prediction.
type GoogleCloudAiplatformV1FunctionResponse struct { // Name: Required. The name of the function to call. Matches // [FunctionDeclaration.name] and [FunctionCall.name]. Name string `json:"name,omitempty"` // Response: Required. The function response in JSON object format. Response googleapi.RawMessage `json:"response,omitempty"` // ForceSendFields is a list of field names (e.g. "Name") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Name") to include in API requests // with the JSON null value. By default, fields with empty values are omitted // from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1FunctionResponse) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1GcsDestination: The Google Cloud Storage location where the output is to be written to.
type GoogleCloudAiplatformV1GcsDestination struct { // OutputUriPrefix: Required. Google Cloud Storage URI to output directory. If // the uri doesn't end with '/', a '/' will be automatically appended. The // directory is created if it doesn't exist. OutputUriPrefix string `json:"outputUriPrefix,omitempty"` // ForceSendFields is a list of field names (e.g. "OutputUriPrefix") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "OutputUriPrefix") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1GcsDestination) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1GcsSource: The Google Cloud Storage location for the input content.
type GoogleCloudAiplatformV1GcsSource struct { // Uris: Required. Google Cloud Storage URI(-s) to the input file(s). May // contain wildcards. For more information on wildcards, see // https://cloud.google.com/storage/docs/gsutil/addlhelp/WildcardNames. Uris []string `json:"uris,omitempty"` // ForceSendFields is a list of field names (e.g. "Uris") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Uris") to include in API requests // with the JSON null value. By default, fields with empty values are omitted // from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1GcsSource) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1GenerateContentRequest: Request message for [PredictionService.GenerateContent].
type GoogleCloudAiplatformV1GenerateContentRequest struct { // Contents: Required. The content of the current conversation with the model. // For single-turn queries, this is a single instance. For multi-turn queries, // this is a repeated field that contains conversation history + latest // request. Contents []*GoogleCloudAiplatformV1Content `json:"contents,omitempty"` // GenerationConfig: Optional. Generation config. GenerationConfig *GoogleCloudAiplatformV1GenerationConfig `json:"generationConfig,omitempty"` // SafetySettings: Optional. Per request settings for blocking unsafe content. // Enforced on GenerateContentResponse.candidates. SafetySettings []*GoogleCloudAiplatformV1SafetySetting `json:"safetySettings,omitempty"` // SystemInstruction: Optional. The user provided system instructions for the // model. Note: only text should be used in parts and content in each part will // be in a separate paragraph. SystemInstruction *GoogleCloudAiplatformV1Content `json:"systemInstruction,omitempty"` // Tools: Optional. A list of `Tools` the model may use to generate the next // response. A `Tool` is a piece of code that enables the system to interact // with external systems to perform an action, or set of actions, outside of // knowledge and scope of the model. Tools []*GoogleCloudAiplatformV1Tool `json:"tools,omitempty"` // ForceSendFields is a list of field names (e.g. "Contents") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Contents") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1GenerateContentRequest) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1GenerateContentResponse: Response message for [PredictionService.GenerateContent].
type GoogleCloudAiplatformV1GenerateContentResponse struct { // Candidates: Output only. Generated candidates. Candidates []*GoogleCloudAiplatformV1Candidate `json:"candidates,omitempty"` // PromptFeedback: Output only. Content filter results for a prompt sent in the // request. Note: Sent only in the first stream chunk. Only happens when no // candidates were generated due to content violations. PromptFeedback *GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback `json:"promptFeedback,omitempty"` // UsageMetadata: Usage metadata about the response(s). UsageMetadata *GoogleCloudAiplatformV1GenerateContentResponseUsageMetadata `json:"usageMetadata,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Candidates") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Candidates") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1GenerateContentResponse) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback: Content filter results for a prompt sent in the request.
type GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback struct { // BlockReason: Output only. Blocked reason. // // Possible values: // "BLOCKED_REASON_UNSPECIFIED" - Unspecified blocked reason. // "SAFETY" - Candidates blocked due to safety. // "OTHER" - Candidates blocked due to other reason. // "BLOCKLIST" - Candidates blocked due to the terms which are included from // the terminology blocklist. // "PROHIBITED_CONTENT" - Candidates blocked due to prohibited content. BlockReason string `json:"blockReason,omitempty"` // BlockReasonMessage: Output only. A readable block reason message. BlockReasonMessage string `json:"blockReasonMessage,omitempty"` // SafetyRatings: Output only. Safety ratings. SafetyRatings []*GoogleCloudAiplatformV1SafetyRating `json:"safetyRatings,omitempty"` // ForceSendFields is a list of field names (e.g. "BlockReason") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BlockReason") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1GenerateContentResponseUsageMetadata: Usage metadata about response(s).
type GoogleCloudAiplatformV1GenerateContentResponseUsageMetadata struct { // CandidatesTokenCount: Number of tokens in the response(s). CandidatesTokenCount int64 `json:"candidatesTokenCount,omitempty"` // PromptTokenCount: Number of tokens in the request. PromptTokenCount int64 `json:"promptTokenCount,omitempty"` TotalTokenCount int64 `json:"totalTokenCount,omitempty"` // ForceSendFields is a list of field names (e.g. "CandidatesTokenCount") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CandidatesTokenCount") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1GenerateContentResponseUsageMetadata) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1GenerationConfig: Generation config.
type GoogleCloudAiplatformV1GenerationConfig struct { // CandidateCount: Optional. Number of candidates to generate. CandidateCount int64 `json:"candidateCount,omitempty"` // FrequencyPenalty: Optional. Frequency penalties. FrequencyPenalty float64 `json:"frequencyPenalty,omitempty"` // MaxOutputTokens: Optional. The maximum number of output tokens to generate // per message. MaxOutputTokens int64 `json:"maxOutputTokens,omitempty"` // PresencePenalty: Optional. Positive penalties. PresencePenalty float64 `json:"presencePenalty,omitempty"` // ResponseMimeType: Optional. Output response mimetype of the generated // candidate text. Supported mimetype: - `text/plain`: (default) Text output. - // `application/json`: JSON response in the candidates. The model needs to be // prompted to output the appropriate response type, otherwise the behavior is // undefined. This is a preview feature. ResponseMimeType string `json:"responseMimeType,omitempty"` // ResponseStyle: Optional. Control Three levels of creativity in the model // output. Default: RESPONSE_STYLE_BALANCED // // Possible values: // "RESPONSE_STYLE_UNSPECIFIED" - response style unspecified. // "RESPONSE_STYLE_PRECISE" - Precise response. // "RESPONSE_STYLE_BALANCED" - Default response style. // "RESPONSE_STYLE_CREATIVE" - Creative response style. ResponseStyle string `json:"responseStyle,omitempty"` // StopSequences: Optional. Stop sequences. StopSequences []string `json:"stopSequences,omitempty"` // Temperature: Optional. Controls the randomness of predictions. Temperature float64 `json:"temperature,omitempty"` // TopK: Optional. If specified, top-k sampling will be used. TopK float64 `json:"topK,omitempty"` // TopP: Optional. If specified, nucleus sampling will be used. TopP float64 `json:"topP,omitempty"` // ForceSendFields is a list of field names (e.g. "CandidateCount") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CandidateCount") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1GenerationConfig) MarshalJSON() ([]byte, error)
func (s *GoogleCloudAiplatformV1GenerationConfig) UnmarshalJSON(data []byte) error
GoogleCloudAiplatformV1GenericOperationMetadata: Generic Metadata shared by all operations.
type GoogleCloudAiplatformV1GenericOperationMetadata struct { // CreateTime: Output only. Time when the operation was created. CreateTime string `json:"createTime,omitempty"` // PartialFailures: Output only. Partial failures encountered. E.g. single // files that couldn't be read. This field should never exceed 20 entries. // Status details field will contain standard Google Cloud error details. PartialFailures []*GoogleRpcStatus `json:"partialFailures,omitempty"` // UpdateTime: Output only. Time when the operation was updated for the last // time. If the operation has finished (successfully or not), this is the // finish time. UpdateTime string `json:"updateTime,omitempty"` // ForceSendFields is a list of field names (e.g. "CreateTime") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CreateTime") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1GenericOperationMetadata) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1GenieSource: Contains information about the source of the models generated from Generative AI Studio.
type GoogleCloudAiplatformV1GenieSource struct { // BaseModelUri: Required. The public base model URI. BaseModelUri string `json:"baseModelUri,omitempty"` // ForceSendFields is a list of field names (e.g. "BaseModelUri") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BaseModelUri") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1GenieSource) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1GroundingMetadata: Metadata returned to client when grounding is enabled.
type GoogleCloudAiplatformV1GroundingMetadata struct { // SearchEntryPoint: Optional. Google search entry for the following-up web // searches. SearchEntryPoint *GoogleCloudAiplatformV1SearchEntryPoint `json:"searchEntryPoint,omitempty"` // WebSearchQueries: Optional. Web search queries for the following-up web // search. WebSearchQueries []string `json:"webSearchQueries,omitempty"` // ForceSendFields is a list of field names (e.g. "SearchEntryPoint") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "SearchEntryPoint") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1GroundingMetadata) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1HyperparameterTuningJob: Represents a HyperparameterTuningJob. A HyperparameterTuningJob has a Study specification and multiple CustomJobs with identical CustomJob specification.
type GoogleCloudAiplatformV1HyperparameterTuningJob struct { // CreateTime: Output only. Time when the HyperparameterTuningJob was created. CreateTime string `json:"createTime,omitempty"` // DisplayName: Required. The display name of the HyperparameterTuningJob. The // name can be up to 128 characters long and can consist of any UTF-8 // characters. DisplayName string `json:"displayName,omitempty"` // EncryptionSpec: Customer-managed encryption key options for a // HyperparameterTuningJob. If this is set, then all resources created by the // HyperparameterTuningJob will be encrypted with the provided encryption key. EncryptionSpec *GoogleCloudAiplatformV1EncryptionSpec `json:"encryptionSpec,omitempty"` // EndTime: Output only. Time when the HyperparameterTuningJob entered any of // the following states: `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED`, // `JOB_STATE_CANCELLED`. EndTime string `json:"endTime,omitempty"` // Error: Output only. Only populated when job's state is JOB_STATE_FAILED or // JOB_STATE_CANCELLED. Error *GoogleRpcStatus `json:"error,omitempty"` // Labels: The labels with user-defined metadata to organize // HyperparameterTuningJobs. Label keys and values can be no longer than 64 // characters (Unicode codepoints), can only contain lowercase letters, numeric // characters, underscores and dashes. International characters are allowed. // See https://goo.gl/xmQnxf for more information and examples of labels. Labels map[string]string `json:"labels,omitempty"` // MaxFailedTrialCount: The number of failed Trials that need to be seen before // failing the HyperparameterTuningJob. If set to 0, Vertex AI decides how many // Trials must fail before the whole job fails. MaxFailedTrialCount int64 `json:"maxFailedTrialCount,omitempty"` // MaxTrialCount: Required. The desired total number of Trials. MaxTrialCount int64 `json:"maxTrialCount,omitempty"` // Name: Output only. Resource name of the HyperparameterTuningJob. Name string `json:"name,omitempty"` // ParallelTrialCount: Required. The desired number of Trials to run in // parallel. ParallelTrialCount int64 `json:"parallelTrialCount,omitempty"` // StartTime: Output only. Time when the HyperparameterTuningJob for the first // time entered the `JOB_STATE_RUNNING` state. StartTime string `json:"startTime,omitempty"` // State: Output only. The detailed state of the job. // // Possible values: // "JOB_STATE_UNSPECIFIED" - The job state is unspecified. // "JOB_STATE_QUEUED" - The job has been just created or resumed and // processing has not yet begun. // "JOB_STATE_PENDING" - The service is preparing to run the job. // "JOB_STATE_RUNNING" - The job is in progress. // "JOB_STATE_SUCCEEDED" - The job completed successfully. // "JOB_STATE_FAILED" - The job failed. // "JOB_STATE_CANCELLING" - The job is being cancelled. From this state the // job may only go to either `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED` or // `JOB_STATE_CANCELLED`. // "JOB_STATE_CANCELLED" - The job has been cancelled. // "JOB_STATE_PAUSED" - The job has been stopped, and can be resumed. // "JOB_STATE_EXPIRED" - The job has expired. // "JOB_STATE_UPDATING" - The job is being updated. Only jobs in the // `RUNNING` state can be updated. After updating, the job goes back to the // `RUNNING` state. // "JOB_STATE_PARTIALLY_SUCCEEDED" - The job is partially succeeded, some // results may be missing due to errors. State string `json:"state,omitempty"` // StudySpec: Required. Study configuration of the HyperparameterTuningJob. StudySpec *GoogleCloudAiplatformV1StudySpec `json:"studySpec,omitempty"` // TrialJobSpec: Required. The spec of a trial job. The same spec applies to // the CustomJobs created in all the trials. TrialJobSpec *GoogleCloudAiplatformV1CustomJobSpec `json:"trialJobSpec,omitempty"` // Trials: Output only. Trials of the HyperparameterTuningJob. Trials []*GoogleCloudAiplatformV1Trial `json:"trials,omitempty"` // UpdateTime: Output only. Time when the HyperparameterTuningJob was most // recently updated. UpdateTime string `json:"updateTime,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "CreateTime") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CreateTime") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1HyperparameterTuningJob) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1IdMatcher: Matcher for Features of an EntityType by Feature ID.
type GoogleCloudAiplatformV1IdMatcher struct { // Ids: Required. The following are accepted as `ids`: * A single-element list // containing only `*`, which selects all Features in the target EntityType, or // * A list containing only Feature IDs, which selects only Features with those // IDs in the target EntityType. Ids []string `json:"ids,omitempty"` // ForceSendFields is a list of field names (e.g. "Ids") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Ids") to include in API requests // with the JSON null value. By default, fields with empty values are omitted // from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1IdMatcher) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ImportDataConfig: Describes the location from where we import data into a Dataset, together with the labels that will be applied to the DataItems and the Annotations.
type GoogleCloudAiplatformV1ImportDataConfig struct { // AnnotationLabels: Labels that will be applied to newly imported Annotations. // If two Annotations are identical, one of them will be deduped. Two // Annotations are considered identical if their payload, payload_schema_uri // and all of their labels are the same. These labels will be overridden by // Annotation labels specified inside index file referenced by // import_schema_uri, e.g. jsonl file. AnnotationLabels map[string]string `json:"annotationLabels,omitempty"` // DataItemLabels: Labels that will be applied to newly imported DataItems. If // an identical DataItem as one being imported already exists in the Dataset, // then these labels will be appended to these of the already existing one, and // if labels with identical key is imported before, the old label value will be // overwritten. If two DataItems are identical in the same import data // operation, the labels will be combined and if key collision happens in this // case, one of the values will be picked randomly. Two DataItems are // considered identical if their content bytes are identical (e.g. image bytes // or pdf bytes). These labels will be overridden by Annotation labels // specified inside index file referenced by import_schema_uri, e.g. jsonl // file. DataItemLabels map[string]string `json:"dataItemLabels,omitempty"` // GcsSource: The Google Cloud Storage location for the input content. GcsSource *GoogleCloudAiplatformV1GcsSource `json:"gcsSource,omitempty"` // ImportSchemaUri: Required. Points to a YAML file stored on Google Cloud // Storage describing the import format. Validation will be done against the // schema. The schema is defined as an OpenAPI 3.0.2 Schema Object // (https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject). ImportSchemaUri string `json:"importSchemaUri,omitempty"` // ForceSendFields is a list of field names (e.g. "AnnotationLabels") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AnnotationLabels") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ImportDataConfig) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ImportDataOperationMetadata: Runtime operation information for DatasetService.ImportData.
type GoogleCloudAiplatformV1ImportDataOperationMetadata struct { // GenericMetadata: The common part of the operation metadata. GenericMetadata *GoogleCloudAiplatformV1GenericOperationMetadata `json:"genericMetadata,omitempty"` // ForceSendFields is a list of field names (e.g. "GenericMetadata") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "GenericMetadata") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ImportDataOperationMetadata) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ImportDataRequest: Request message for DatasetService.ImportData.
type GoogleCloudAiplatformV1ImportDataRequest struct { // ImportConfigs: Required. The desired input locations. The contents of all // input locations will be imported in one batch. ImportConfigs []*GoogleCloudAiplatformV1ImportDataConfig `json:"importConfigs,omitempty"` // ForceSendFields is a list of field names (e.g. "ImportConfigs") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ImportConfigs") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ImportDataRequest) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ImportDataResponse: Response message for DatasetService.ImportData.
type GoogleCloudAiplatformV1ImportDataResponse struct { }
GoogleCloudAiplatformV1ImportFeatureValuesOperationMetadata: Details of operations that perform import Feature values.
type GoogleCloudAiplatformV1ImportFeatureValuesOperationMetadata struct { // BlockingOperationIds: List of ImportFeatureValues operations running under a // single EntityType that are blocking this operation. BlockingOperationIds googleapi.Int64s `json:"blockingOperationIds,omitempty"` // GenericMetadata: Operation metadata for Featurestore import Feature values. GenericMetadata *GoogleCloudAiplatformV1GenericOperationMetadata `json:"genericMetadata,omitempty"` // ImportedEntityCount: Number of entities that have been imported by the // operation. ImportedEntityCount int64 `json:"importedEntityCount,omitempty,string"` // ImportedFeatureValueCount: Number of Feature values that have been imported // by the operation. ImportedFeatureValueCount int64 `json:"importedFeatureValueCount,omitempty,string"` // InvalidRowCount: The number of rows in input source that weren't imported // due to either * Not having any featureValues. * Having a null entityId. * // Having a null timestamp. * Not being parsable (applicable for CSV sources). InvalidRowCount int64 `json:"invalidRowCount,omitempty,string"` // SourceUris: The source URI from where Feature values are imported. SourceUris []string `json:"sourceUris,omitempty"` // TimestampOutsideRetentionRowsCount: The number rows that weren't ingested // due to having timestamps outside the retention boundary. TimestampOutsideRetentionRowsCount int64 `json:"timestampOutsideRetentionRowsCount,omitempty,string"` // ForceSendFields is a list of field names (e.g. "BlockingOperationIds") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BlockingOperationIds") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ImportFeatureValuesOperationMetadata) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ImportFeatureValuesRequest: Request message for FeaturestoreService.ImportFeatureValues.
type GoogleCloudAiplatformV1ImportFeatureValuesRequest struct { AvroSource *GoogleCloudAiplatformV1AvroSource `json:"avroSource,omitempty"` BigquerySource *GoogleCloudAiplatformV1BigQuerySource `json:"bigquerySource,omitempty"` CsvSource *GoogleCloudAiplatformV1CsvSource `json:"csvSource,omitempty"` // DisableIngestionAnalysis: If true, API doesn't start ingestion analysis // pipeline. DisableIngestionAnalysis bool `json:"disableIngestionAnalysis,omitempty"` // DisableOnlineServing: If set, data will not be imported for online serving. // This is typically used for backfilling, where Feature generation timestamps // are not in the timestamp range needed for online serving. DisableOnlineServing bool `json:"disableOnlineServing,omitempty"` // EntityIdField: Source column that holds entity IDs. If not provided, entity // IDs are extracted from the column named entity_id. EntityIdField string `json:"entityIdField,omitempty"` // FeatureSpecs: Required. Specifications defining which Feature values to // import from the entity. The request fails if no feature_specs are provided, // and having multiple feature_specs for one Feature is not allowed. FeatureSpecs []*GoogleCloudAiplatformV1ImportFeatureValuesRequestFeatureSpec `json:"featureSpecs,omitempty"` // FeatureTime: Single Feature timestamp for all entities being imported. The // timestamp must not have higher than millisecond precision. FeatureTime string `json:"featureTime,omitempty"` // FeatureTimeField: Source column that holds the Feature timestamp for all // Feature values in each entity. FeatureTimeField string `json:"featureTimeField,omitempty"` // WorkerCount: Specifies the number of workers that are used to write data to // the Featurestore. Consider the online serving capacity that you require to // achieve the desired import throughput without interfering with online // serving. The value must be positive, and less than or equal to 100. If not // set, defaults to using 1 worker. The low count ensures minimal impact on // online serving performance. WorkerCount int64 `json:"workerCount,omitempty"` // ForceSendFields is a list of field names (e.g. "AvroSource") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AvroSource") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ImportFeatureValuesRequest) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ImportFeatureValuesRequestFeatureSpec: Defines the Feature value(s) to import.
type GoogleCloudAiplatformV1ImportFeatureValuesRequestFeatureSpec struct { // Id: Required. ID of the Feature to import values of. This Feature must exist // in the target EntityType, or the request will fail. Id string `json:"id,omitempty"` // SourceField: Source column to get the Feature values from. If not set, uses // the column with the same name as the Feature ID. SourceField string `json:"sourceField,omitempty"` // ForceSendFields is a list of field names (e.g. "Id") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Id") to include in API requests // with the JSON null value. By default, fields with empty values are omitted // from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ImportFeatureValuesRequestFeatureSpec) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ImportFeatureValuesResponse: Response message for FeaturestoreService.ImportFeatureValues.
type GoogleCloudAiplatformV1ImportFeatureValuesResponse struct { // ImportedEntityCount: Number of entities that have been imported by the // operation. ImportedEntityCount int64 `json:"importedEntityCount,omitempty,string"` // ImportedFeatureValueCount: Number of Feature values that have been imported // by the operation. ImportedFeatureValueCount int64 `json:"importedFeatureValueCount,omitempty,string"` // InvalidRowCount: The number of rows in input source that weren't imported // due to either * Not having any featureValues. * Having a null entityId. * // Having a null timestamp. * Not being parsable (applicable for CSV sources). InvalidRowCount int64 `json:"invalidRowCount,omitempty,string"` // TimestampOutsideRetentionRowsCount: The number rows that weren't ingested // due to having feature timestamps outside the retention boundary. TimestampOutsideRetentionRowsCount int64 `json:"timestampOutsideRetentionRowsCount,omitempty,string"` // ForceSendFields is a list of field names (e.g. "ImportedEntityCount") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ImportedEntityCount") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ImportFeatureValuesResponse) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ImportModelEvaluationRequest: Request message for ModelService.ImportModelEvaluation
type GoogleCloudAiplatformV1ImportModelEvaluationRequest struct { // ModelEvaluation: Required. Model evaluation resource to be imported. ModelEvaluation *GoogleCloudAiplatformV1ModelEvaluation `json:"modelEvaluation,omitempty"` // ForceSendFields is a list of field names (e.g. "ModelEvaluation") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ModelEvaluation") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ImportModelEvaluationRequest) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1Index: A representation of a collection of database items organized in a way that allows for approximate nearest neighbor (a.k.a ANN) algorithms search.
type GoogleCloudAiplatformV1Index struct { // CreateTime: Output only. Timestamp when this Index was created. CreateTime string `json:"createTime,omitempty"` // DeployedIndexes: Output only. The pointers to DeployedIndexes created from // this Index. An Index can be only deleted if all its DeployedIndexes had been // undeployed first. DeployedIndexes []*GoogleCloudAiplatformV1DeployedIndexRef `json:"deployedIndexes,omitempty"` // Description: The description of the Index. Description string `json:"description,omitempty"` // DisplayName: Required. The display name of the Index. The name can be up to // 128 characters long and can consist of any UTF-8 characters. DisplayName string `json:"displayName,omitempty"` // EncryptionSpec: Immutable. Customer-managed encryption key spec for an // Index. If set, this Index and all sub-resources of this Index will be // secured by this key. EncryptionSpec *GoogleCloudAiplatformV1EncryptionSpec `json:"encryptionSpec,omitempty"` // Etag: Used to perform consistent read-modify-write updates. If not set, a // blind "overwrite" update happens. Etag string `json:"etag,omitempty"` // IndexStats: Output only. Stats of the index resource. IndexStats *GoogleCloudAiplatformV1IndexStats `json:"indexStats,omitempty"` // IndexUpdateMethod: Immutable. The update method to use with this Index. If // not set, BATCH_UPDATE will be used by default. // // Possible values: // "INDEX_UPDATE_METHOD_UNSPECIFIED" - Should not be used. // "BATCH_UPDATE" - BatchUpdate: user can call UpdateIndex with files on // Cloud Storage of Datapoints to update. // "STREAM_UPDATE" - StreamUpdate: user can call // UpsertDatapoints/DeleteDatapoints to update the Index and the updates will // be applied in corresponding DeployedIndexes in nearly real-time. IndexUpdateMethod string `json:"indexUpdateMethod,omitempty"` // Labels: The labels with user-defined metadata to organize your Indexes. // Label keys and values can be no longer than 64 characters (Unicode // codepoints), can only contain lowercase letters, numeric characters, // underscores and dashes. International characters are allowed. See // https://goo.gl/xmQnxf for more information and examples of labels. Labels map[string]string `json:"labels,omitempty"` // Metadata: An additional information about the Index; the schema of the // metadata can be found in metadata_schema. Metadata interface{} `json:"metadata,omitempty"` // MetadataSchemaUri: Immutable. Points to a YAML file stored on Google Cloud // Storage describing additional information about the Index, that is specific // to it. Unset if the Index does not have any additional information. The // schema is defined as an OpenAPI 3.0.2 Schema Object // (https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject). // Note: The URI given on output will be immutable and probably different, // including the URI scheme, than the one given on input. The output URI will // point to a location where the user only has a read access. MetadataSchemaUri string `json:"metadataSchemaUri,omitempty"` // Name: Output only. The resource name of the Index. Name string `json:"name,omitempty"` // UpdateTime: Output only. Timestamp when this Index was most recently // updated. This also includes any update to the contents of the Index. Note // that Operations working on this Index may have their // Operations.metadata.generic_metadata.update_time a little after the value of // this timestamp, yet that does not mean their results are not already // reflected in the Index. Result of any successfully completed Operation on // the Index is reflected in it. UpdateTime string `json:"updateTime,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "CreateTime") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CreateTime") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1Index) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1IndexDatapoint: A datapoint of Index.
type GoogleCloudAiplatformV1IndexDatapoint struct { // CrowdingTag: Optional. CrowdingTag of the datapoint, the number of neighbors // to return in each crowding can be configured during query. CrowdingTag *GoogleCloudAiplatformV1IndexDatapointCrowdingTag `json:"crowdingTag,omitempty"` // DatapointId: Required. Unique identifier of the datapoint. DatapointId string `json:"datapointId,omitempty"` // FeatureVector: Required. Feature embedding vector for dense index. An array // of numbers with the length of [NearestNeighborSearchConfig.dimensions]. FeatureVector []float64 `json:"featureVector,omitempty"` // NumericRestricts: Optional. List of Restrict of the datapoint, used to // perform "restricted searches" where boolean rule are used to filter the // subset of the database eligible for matching. This uses numeric comparisons. NumericRestricts []*GoogleCloudAiplatformV1IndexDatapointNumericRestriction `json:"numericRestricts,omitempty"` // Restricts: Optional. List of Restrict of the datapoint, used to perform // "restricted searches" where boolean rule are used to filter the subset of // the database eligible for matching. This uses categorical tokens. See: // https://cloud.google.com/vertex-ai/docs/matching-engine/filtering Restricts []*GoogleCloudAiplatformV1IndexDatapointRestriction `json:"restricts,omitempty"` // SparseEmbedding: Optional. Feature embedding vector for sparse index. SparseEmbedding *GoogleCloudAiplatformV1IndexDatapointSparseEmbedding `json:"sparseEmbedding,omitempty"` // ForceSendFields is a list of field names (e.g. "CrowdingTag") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CrowdingTag") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1IndexDatapoint) MarshalJSON() ([]byte, error)
func (s *GoogleCloudAiplatformV1IndexDatapoint) UnmarshalJSON(data []byte) error
GoogleCloudAiplatformV1IndexDatapointCrowdingTag: Crowding tag is a constraint on a neighbor list produced by nearest neighbor search requiring that no more than some value k' of the k neighbors returned have the same value of crowding_attribute.
type GoogleCloudAiplatformV1IndexDatapointCrowdingTag struct { // CrowdingAttribute: The attribute value used for crowding. The maximum number // of neighbors to return per crowding attribute value // (per_crowding_attribute_num_neighbors) is configured per-query. This field // is ignored if per_crowding_attribute_num_neighbors is larger than the total // number of neighbors to return for a given query. CrowdingAttribute string `json:"crowdingAttribute,omitempty"` // ForceSendFields is a list of field names (e.g. "CrowdingAttribute") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CrowdingAttribute") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1IndexDatapointCrowdingTag) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1IndexDatapointNumericRestriction: This field allows restricts to be based on numeric comparisons rather than categorical tokens.
type GoogleCloudAiplatformV1IndexDatapointNumericRestriction struct { // Namespace: The namespace of this restriction. e.g.: cost. Namespace string `json:"namespace,omitempty"` // Op: This MUST be specified for queries and must NOT be specified for // datapoints. // // Possible values: // "OPERATOR_UNSPECIFIED" - Default value of the enum. // "LESS" - Datapoints are eligible iff their value is < the query's. // "LESS_EQUAL" - Datapoints are eligible iff their value is <= the query's. // "EQUAL" - Datapoints are eligible iff their value is == the query's. // "GREATER_EQUAL" - Datapoints are eligible iff their value is >= the // query's. // "GREATER" - Datapoints are eligible iff their value is > the query's. // "NOT_EQUAL" - Datapoints are eligible iff their value is != the query's. Op string `json:"op,omitempty"` // ValueDouble: Represents 64 bit float. ValueDouble float64 `json:"valueDouble,omitempty"` // ValueFloat: Represents 32 bit float. ValueFloat float64 `json:"valueFloat,omitempty"` // ValueInt: Represents 64 bit integer. ValueInt int64 `json:"valueInt,omitempty,string"` // ForceSendFields is a list of field names (e.g. "Namespace") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Namespace") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1IndexDatapointNumericRestriction) MarshalJSON() ([]byte, error)
func (s *GoogleCloudAiplatformV1IndexDatapointNumericRestriction) UnmarshalJSON(data []byte) error
GoogleCloudAiplatformV1IndexDatapointRestriction: Restriction of a datapoint which describe its attributes(tokens) from each of several attribute categories(namespaces).
type GoogleCloudAiplatformV1IndexDatapointRestriction struct { // AllowList: The attributes to allow in this namespace. e.g.: 'red' AllowList []string `json:"allowList,omitempty"` // DenyList: The attributes to deny in this namespace. e.g.: 'blue' DenyList []string `json:"denyList,omitempty"` // Namespace: The namespace of this restriction. e.g.: color. Namespace string `json:"namespace,omitempty"` // ForceSendFields is a list of field names (e.g. "AllowList") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AllowList") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1IndexDatapointRestriction) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1IndexDatapointSparseEmbedding: Feature embedding vector for sparse index. An array of numbers whose values are located in the specified dimensions.
type GoogleCloudAiplatformV1IndexDatapointSparseEmbedding struct { // Dimensions: Required. The list of indexes for the embedding values of the // sparse vector. Dimensions googleapi.Int64s `json:"dimensions,omitempty"` // Values: Required. The list of embedding values of the sparse vector. Values []float64 `json:"values,omitempty"` // ForceSendFields is a list of field names (e.g. "Dimensions") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Dimensions") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1IndexDatapointSparseEmbedding) MarshalJSON() ([]byte, error)
func (s *GoogleCloudAiplatformV1IndexDatapointSparseEmbedding) UnmarshalJSON(data []byte) error
GoogleCloudAiplatformV1IndexEndpoint: Indexes are deployed into it. An IndexEndpoint can have multiple DeployedIndexes.
type GoogleCloudAiplatformV1IndexEndpoint struct { // CreateTime: Output only. Timestamp when this IndexEndpoint was created. CreateTime string `json:"createTime,omitempty"` // DeployedIndexes: Output only. The indexes deployed in this endpoint. DeployedIndexes []*GoogleCloudAiplatformV1DeployedIndex `json:"deployedIndexes,omitempty"` // Description: The description of the IndexEndpoint. Description string `json:"description,omitempty"` // DisplayName: Required. The display name of the IndexEndpoint. The name can // be up to 128 characters long and can consist of any UTF-8 characters. DisplayName string `json:"displayName,omitempty"` // EnablePrivateServiceConnect: Optional. Deprecated: If true, expose the // IndexEndpoint via private service connect. Only one of the fields, network // or enable_private_service_connect, can be set. EnablePrivateServiceConnect bool `json:"enablePrivateServiceConnect,omitempty"` // EncryptionSpec: Immutable. Customer-managed encryption key spec for an // IndexEndpoint. If set, this IndexEndpoint and all sub-resources of this // IndexEndpoint will be secured by this key. EncryptionSpec *GoogleCloudAiplatformV1EncryptionSpec `json:"encryptionSpec,omitempty"` // Etag: Used to perform consistent read-modify-write updates. If not set, a // blind "overwrite" update happens. Etag string `json:"etag,omitempty"` // Labels: The labels with user-defined metadata to organize your // IndexEndpoints. Label keys and values can be no longer than 64 characters // (Unicode codepoints), can only contain lowercase letters, numeric // characters, underscores and dashes. International characters are allowed. // See https://goo.gl/xmQnxf for more information and examples of labels. Labels map[string]string `json:"labels,omitempty"` // Name: Output only. The resource name of the IndexEndpoint. Name string `json:"name,omitempty"` // Network: Optional. The full name of the Google Compute Engine network // (https://cloud.google.com/compute/docs/networks-and-firewalls#networks) to // which the IndexEndpoint should be peered. Private services access must // already be configured for the network. If left unspecified, the Endpoint is // not peered with any network. network and private_service_connect_config are // mutually exclusive. Format // (https://cloud.google.com/compute/docs/reference/rest/v1/networks/insert): // `projects/{project}/global/networks/{network}`. Where {project} is a project // number, as in '12345', and {network} is network name. Network string `json:"network,omitempty"` // PrivateServiceConnectConfig: Optional. Configuration for private service // connect. network and private_service_connect_config are mutually exclusive. PrivateServiceConnectConfig *GoogleCloudAiplatformV1PrivateServiceConnectConfig `json:"privateServiceConnectConfig,omitempty"` // PublicEndpointDomainName: Output only. If public_endpoint_enabled is true, // this field will be populated with the domain name to use for this index // endpoint. PublicEndpointDomainName string `json:"publicEndpointDomainName,omitempty"` // PublicEndpointEnabled: Optional. If true, the deployed index will be // accessible through public endpoint. PublicEndpointEnabled bool `json:"publicEndpointEnabled,omitempty"` // UpdateTime: Output only. Timestamp when this IndexEndpoint was last updated. // This timestamp is not updated when the endpoint's DeployedIndexes are // updated, e.g. due to updates of the original Indexes they are the // deployments of. UpdateTime string `json:"updateTime,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "CreateTime") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CreateTime") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1IndexEndpoint) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1IndexPrivateEndpoints: IndexPrivateEndpoints proto is used to provide paths for users to send requests via private endpoints (e.g. private service access, private service connect). To send request via private service access, use match_grpc_address. To send request via private service connect, use service_attachment.
type GoogleCloudAiplatformV1IndexPrivateEndpoints struct { // MatchGrpcAddress: Output only. The ip address used to send match gRPC // requests. MatchGrpcAddress string `json:"matchGrpcAddress,omitempty"` // PscAutomatedEndpoints: Output only. PscAutomatedEndpoints is populated if // private service connect is enabled if PscAutomatedConfig is set. PscAutomatedEndpoints []*GoogleCloudAiplatformV1PscAutomatedEndpoints `json:"pscAutomatedEndpoints,omitempty"` // ServiceAttachment: Output only. The name of the service attachment resource. // Populated if private service connect is enabled. ServiceAttachment string `json:"serviceAttachment,omitempty"` // ForceSendFields is a list of field names (e.g. "MatchGrpcAddress") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "MatchGrpcAddress") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1IndexPrivateEndpoints) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1IndexStats: Stats of the Index.
type GoogleCloudAiplatformV1IndexStats struct { // ShardsCount: Output only. The number of shards in the Index. ShardsCount int64 `json:"shardsCount,omitempty"` // SparseVectorsCount: Output only. The number of sparse vectors in the Index. SparseVectorsCount int64 `json:"sparseVectorsCount,omitempty,string"` // VectorsCount: Output only. The number of dense vectors in the Index. VectorsCount int64 `json:"vectorsCount,omitempty,string"` // ForceSendFields is a list of field names (e.g. "ShardsCount") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ShardsCount") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1IndexStats) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1InputDataConfig: Specifies Vertex AI owned input data to be used for training, and possibly evaluating, the Model.
type GoogleCloudAiplatformV1InputDataConfig struct { // AnnotationSchemaUri: Applicable only to custom training with Datasets that // have DataItems and Annotations. Cloud Storage URI that points to a YAML file // describing the annotation schema. The schema is defined as an OpenAPI 3.0.2 // Schema Object // (https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject). // The schema files that can be used here are found in // gs://google-cloud-aiplatform/schema/dataset/annotation/ , note that the // chosen schema must be consistent with metadata of the Dataset specified by // dataset_id. Only Annotations that both match this schema and belong to // DataItems not ignored by the split method are used in respectively training, // validation or test role, depending on the role of the DataItem they are on. // When used in conjunction with annotations_filter, the Annotations used for // training are filtered by both annotations_filter and annotation_schema_uri. AnnotationSchemaUri string `json:"annotationSchemaUri,omitempty"` // AnnotationsFilter: Applicable only to Datasets that have DataItems and // Annotations. A filter on Annotations of the Dataset. Only Annotations that // both match this filter and belong to DataItems not ignored by the split // method are used in respectively training, validation or test role, depending // on the role of the DataItem they are on (for the auto-assigned that role is // decided by Vertex AI). A filter with same syntax as the one used in // ListAnnotations may be used, but note here it filters across all Annotations // of the Dataset, and not just within a single DataItem. AnnotationsFilter string `json:"annotationsFilter,omitempty"` // BigqueryDestination: Only applicable to custom training with tabular Dataset // with BigQuery source. The BigQuery project location where the training data // is to be written to. In the given project a new dataset is created with name // `dataset___` where timestamp is in YYYY_MM_DDThh_mm_ss_sssZ format. All // training input data is written into that dataset. In the dataset three // tables are created, `training`, `validation` and `test`. * AIP_DATA_FORMAT = // "bigquery". * AIP_TRAINING_DATA_URI = // "bigquery_destination.dataset___.training" * AIP_VALIDATION_DATA_URI = // "bigquery_destination.dataset___.validation" * AIP_TEST_DATA_URI = // "bigquery_destination.dataset___.test" BigqueryDestination *GoogleCloudAiplatformV1BigQueryDestination `json:"bigqueryDestination,omitempty"` // DatasetId: Required. The ID of the Dataset in the same Project and Location // which data will be used to train the Model. The Dataset must use schema // compatible with Model being trained, and what is compatible should be // described in the used TrainingPipeline's training_task_definition. For // tabular Datasets, all their data is exported to training, to pick and choose // from. DatasetId string `json:"datasetId,omitempty"` // FilterSplit: Split based on the provided filters for each set. FilterSplit *GoogleCloudAiplatformV1FilterSplit `json:"filterSplit,omitempty"` // FractionSplit: Split based on fractions defining the size of each set. FractionSplit *GoogleCloudAiplatformV1FractionSplit `json:"fractionSplit,omitempty"` // GcsDestination: The Cloud Storage location where the training data is to be // written to. In the given directory a new directory is created with name: // `dataset---` where timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format. // All training input data is written into that directory. The Vertex AI // environment variables representing Cloud Storage data URIs are represented // in the Cloud Storage wildcard format to support sharded data. e.g.: // "gs://.../training-*.jsonl" * AIP_DATA_FORMAT = "jsonl" for non-tabular // data, "csv" for tabular data * AIP_TRAINING_DATA_URI = // "gcs_destination/dataset---/training-*.${AIP_DATA_FORMAT}" * // AIP_VALIDATION_DATA_URI = // "gcs_destination/dataset---/validation-*.${AIP_DATA_FORMAT}" * // AIP_TEST_DATA_URI = "gcs_destination/dataset---/test-*.${AIP_DATA_FORMAT}" GcsDestination *GoogleCloudAiplatformV1GcsDestination `json:"gcsDestination,omitempty"` // PersistMlUseAssignment: Whether to persist the ML use assignment to data // item system labels. PersistMlUseAssignment bool `json:"persistMlUseAssignment,omitempty"` // PredefinedSplit: Supported only for tabular Datasets. Split based on a // predefined key. PredefinedSplit *GoogleCloudAiplatformV1PredefinedSplit `json:"predefinedSplit,omitempty"` // SavedQueryId: Only applicable to Datasets that have SavedQueries. The ID of // a SavedQuery (annotation set) under the Dataset specified by dataset_id used // for filtering Annotations for training. Only Annotations that are associated // with this SavedQuery are used in respectively training. When used in // conjunction with annotations_filter, the Annotations used for training are // filtered by both saved_query_id and annotations_filter. Only one of // saved_query_id and annotation_schema_uri should be specified as both of them // represent the same thing: problem type. SavedQueryId string `json:"savedQueryId,omitempty"` // StratifiedSplit: Supported only for tabular Datasets. Split based on the // distribution of the specified column. StratifiedSplit *GoogleCloudAiplatformV1StratifiedSplit `json:"stratifiedSplit,omitempty"` // TimestampSplit: Supported only for tabular Datasets. Split based on the // timestamp of the input data pieces. TimestampSplit *GoogleCloudAiplatformV1TimestampSplit `json:"timestampSplit,omitempty"` // ForceSendFields is a list of field names (e.g. "AnnotationSchemaUri") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AnnotationSchemaUri") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1InputDataConfig) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1Int64Array: A list of int64 values.
type GoogleCloudAiplatformV1Int64Array struct { // Values: A list of int64 values. Values googleapi.Int64s `json:"values,omitempty"` // ForceSendFields is a list of field names (e.g. "Values") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Values") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1Int64Array) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1IntegratedGradientsAttribution: An attribution method that computes the Aumann-Shapley value taking advantage of the model's fully differentiable structure. Refer to this paper for more details: https://arxiv.org/abs/1703.01365
type GoogleCloudAiplatformV1IntegratedGradientsAttribution struct { // BlurBaselineConfig: Config for IG with blur baseline. When enabled, a linear // path from the maximally blurred image to the input image is created. Using a // blurred baseline instead of zero (black image) is motivated by the BlurIG // approach explained here: https://arxiv.org/abs/2004.03383 BlurBaselineConfig *GoogleCloudAiplatformV1BlurBaselineConfig `json:"blurBaselineConfig,omitempty"` // SmoothGradConfig: Config for SmoothGrad approximation of gradients. When // enabled, the gradients are approximated by averaging the gradients from // noisy samples in the vicinity of the inputs. Adding noise can help improve // the computed gradients. Refer to this paper for more details: // https://arxiv.org/pdf/1706.03825.pdf SmoothGradConfig *GoogleCloudAiplatformV1SmoothGradConfig `json:"smoothGradConfig,omitempty"` // StepCount: Required. The number of steps for approximating the path // integral. A good value to start is 50 and gradually increase until the sum // to diff property is within the desired error range. Valid range of its value // is [1, 100], inclusively. StepCount int64 `json:"stepCount,omitempty"` // ForceSendFields is a list of field names (e.g. "BlurBaselineConfig") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BlurBaselineConfig") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1IntegratedGradientsAttribution) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1LargeModelReference: Contains information about the Large Model.
type GoogleCloudAiplatformV1LargeModelReference struct { // Name: Required. The unique name of the large Foundation or pre-built model. // Like "chat-bison", "text-bison". Or model name with version ID, like // "chat-bison@001", "text-bison@005", etc. Name string `json:"name,omitempty"` // ForceSendFields is a list of field names (e.g. "Name") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Name") to include in API requests // with the JSON null value. By default, fields with empty values are omitted // from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1LargeModelReference) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1LineageSubgraph: A subgraph of the overall lineage graph. Event edges connect Artifact and Execution nodes.
type GoogleCloudAiplatformV1LineageSubgraph struct { // Artifacts: The Artifact nodes in the subgraph. Artifacts []*GoogleCloudAiplatformV1Artifact `json:"artifacts,omitempty"` // Events: The Event edges between Artifacts and Executions in the subgraph. Events []*GoogleCloudAiplatformV1Event `json:"events,omitempty"` // Executions: The Execution nodes in the subgraph. Executions []*GoogleCloudAiplatformV1Execution `json:"executions,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Artifacts") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Artifacts") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1LineageSubgraph) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ListAnnotationsResponse: Response message for DatasetService.ListAnnotations.
type GoogleCloudAiplatformV1ListAnnotationsResponse struct { // Annotations: A list of Annotations that matches the specified filter in the // request. Annotations []*GoogleCloudAiplatformV1Annotation `json:"annotations,omitempty"` // NextPageToken: The standard List next-page token. NextPageToken string `json:"nextPageToken,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Annotations") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Annotations") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ListAnnotationsResponse) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ListArtifactsResponse: Response message for MetadataService.ListArtifacts.
type GoogleCloudAiplatformV1ListArtifactsResponse struct { // Artifacts: The Artifacts retrieved from the MetadataStore. Artifacts []*GoogleCloudAiplatformV1Artifact `json:"artifacts,omitempty"` // NextPageToken: A token, which can be sent as ListArtifactsRequest.page_token // to retrieve the next page. If this field is not populated, there are no // subsequent pages. NextPageToken string `json:"nextPageToken,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Artifacts") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Artifacts") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ListArtifactsResponse) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ListBatchPredictionJobsResponse: Response message for JobService.ListBatchPredictionJobs
type GoogleCloudAiplatformV1ListBatchPredictionJobsResponse struct { // BatchPredictionJobs: List of BatchPredictionJobs in the requested page. BatchPredictionJobs []*GoogleCloudAiplatformV1BatchPredictionJob `json:"batchPredictionJobs,omitempty"` // NextPageToken: A token to retrieve the next page of results. Pass to // ListBatchPredictionJobsRequest.page_token to obtain that page. NextPageToken string `json:"nextPageToken,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "BatchPredictionJobs") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BatchPredictionJobs") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ListBatchPredictionJobsResponse) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ListContextsResponse: Response message for MetadataService.ListContexts.
type GoogleCloudAiplatformV1ListContextsResponse struct { // Contexts: The Contexts retrieved from the MetadataStore. Contexts []*GoogleCloudAiplatformV1Context `json:"contexts,omitempty"` // NextPageToken: A token, which can be sent as ListContextsRequest.page_token // to retrieve the next page. If this field is not populated, there are no // subsequent pages. NextPageToken string `json:"nextPageToken,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Contexts") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Contexts") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ListContextsResponse) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ListCustomJobsResponse: Response message for JobService.ListCustomJobs
type GoogleCloudAiplatformV1ListCustomJobsResponse struct { // CustomJobs: List of CustomJobs in the requested page. CustomJobs []*GoogleCloudAiplatformV1CustomJob `json:"customJobs,omitempty"` // NextPageToken: A token to retrieve the next page of results. Pass to // ListCustomJobsRequest.page_token to obtain that page. NextPageToken string `json:"nextPageToken,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "CustomJobs") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CustomJobs") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ListCustomJobsResponse) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ListDataItemsResponse: Response message for DatasetService.ListDataItems.
type GoogleCloudAiplatformV1ListDataItemsResponse struct { // DataItems: A list of DataItems that matches the specified filter in the // request. DataItems []*GoogleCloudAiplatformV1DataItem `json:"dataItems,omitempty"` // NextPageToken: The standard List next-page token. NextPageToken string `json:"nextPageToken,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "DataItems") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DataItems") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ListDataItemsResponse) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ListDataLabelingJobsResponse: Response message for JobService.ListDataLabelingJobs.
type GoogleCloudAiplatformV1ListDataLabelingJobsResponse struct { // DataLabelingJobs: A list of DataLabelingJobs that matches the specified // filter in the request. DataLabelingJobs []*GoogleCloudAiplatformV1DataLabelingJob `json:"dataLabelingJobs,omitempty"` // NextPageToken: The standard List next-page token. NextPageToken string `json:"nextPageToken,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "DataLabelingJobs") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DataLabelingJobs") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ListDataLabelingJobsResponse) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ListDatasetVersionsResponse: Response message for DatasetService.ListDatasetVersions.
type GoogleCloudAiplatformV1ListDatasetVersionsResponse struct { // DatasetVersions: A list of DatasetVersions that matches the specified filter // in the request. DatasetVersions []*GoogleCloudAiplatformV1DatasetVersion `json:"datasetVersions,omitempty"` // NextPageToken: The standard List next-page token. NextPageToken string `json:"nextPageToken,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "DatasetVersions") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DatasetVersions") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ListDatasetVersionsResponse) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ListDatasetsResponse: Response message for DatasetService.ListDatasets.
type GoogleCloudAiplatformV1ListDatasetsResponse struct { // Datasets: A list of Datasets that matches the specified filter in the // request. Datasets []*GoogleCloudAiplatformV1Dataset `json:"datasets,omitempty"` // NextPageToken: The standard List next-page token. NextPageToken string `json:"nextPageToken,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Datasets") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Datasets") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ListDatasetsResponse) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ListDeploymentResourcePoolsResponse: Response message for ListDeploymentResourcePools method.
type GoogleCloudAiplatformV1ListDeploymentResourcePoolsResponse struct { // DeploymentResourcePools: The DeploymentResourcePools from the specified // location. DeploymentResourcePools []*GoogleCloudAiplatformV1DeploymentResourcePool `json:"deploymentResourcePools,omitempty"` // NextPageToken: A token, which can be sent as `page_token` to retrieve the // next page. If this field is omitted, there are no subsequent pages. NextPageToken string `json:"nextPageToken,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "DeploymentResourcePools") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DeploymentResourcePools") to // include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ListDeploymentResourcePoolsResponse) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ListEndpointsResponse: Response message for EndpointService.ListEndpoints.
type GoogleCloudAiplatformV1ListEndpointsResponse struct { // Endpoints: List of Endpoints in the requested page. Endpoints []*GoogleCloudAiplatformV1Endpoint `json:"endpoints,omitempty"` // NextPageToken: A token to retrieve the next page of results. Pass to // ListEndpointsRequest.page_token to obtain that page. NextPageToken string `json:"nextPageToken,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Endpoints") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Endpoints") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ListEndpointsResponse) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ListEntityTypesResponse: Response message for FeaturestoreService.ListEntityTypes.
type GoogleCloudAiplatformV1ListEntityTypesResponse struct { // EntityTypes: The EntityTypes matching the request. EntityTypes []*GoogleCloudAiplatformV1EntityType `json:"entityTypes,omitempty"` // NextPageToken: A token, which can be sent as // ListEntityTypesRequest.page_token to retrieve the next page. If this field // is omitted, there are no subsequent pages. NextPageToken string `json:"nextPageToken,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "EntityTypes") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "EntityTypes") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ListEntityTypesResponse) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ListExecutionsResponse: Response message for MetadataService.ListExecutions.
type GoogleCloudAiplatformV1ListExecutionsResponse struct { // Executions: The Executions retrieved from the MetadataStore. Executions []*GoogleCloudAiplatformV1Execution `json:"executions,omitempty"` // NextPageToken: A token, which can be sent as // ListExecutionsRequest.page_token to retrieve the next page. If this field is // not populated, there are no subsequent pages. NextPageToken string `json:"nextPageToken,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Executions") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Executions") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ListExecutionsResponse) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ListFeatureGroupsResponse: Response message for FeatureRegistryService.ListFeatureGroups.
type GoogleCloudAiplatformV1ListFeatureGroupsResponse struct { // FeatureGroups: The FeatureGroups matching the request. FeatureGroups []*GoogleCloudAiplatformV1FeatureGroup `json:"featureGroups,omitempty"` // NextPageToken: A token, which can be sent as // ListFeatureGroupsRequest.page_token to retrieve the next page. If this field // is omitted, there are no subsequent pages. NextPageToken string `json:"nextPageToken,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "FeatureGroups") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "FeatureGroups") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ListFeatureGroupsResponse) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ListFeatureOnlineStoresResponse: Response message for FeatureOnlineStoreAdminService.ListFeatureOnlineStores.
type GoogleCloudAiplatformV1ListFeatureOnlineStoresResponse struct { // FeatureOnlineStores: The FeatureOnlineStores matching the request. FeatureOnlineStores []*GoogleCloudAiplatformV1FeatureOnlineStore `json:"featureOnlineStores,omitempty"` // NextPageToken: A token, which can be sent as // ListFeatureOnlineStoresRequest.page_token to retrieve the next page. If this // field is omitted, there are no subsequent pages. NextPageToken string `json:"nextPageToken,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "FeatureOnlineStores") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "FeatureOnlineStores") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ListFeatureOnlineStoresResponse) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ListFeatureViewSyncsResponse: Response message for FeatureOnlineStoreAdminService.ListFeatureViewSyncs.
type GoogleCloudAiplatformV1ListFeatureViewSyncsResponse struct { // FeatureViewSyncs: The FeatureViewSyncs matching the request. FeatureViewSyncs []*GoogleCloudAiplatformV1FeatureViewSync `json:"featureViewSyncs,omitempty"` // NextPageToken: A token, which can be sent as // ListFeatureViewSyncsRequest.page_token to retrieve the next page. If this // field is omitted, there are no subsequent pages. NextPageToken string `json:"nextPageToken,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "FeatureViewSyncs") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "FeatureViewSyncs") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ListFeatureViewSyncsResponse) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ListFeatureViewsResponse: Response message for FeatureOnlineStoreAdminService.ListFeatureViews.
type GoogleCloudAiplatformV1ListFeatureViewsResponse struct { // FeatureViews: The FeatureViews matching the request. FeatureViews []*GoogleCloudAiplatformV1FeatureView `json:"featureViews,omitempty"` // NextPageToken: A token, which can be sent as // ListFeatureViewsRequest.page_token to retrieve the next page. If this field // is omitted, there are no subsequent pages. NextPageToken string `json:"nextPageToken,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "FeatureViews") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "FeatureViews") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ListFeatureViewsResponse) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ListFeaturesResponse: Response message for FeaturestoreService.ListFeatures. Response message for FeatureRegistryService.ListFeatures.
type GoogleCloudAiplatformV1ListFeaturesResponse struct { // Features: The Features matching the request. Features []*GoogleCloudAiplatformV1Feature `json:"features,omitempty"` // NextPageToken: A token, which can be sent as ListFeaturesRequest.page_token // to retrieve the next page. If this field is omitted, there are no subsequent // pages. NextPageToken string `json:"nextPageToken,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Features") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Features") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ListFeaturesResponse) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ListFeaturestoresResponse: Response message for FeaturestoreService.ListFeaturestores.
type GoogleCloudAiplatformV1ListFeaturestoresResponse struct { // Featurestores: The Featurestores matching the request. Featurestores []*GoogleCloudAiplatformV1Featurestore `json:"featurestores,omitempty"` // NextPageToken: A token, which can be sent as // ListFeaturestoresRequest.page_token to retrieve the next page. If this field // is omitted, there are no subsequent pages. NextPageToken string `json:"nextPageToken,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Featurestores") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Featurestores") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ListFeaturestoresResponse) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ListHyperparameterTuningJobsResponse: Response message for JobService.ListHyperparameterTuningJobs
type GoogleCloudAiplatformV1ListHyperparameterTuningJobsResponse struct { // HyperparameterTuningJobs: List of HyperparameterTuningJobs in the requested // page. HyperparameterTuningJob.trials of the jobs will be not be returned. HyperparameterTuningJobs []*GoogleCloudAiplatformV1HyperparameterTuningJob `json:"hyperparameterTuningJobs,omitempty"` // NextPageToken: A token to retrieve the next page of results. Pass to // ListHyperparameterTuningJobsRequest.page_token to obtain that page. NextPageToken string `json:"nextPageToken,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "HyperparameterTuningJobs") // to unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "HyperparameterTuningJobs") to // include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ListHyperparameterTuningJobsResponse) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ListIndexEndpointsResponse: Response message for IndexEndpointService.ListIndexEndpoints.
type GoogleCloudAiplatformV1ListIndexEndpointsResponse struct { // IndexEndpoints: List of IndexEndpoints in the requested page. IndexEndpoints []*GoogleCloudAiplatformV1IndexEndpoint `json:"indexEndpoints,omitempty"` // NextPageToken: A token to retrieve next page of results. Pass to // ListIndexEndpointsRequest.page_token to obtain that page. NextPageToken string `json:"nextPageToken,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "IndexEndpoints") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "IndexEndpoints") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ListIndexEndpointsResponse) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ListIndexesResponse: Response message for IndexService.ListIndexes.
type GoogleCloudAiplatformV1ListIndexesResponse struct { // Indexes: List of indexes in the requested page. Indexes []*GoogleCloudAiplatformV1Index `json:"indexes,omitempty"` // NextPageToken: A token to retrieve next page of results. Pass to // ListIndexesRequest.page_token to obtain that page. NextPageToken string `json:"nextPageToken,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Indexes") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Indexes") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ListIndexesResponse) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ListMetadataSchemasResponse: Response message for MetadataService.ListMetadataSchemas.
type GoogleCloudAiplatformV1ListMetadataSchemasResponse struct { // MetadataSchemas: The MetadataSchemas found for the MetadataStore. MetadataSchemas []*GoogleCloudAiplatformV1MetadataSchema `json:"metadataSchemas,omitempty"` // NextPageToken: A token, which can be sent as // ListMetadataSchemasRequest.page_token to retrieve the next page. If this // field is not populated, there are no subsequent pages. NextPageToken string `json:"nextPageToken,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "MetadataSchemas") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "MetadataSchemas") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ListMetadataSchemasResponse) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ListMetadataStoresResponse: Response message for MetadataService.ListMetadataStores.
type GoogleCloudAiplatformV1ListMetadataStoresResponse struct { // MetadataStores: The MetadataStores found for the Location. MetadataStores []*GoogleCloudAiplatformV1MetadataStore `json:"metadataStores,omitempty"` // NextPageToken: A token, which can be sent as // ListMetadataStoresRequest.page_token to retrieve the next page. If this // field is not populated, there are no subsequent pages. NextPageToken string `json:"nextPageToken,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "MetadataStores") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "MetadataStores") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ListMetadataStoresResponse) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ListModelDeploymentMonitoringJobsResponse: Response message for JobService.ListModelDeploymentMonitoringJobs.
type GoogleCloudAiplatformV1ListModelDeploymentMonitoringJobsResponse struct { // ModelDeploymentMonitoringJobs: A list of ModelDeploymentMonitoringJobs that // matches the specified filter in the request. ModelDeploymentMonitoringJobs []*GoogleCloudAiplatformV1ModelDeploymentMonitoringJob `json:"modelDeploymentMonitoringJobs,omitempty"` // NextPageToken: The standard List next-page token. NextPageToken string `json:"nextPageToken,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. // "ModelDeploymentMonitoringJobs") to unconditionally include in API requests. // By default, fields with empty or default values are omitted from API // requests. See https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields // for more details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ModelDeploymentMonitoringJobs") // to include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ListModelDeploymentMonitoringJobsResponse) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ListModelEvaluationSlicesResponse: Response message for ModelService.ListModelEvaluationSlices.
type GoogleCloudAiplatformV1ListModelEvaluationSlicesResponse struct { // ModelEvaluationSlices: List of ModelEvaluations in the requested page. ModelEvaluationSlices []*GoogleCloudAiplatformV1ModelEvaluationSlice `json:"modelEvaluationSlices,omitempty"` // NextPageToken: A token to retrieve next page of results. Pass to // ListModelEvaluationSlicesRequest.page_token to obtain that page. NextPageToken string `json:"nextPageToken,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "ModelEvaluationSlices") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ModelEvaluationSlices") to // include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ListModelEvaluationSlicesResponse) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ListModelEvaluationsResponse: Response message for ModelService.ListModelEvaluations.
type GoogleCloudAiplatformV1ListModelEvaluationsResponse struct { // ModelEvaluations: List of ModelEvaluations in the requested page. ModelEvaluations []*GoogleCloudAiplatformV1ModelEvaluation `json:"modelEvaluations,omitempty"` // NextPageToken: A token to retrieve next page of results. Pass to // ListModelEvaluationsRequest.page_token to obtain that page. NextPageToken string `json:"nextPageToken,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "ModelEvaluations") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ModelEvaluations") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ListModelEvaluationsResponse) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ListModelVersionsResponse: Response message for ModelService.ListModelVersions
type GoogleCloudAiplatformV1ListModelVersionsResponse struct { // Models: List of Model versions in the requested page. In the returned Model // name field, version ID instead of regvision tag will be included. Models []*GoogleCloudAiplatformV1Model `json:"models,omitempty"` // NextPageToken: A token to retrieve the next page of results. Pass to // ListModelVersionsRequest.page_token to obtain that page. NextPageToken string `json:"nextPageToken,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Models") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Models") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ListModelVersionsResponse) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ListModelsResponse: Response message for ModelService.ListModels
type GoogleCloudAiplatformV1ListModelsResponse struct { // Models: List of Models in the requested page. Models []*GoogleCloudAiplatformV1Model `json:"models,omitempty"` // NextPageToken: A token to retrieve next page of results. Pass to // ListModelsRequest.page_token to obtain that page. NextPageToken string `json:"nextPageToken,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Models") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Models") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ListModelsResponse) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ListNasJobsResponse: Response message for JobService.ListNasJobs
type GoogleCloudAiplatformV1ListNasJobsResponse struct { // NasJobs: List of NasJobs in the requested page. NasJob.nas_job_output of the // jobs will not be returned. NasJobs []*GoogleCloudAiplatformV1NasJob `json:"nasJobs,omitempty"` // NextPageToken: A token to retrieve the next page of results. Pass to // ListNasJobsRequest.page_token to obtain that page. NextPageToken string `json:"nextPageToken,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "NasJobs") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "NasJobs") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ListNasJobsResponse) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ListNasTrialDetailsResponse: Response message for JobService.ListNasTrialDetails
type GoogleCloudAiplatformV1ListNasTrialDetailsResponse struct { // NasTrialDetails: List of top NasTrials in the requested page. NasTrialDetails []*GoogleCloudAiplatformV1NasTrialDetail `json:"nasTrialDetails,omitempty"` // NextPageToken: A token to retrieve the next page of results. Pass to // ListNasTrialDetailsRequest.page_token to obtain that page. NextPageToken string `json:"nextPageToken,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "NasTrialDetails") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "NasTrialDetails") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ListNasTrialDetailsResponse) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ListNotebookRuntimeTemplatesResponse: Response message for NotebookService.ListNotebookRuntimeTemplates.
type GoogleCloudAiplatformV1ListNotebookRuntimeTemplatesResponse struct { // NextPageToken: A token to retrieve next page of results. Pass to // ListNotebookRuntimeTemplatesRequest.page_token to obtain that page. NextPageToken string `json:"nextPageToken,omitempty"` // NotebookRuntimeTemplates: List of NotebookRuntimeTemplates in the requested // page. NotebookRuntimeTemplates []*GoogleCloudAiplatformV1NotebookRuntimeTemplate `json:"notebookRuntimeTemplates,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "NextPageToken") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "NextPageToken") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ListNotebookRuntimeTemplatesResponse) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ListNotebookRuntimesResponse: Response message for NotebookService.ListNotebookRuntimes.
type GoogleCloudAiplatformV1ListNotebookRuntimesResponse struct { // NextPageToken: A token to retrieve next page of results. Pass to // ListNotebookRuntimesRequest.page_token to obtain that page. NextPageToken string `json:"nextPageToken,omitempty"` // NotebookRuntimes: List of NotebookRuntimes in the requested page. NotebookRuntimes []*GoogleCloudAiplatformV1NotebookRuntime `json:"notebookRuntimes,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "NextPageToken") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "NextPageToken") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ListNotebookRuntimesResponse) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ListOptimalTrialsRequest: Request message for VizierService.ListOptimalTrials.
type GoogleCloudAiplatformV1ListOptimalTrialsRequest struct { }
GoogleCloudAiplatformV1ListOptimalTrialsResponse: Response message for VizierService.ListOptimalTrials.
type GoogleCloudAiplatformV1ListOptimalTrialsResponse struct { // OptimalTrials: The pareto-optimal Trials for multiple objective Study or the // optimal trial for single objective Study. The definition of pareto-optimal // can be checked in wiki page. https://en.wikipedia.org/wiki/Pareto_efficiency OptimalTrials []*GoogleCloudAiplatformV1Trial `json:"optimalTrials,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "OptimalTrials") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "OptimalTrials") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ListOptimalTrialsResponse) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ListPersistentResourcesResponse: Response message for PersistentResourceService.ListPersistentResources
type GoogleCloudAiplatformV1ListPersistentResourcesResponse struct { // NextPageToken: A token to retrieve next page of results. Pass to // ListPersistentResourcesRequest.page_token to obtain that page. NextPageToken string `json:"nextPageToken,omitempty"` PersistentResources []*GoogleCloudAiplatformV1PersistentResource `json:"persistentResources,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "NextPageToken") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "NextPageToken") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ListPersistentResourcesResponse) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ListPipelineJobsResponse: Response message for PipelineService.ListPipelineJobs
type GoogleCloudAiplatformV1ListPipelineJobsResponse struct { // NextPageToken: A token to retrieve the next page of results. Pass to // ListPipelineJobsRequest.page_token to obtain that page. NextPageToken string `json:"nextPageToken,omitempty"` // PipelineJobs: List of PipelineJobs in the requested page. PipelineJobs []*GoogleCloudAiplatformV1PipelineJob `json:"pipelineJobs,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "NextPageToken") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "NextPageToken") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ListPipelineJobsResponse) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ListSavedQueriesResponse: Response message for DatasetService.ListSavedQueries.
type GoogleCloudAiplatformV1ListSavedQueriesResponse struct { // NextPageToken: The standard List next-page token. NextPageToken string `json:"nextPageToken,omitempty"` // SavedQueries: A list of SavedQueries that match the specified filter in the // request. SavedQueries []*GoogleCloudAiplatformV1SavedQuery `json:"savedQueries,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "NextPageToken") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "NextPageToken") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ListSavedQueriesResponse) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ListSchedulesResponse: Response message for ScheduleService.ListSchedules
type GoogleCloudAiplatformV1ListSchedulesResponse struct { // NextPageToken: A token to retrieve the next page of results. Pass to // ListSchedulesRequest.page_token to obtain that page. NextPageToken string `json:"nextPageToken,omitempty"` // Schedules: List of Schedules in the requested page. Schedules []*GoogleCloudAiplatformV1Schedule `json:"schedules,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "NextPageToken") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "NextPageToken") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ListSchedulesResponse) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ListSpecialistPoolsResponse: Response message for SpecialistPoolService.ListSpecialistPools.
type GoogleCloudAiplatformV1ListSpecialistPoolsResponse struct { // NextPageToken: The standard List next-page token. NextPageToken string `json:"nextPageToken,omitempty"` // SpecialistPools: A list of SpecialistPools that matches the specified filter // in the request. SpecialistPools []*GoogleCloudAiplatformV1SpecialistPool `json:"specialistPools,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "NextPageToken") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "NextPageToken") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ListSpecialistPoolsResponse) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ListStudiesResponse: Response message for VizierService.ListStudies.
type GoogleCloudAiplatformV1ListStudiesResponse struct { // NextPageToken: Passes this token as the `page_token` field of the request // for a subsequent call. If this field is omitted, there are no subsequent // pages. NextPageToken string `json:"nextPageToken,omitempty"` // Studies: The studies associated with the project. Studies []*GoogleCloudAiplatformV1Study `json:"studies,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "NextPageToken") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "NextPageToken") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ListStudiesResponse) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ListTensorboardExperimentsResponse: Response message for TensorboardService.ListTensorboardExperiments.
type GoogleCloudAiplatformV1ListTensorboardExperimentsResponse struct { // NextPageToken: A token, which can be sent as // ListTensorboardExperimentsRequest.page_token to retrieve the next page. If // this field is omitted, there are no subsequent pages. NextPageToken string `json:"nextPageToken,omitempty"` // TensorboardExperiments: The TensorboardExperiments mathching the request. TensorboardExperiments []*GoogleCloudAiplatformV1TensorboardExperiment `json:"tensorboardExperiments,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "NextPageToken") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "NextPageToken") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ListTensorboardExperimentsResponse) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ListTensorboardRunsResponse: Response message for TensorboardService.ListTensorboardRuns.
type GoogleCloudAiplatformV1ListTensorboardRunsResponse struct { // NextPageToken: A token, which can be sent as // ListTensorboardRunsRequest.page_token to retrieve the next page. If this // field is omitted, there are no subsequent pages. NextPageToken string `json:"nextPageToken,omitempty"` // TensorboardRuns: The TensorboardRuns mathching the request. TensorboardRuns []*GoogleCloudAiplatformV1TensorboardRun `json:"tensorboardRuns,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "NextPageToken") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "NextPageToken") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ListTensorboardRunsResponse) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ListTensorboardTimeSeriesResponse: Response message for TensorboardService.ListTensorboardTimeSeries.
type GoogleCloudAiplatformV1ListTensorboardTimeSeriesResponse struct { // NextPageToken: A token, which can be sent as // ListTensorboardTimeSeriesRequest.page_token to retrieve the next page. If // this field is omitted, there are no subsequent pages. NextPageToken string `json:"nextPageToken,omitempty"` // TensorboardTimeSeries: The TensorboardTimeSeries mathching the request. TensorboardTimeSeries []*GoogleCloudAiplatformV1TensorboardTimeSeries `json:"tensorboardTimeSeries,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "NextPageToken") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "NextPageToken") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ListTensorboardTimeSeriesResponse) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ListTensorboardsResponse: Response message for TensorboardService.ListTensorboards.
type GoogleCloudAiplatformV1ListTensorboardsResponse struct { // NextPageToken: A token, which can be sent as // ListTensorboardsRequest.page_token to retrieve the next page. If this field // is omitted, there are no subsequent pages. NextPageToken string `json:"nextPageToken,omitempty"` // Tensorboards: The Tensorboards mathching the request. Tensorboards []*GoogleCloudAiplatformV1Tensorboard `json:"tensorboards,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "NextPageToken") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "NextPageToken") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ListTensorboardsResponse) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ListTrainingPipelinesResponse: Response message for PipelineService.ListTrainingPipelines
type GoogleCloudAiplatformV1ListTrainingPipelinesResponse struct { // NextPageToken: A token to retrieve the next page of results. Pass to // ListTrainingPipelinesRequest.page_token to obtain that page. NextPageToken string `json:"nextPageToken,omitempty"` // TrainingPipelines: List of TrainingPipelines in the requested page. TrainingPipelines []*GoogleCloudAiplatformV1TrainingPipeline `json:"trainingPipelines,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "NextPageToken") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "NextPageToken") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ListTrainingPipelinesResponse) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ListTrialsResponse: Response message for VizierService.ListTrials.
type GoogleCloudAiplatformV1ListTrialsResponse struct { // NextPageToken: Pass this token as the `page_token` field of the request for // a subsequent call. If this field is omitted, there are no subsequent pages. NextPageToken string `json:"nextPageToken,omitempty"` // Trials: The Trials associated with the Study. Trials []*GoogleCloudAiplatformV1Trial `json:"trials,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "NextPageToken") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "NextPageToken") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ListTrialsResponse) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ListTuningJobsResponse: Response message for GenAiTuningService.ListTuningJobs
type GoogleCloudAiplatformV1ListTuningJobsResponse struct { // NextPageToken: A token to retrieve the next page of results. Pass to // ListTuningJobsRequest.page_token to obtain that page. NextPageToken string `json:"nextPageToken,omitempty"` // TuningJobs: List of TuningJobs in the requested page. TuningJobs []*GoogleCloudAiplatformV1TuningJob `json:"tuningJobs,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "NextPageToken") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "NextPageToken") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ListTuningJobsResponse) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1LookupStudyRequest: Request message for VizierService.LookupStudy.
type GoogleCloudAiplatformV1LookupStudyRequest struct { // DisplayName: Required. The user-defined display name of the Study DisplayName string `json:"displayName,omitempty"` // ForceSendFields is a list of field names (e.g. "DisplayName") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DisplayName") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1LookupStudyRequest) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1MachineSpec: Specification of a single machine.
type GoogleCloudAiplatformV1MachineSpec struct { // AcceleratorCount: The number of accelerators to attach to the machine. AcceleratorCount int64 `json:"acceleratorCount,omitempty"` // AcceleratorType: Immutable. The type of accelerator(s) that may be attached // to the machine as per accelerator_count. // // Possible values: // "ACCELERATOR_TYPE_UNSPECIFIED" - Unspecified accelerator type, which means // no accelerator. // "NVIDIA_TESLA_K80" - Nvidia Tesla K80 GPU. // "NVIDIA_TESLA_P100" - Nvidia Tesla P100 GPU. // "NVIDIA_TESLA_V100" - Nvidia Tesla V100 GPU. // "NVIDIA_TESLA_P4" - Nvidia Tesla P4 GPU. // "NVIDIA_TESLA_T4" - Nvidia Tesla T4 GPU. // "NVIDIA_TESLA_A100" - Nvidia Tesla A100 GPU. // "NVIDIA_A100_80GB" - Nvidia A100 80GB GPU. // "NVIDIA_L4" - Nvidia L4 GPU. // "NVIDIA_H100_80GB" - Nvidia H100 80Gb GPU. // "TPU_V2" - TPU v2. // "TPU_V3" - TPU v3. // "TPU_V4_POD" - TPU v4. // "TPU_V5_LITEPOD" - TPU v5. AcceleratorType string `json:"acceleratorType,omitempty"` // MachineType: Immutable. The type of the machine. See the list of machine // types supported for prediction // (https://cloud.google.com/vertex-ai/docs/predictions/configure-compute#machine-types) // See the list of machine types supported for custom training // (https://cloud.google.com/vertex-ai/docs/training/configure-compute#machine-types). // For DeployedModel this field is optional, and the default value is // `n1-standard-2`. For BatchPredictionJob or as part of WorkerPoolSpec this // field is required. MachineType string `json:"machineType,omitempty"` // TpuTopology: Immutable. The topology of the TPUs. Corresponds to the TPU // topologies available from GKE. (Example: tpu_topology: "2x2x1"). TpuTopology string `json:"tpuTopology,omitempty"` // ForceSendFields is a list of field names (e.g. "AcceleratorCount") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AcceleratorCount") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1MachineSpec) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ManualBatchTuningParameters: Manual batch tuning parameters.
type GoogleCloudAiplatformV1ManualBatchTuningParameters struct { // BatchSize: Immutable. The number of the records (e.g. instances) of the // operation given in each batch to a machine replica. Machine type, and size // of a single record should be considered when setting this parameter, higher // value speeds up the batch operation's execution, but too high value will // result in a whole batch not fitting in a machine's memory, and the whole // operation will fail. The default value is 64. BatchSize int64 `json:"batchSize,omitempty"` // ForceSendFields is a list of field names (e.g. "BatchSize") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BatchSize") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ManualBatchTuningParameters) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1Measurement: A message representing a Measurement of a Trial. A Measurement contains the Metrics got by executing a Trial using suggested hyperparameter values.
type GoogleCloudAiplatformV1Measurement struct { // ElapsedDuration: Output only. Time that the Trial has been running at the // point of this Measurement. ElapsedDuration string `json:"elapsedDuration,omitempty"` // Metrics: Output only. A list of metrics got by evaluating the objective // functions using suggested Parameter values. Metrics []*GoogleCloudAiplatformV1MeasurementMetric `json:"metrics,omitempty"` // StepCount: Output only. The number of steps the machine learning model has // been trained for. Must be non-negative. StepCount int64 `json:"stepCount,omitempty,string"` // ForceSendFields is a list of field names (e.g. "ElapsedDuration") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ElapsedDuration") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1Measurement) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1MeasurementMetric: A message representing a metric in the measurement.
type GoogleCloudAiplatformV1MeasurementMetric struct { // MetricId: Output only. The ID of the Metric. The Metric should be defined in // StudySpec's Metrics. MetricId string `json:"metricId,omitempty"` // Value: Output only. The value for this metric. Value float64 `json:"value,omitempty"` // ForceSendFields is a list of field names (e.g. "MetricId") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "MetricId") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1MeasurementMetric) MarshalJSON() ([]byte, error)
func (s *GoogleCloudAiplatformV1MeasurementMetric) UnmarshalJSON(data []byte) error
GoogleCloudAiplatformV1MergeVersionAliasesRequest: Request message for ModelService.MergeVersionAliases.
type GoogleCloudAiplatformV1MergeVersionAliasesRequest struct { // VersionAliases: Required. The set of version aliases to merge. The alias // should be at most 128 characters, and match `a-z{0,126}[a-z-0-9]`. Add the // `-` prefix to an alias means removing that alias from the version. `-` is // NOT counted in the 128 characters. Example: `-golden` means removing the // `golden` alias from the version. There is NO ordering in aliases, which // means 1) The aliases returned from GetModel API might not have the exactly // same order from this MergeVersionAliases API. 2) Adding and deleting the // same alias in the request is not recommended, and the 2 operations will be // cancelled out. VersionAliases []string `json:"versionAliases,omitempty"` // ForceSendFields is a list of field names (e.g. "VersionAliases") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "VersionAliases") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1MergeVersionAliasesRequest) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1MetadataSchema: Instance of a general MetadataSchema.
type GoogleCloudAiplatformV1MetadataSchema struct { // CreateTime: Output only. Timestamp when this MetadataSchema was created. CreateTime string `json:"createTime,omitempty"` // Description: Description of the Metadata Schema Description string `json:"description,omitempty"` // Name: Output only. The resource name of the MetadataSchema. Name string `json:"name,omitempty"` // Schema: Required. The raw YAML string representation of the MetadataSchema. // The combination of [MetadataSchema.version] and the schema name given by // `title` in [MetadataSchema.schema] must be unique within a MetadataStore. // The schema is defined as an OpenAPI 3.0.2 MetadataSchema Object // (https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.2.md#schemaObject) Schema string `json:"schema,omitempty"` // SchemaType: The type of the MetadataSchema. This is a property that // identifies which metadata types will use the MetadataSchema. // // Possible values: // "METADATA_SCHEMA_TYPE_UNSPECIFIED" - Unspecified type for the // MetadataSchema. // "ARTIFACT_TYPE" - A type indicating that the MetadataSchema will be used // by Artifacts. // "EXECUTION_TYPE" - A typee indicating that the MetadataSchema will be used // by Executions. // "CONTEXT_TYPE" - A state indicating that the MetadataSchema will be used // by Contexts. SchemaType string `json:"schemaType,omitempty"` // SchemaVersion: The version of the MetadataSchema. The version's format must // match the following regular expression: `^[0-9]+.+.+$`, which would allow to // order/compare different versions. Example: 1.0.0, 1.0.1, etc. SchemaVersion string `json:"schemaVersion,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "CreateTime") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CreateTime") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1MetadataSchema) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1MetadataStore: Instance of a metadata store. Contains a set of metadata that can be queried.
type GoogleCloudAiplatformV1MetadataStore struct { // CreateTime: Output only. Timestamp when this MetadataStore was created. CreateTime string `json:"createTime,omitempty"` // Description: Description of the MetadataStore. Description string `json:"description,omitempty"` // EncryptionSpec: Customer-managed encryption key spec for a Metadata Store. // If set, this Metadata Store and all sub-resources of this Metadata Store are // secured using this key. EncryptionSpec *GoogleCloudAiplatformV1EncryptionSpec `json:"encryptionSpec,omitempty"` // Name: Output only. The resource name of the MetadataStore instance. Name string `json:"name,omitempty"` // State: Output only. State information of the MetadataStore. State *GoogleCloudAiplatformV1MetadataStoreMetadataStoreState `json:"state,omitempty"` // UpdateTime: Output only. Timestamp when this MetadataStore was last updated. UpdateTime string `json:"updateTime,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "CreateTime") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CreateTime") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1MetadataStore) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1MetadataStoreMetadataStoreState: Represents state information for a MetadataStore.
type GoogleCloudAiplatformV1MetadataStoreMetadataStoreState struct { // DiskUtilizationBytes: The disk utilization of the MetadataStore in bytes. DiskUtilizationBytes int64 `json:"diskUtilizationBytes,omitempty,string"` // ForceSendFields is a list of field names (e.g. "DiskUtilizationBytes") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DiskUtilizationBytes") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1MetadataStoreMetadataStoreState) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1MigratableResource: Represents one resource that exists in automl.googleapis.com, datalabeling.googleapis.com or ml.googleapis.com.
type GoogleCloudAiplatformV1MigratableResource struct { // AutomlDataset: Output only. Represents one Dataset in automl.googleapis.com. AutomlDataset *GoogleCloudAiplatformV1MigratableResourceAutomlDataset `json:"automlDataset,omitempty"` // AutomlModel: Output only. Represents one Model in automl.googleapis.com. AutomlModel *GoogleCloudAiplatformV1MigratableResourceAutomlModel `json:"automlModel,omitempty"` // DataLabelingDataset: Output only. Represents one Dataset in // datalabeling.googleapis.com. DataLabelingDataset *GoogleCloudAiplatformV1MigratableResourceDataLabelingDataset `json:"dataLabelingDataset,omitempty"` // LastMigrateTime: Output only. Timestamp when the last migration attempt on // this MigratableResource started. Will not be set if there's no migration // attempt on this MigratableResource. LastMigrateTime string `json:"lastMigrateTime,omitempty"` // LastUpdateTime: Output only. Timestamp when this MigratableResource was last // updated. LastUpdateTime string `json:"lastUpdateTime,omitempty"` // MlEngineModelVersion: Output only. Represents one Version in // ml.googleapis.com. MlEngineModelVersion *GoogleCloudAiplatformV1MigratableResourceMlEngineModelVersion `json:"mlEngineModelVersion,omitempty"` // ForceSendFields is a list of field names (e.g. "AutomlDataset") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AutomlDataset") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1MigratableResource) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1MigratableResourceAutomlDataset: Represents one Dataset in automl.googleapis.com.
type GoogleCloudAiplatformV1MigratableResourceAutomlDataset struct { // Dataset: Full resource name of automl Dataset. Format: // `projects/{project}/locations/{location}/datasets/{dataset}`. Dataset string `json:"dataset,omitempty"` // DatasetDisplayName: The Dataset's display name in automl.googleapis.com. DatasetDisplayName string `json:"datasetDisplayName,omitempty"` // ForceSendFields is a list of field names (e.g. "Dataset") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Dataset") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1MigratableResourceAutomlDataset) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1MigratableResourceAutomlModel: Represents one Model in automl.googleapis.com.
type GoogleCloudAiplatformV1MigratableResourceAutomlModel struct { // Model: Full resource name of automl Model. Format: // `projects/{project}/locations/{location}/models/{model}`. Model string `json:"model,omitempty"` // ModelDisplayName: The Model's display name in automl.googleapis.com. ModelDisplayName string `json:"modelDisplayName,omitempty"` // ForceSendFields is a list of field names (e.g. "Model") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Model") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1MigratableResourceAutomlModel) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1MigratableResourceDataLabelingDataset: Represents one Dataset in datalabeling.googleapis.com.
type GoogleCloudAiplatformV1MigratableResourceDataLabelingDataset struct { // DataLabelingAnnotatedDatasets: The migratable AnnotatedDataset in // datalabeling.googleapis.com belongs to the data labeling Dataset. DataLabelingAnnotatedDatasets []*GoogleCloudAiplatformV1MigratableResourceDataLabelingDatasetDataLabelingAnnotatedDataset `json:"dataLabelingAnnotatedDatasets,omitempty"` // Dataset: Full resource name of data labeling Dataset. Format: // `projects/{project}/datasets/{dataset}`. Dataset string `json:"dataset,omitempty"` // DatasetDisplayName: The Dataset's display name in // datalabeling.googleapis.com. DatasetDisplayName string `json:"datasetDisplayName,omitempty"` // ForceSendFields is a list of field names (e.g. // "DataLabelingAnnotatedDatasets") to unconditionally include in API requests. // By default, fields with empty or default values are omitted from API // requests. See https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields // for more details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DataLabelingAnnotatedDatasets") // to include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1MigratableResourceDataLabelingDataset) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1MigratableResourceDataLabelingDatasetDataLabelingAnnot atedDataset: Represents one AnnotatedDataset in datalabeling.googleapis.com.
type GoogleCloudAiplatformV1MigratableResourceDataLabelingDatasetDataLabelingAnnotatedDataset struct { // AnnotatedDataset: Full resource name of data labeling AnnotatedDataset. // Format: // `projects/{project}/datasets/{dataset}/annotatedDatasets/{annotated_dataset}` // . AnnotatedDataset string `json:"annotatedDataset,omitempty"` // AnnotatedDatasetDisplayName: The AnnotatedDataset's display name in // datalabeling.googleapis.com. AnnotatedDatasetDisplayName string `json:"annotatedDatasetDisplayName,omitempty"` // ForceSendFields is a list of field names (e.g. "AnnotatedDataset") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AnnotatedDataset") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1MigratableResourceDataLabelingDatasetDataLabelingAnnotatedDataset) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1MigratableResourceMlEngineModelVersion: Represents one model Version in ml.googleapis.com.
type GoogleCloudAiplatformV1MigratableResourceMlEngineModelVersion struct { // Endpoint: The ml.googleapis.com endpoint that this model Version currently // lives in. Example values: * ml.googleapis.com * // us-centrall-ml.googleapis.com * europe-west4-ml.googleapis.com * // asia-east1-ml.googleapis.com Endpoint string `json:"endpoint,omitempty"` // Version: Full resource name of ml engine model Version. Format: // `projects/{project}/models/{model}/versions/{version}`. Version string `json:"version,omitempty"` // ForceSendFields is a list of field names (e.g. "Endpoint") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Endpoint") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1MigratableResourceMlEngineModelVersion) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1MigrateResourceRequest: Config of migrating one resource from automl.googleapis.com, datalabeling.googleapis.com and ml.googleapis.com to Vertex AI.
type GoogleCloudAiplatformV1MigrateResourceRequest struct { // MigrateAutomlDatasetConfig: Config for migrating Dataset in // automl.googleapis.com to Vertex AI's Dataset. MigrateAutomlDatasetConfig *GoogleCloudAiplatformV1MigrateResourceRequestMigrateAutomlDatasetConfig `json:"migrateAutomlDatasetConfig,omitempty"` // MigrateAutomlModelConfig: Config for migrating Model in // automl.googleapis.com to Vertex AI's Model. MigrateAutomlModelConfig *GoogleCloudAiplatformV1MigrateResourceRequestMigrateAutomlModelConfig `json:"migrateAutomlModelConfig,omitempty"` // MigrateDataLabelingDatasetConfig: Config for migrating Dataset in // datalabeling.googleapis.com to Vertex AI's Dataset. MigrateDataLabelingDatasetConfig *GoogleCloudAiplatformV1MigrateResourceRequestMigrateDataLabelingDatasetConfig `json:"migrateDataLabelingDatasetConfig,omitempty"` // MigrateMlEngineModelVersionConfig: Config for migrating Version in // ml.googleapis.com to Vertex AI's Model. MigrateMlEngineModelVersionConfig *GoogleCloudAiplatformV1MigrateResourceRequestMigrateMlEngineModelVersionConfig `json:"migrateMlEngineModelVersionConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "MigrateAutomlDatasetConfig") // to unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "MigrateAutomlDatasetConfig") to // include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1MigrateResourceRequest) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1MigrateResourceRequestMigrateAutomlDatasetConfig: Config for migrating Dataset in automl.googleapis.com to Vertex AI's Dataset.
type GoogleCloudAiplatformV1MigrateResourceRequestMigrateAutomlDatasetConfig struct { // Dataset: Required. Full resource name of automl Dataset. Format: // `projects/{project}/locations/{location}/datasets/{dataset}`. Dataset string `json:"dataset,omitempty"` // DatasetDisplayName: Required. Display name of the Dataset in Vertex AI. // System will pick a display name if unspecified. DatasetDisplayName string `json:"datasetDisplayName,omitempty"` // ForceSendFields is a list of field names (e.g. "Dataset") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Dataset") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1MigrateResourceRequestMigrateAutomlDatasetConfig) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1MigrateResourceRequestMigrateAutomlModelConfig: Config for migrating Model in automl.googleapis.com to Vertex AI's Model.
type GoogleCloudAiplatformV1MigrateResourceRequestMigrateAutomlModelConfig struct { // Model: Required. Full resource name of automl Model. Format: // `projects/{project}/locations/{location}/models/{model}`. Model string `json:"model,omitempty"` // ModelDisplayName: Optional. Display name of the model in Vertex AI. System // will pick a display name if unspecified. ModelDisplayName string `json:"modelDisplayName,omitempty"` // ForceSendFields is a list of field names (e.g. "Model") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Model") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1MigrateResourceRequestMigrateAutomlModelConfig) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1MigrateResourceRequestMigrateDataLabelingDatasetConfig : Config for migrating Dataset in datalabeling.googleapis.com to Vertex AI's Dataset.
type GoogleCloudAiplatformV1MigrateResourceRequestMigrateDataLabelingDatasetConfig struct { // Dataset: Required. Full resource name of data labeling Dataset. Format: // `projects/{project}/datasets/{dataset}`. Dataset string `json:"dataset,omitempty"` // DatasetDisplayName: Optional. Display name of the Dataset in Vertex AI. // System will pick a display name if unspecified. DatasetDisplayName string `json:"datasetDisplayName,omitempty"` // MigrateDataLabelingAnnotatedDatasetConfigs: Optional. Configs for migrating // AnnotatedDataset in datalabeling.googleapis.com to Vertex AI's SavedQuery. // The specified AnnotatedDatasets have to belong to the datalabeling Dataset. MigrateDataLabelingAnnotatedDatasetConfigs []*GoogleCloudAiplatformV1MigrateResourceRequestMigrateDataLabelingDatasetConfigMigrateDataLabelingAnnotatedDatasetConfig `json:"migrateDataLabelingAnnotatedDatasetConfigs,omitempty"` // ForceSendFields is a list of field names (e.g. "Dataset") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Dataset") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1MigrateResourceRequestMigrateDataLabelingDatasetConfig) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1MigrateResourceRequestMigrateDataLabelingDatasetConfig MigrateDataLabelingAnnotatedDatasetConfig: Config for migrating AnnotatedDataset in datalabeling.googleapis.com to Vertex AI's SavedQuery.
type GoogleCloudAiplatformV1MigrateResourceRequestMigrateDataLabelingDatasetConfigMigrateDataLabelingAnnotatedDatasetConfig struct { // AnnotatedDataset: Required. Full resource name of data labeling // AnnotatedDataset. Format: // `projects/{project}/datasets/{dataset}/annotatedDatasets/{annotated_dataset}` // . AnnotatedDataset string `json:"annotatedDataset,omitempty"` // ForceSendFields is a list of field names (e.g. "AnnotatedDataset") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AnnotatedDataset") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1MigrateResourceRequestMigrateDataLabelingDatasetConfigMigrateDataLabelingAnnotatedDatasetConfig) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1MigrateResourceRequestMigrateMlEngineModelVersionConfi g: Config for migrating version in ml.googleapis.com to Vertex AI's Model.
type GoogleCloudAiplatformV1MigrateResourceRequestMigrateMlEngineModelVersionConfig struct { // Endpoint: Required. The ml.googleapis.com endpoint that this model version // should be migrated from. Example values: * ml.googleapis.com * // us-centrall-ml.googleapis.com * europe-west4-ml.googleapis.com * // asia-east1-ml.googleapis.com Endpoint string `json:"endpoint,omitempty"` // ModelDisplayName: Required. Display name of the model in Vertex AI. System // will pick a display name if unspecified. ModelDisplayName string `json:"modelDisplayName,omitempty"` // ModelVersion: Required. Full resource name of ml engine model version. // Format: `projects/{project}/models/{model}/versions/{version}`. ModelVersion string `json:"modelVersion,omitempty"` // ForceSendFields is a list of field names (e.g. "Endpoint") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Endpoint") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1MigrateResourceRequestMigrateMlEngineModelVersionConfig) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1MigrateResourceResponse: Describes a successfully migrated resource.
type GoogleCloudAiplatformV1MigrateResourceResponse struct { // Dataset: Migrated Dataset's resource name. Dataset string `json:"dataset,omitempty"` // MigratableResource: Before migration, the identifier in ml.googleapis.com, // automl.googleapis.com or datalabeling.googleapis.com. MigratableResource *GoogleCloudAiplatformV1MigratableResource `json:"migratableResource,omitempty"` // Model: Migrated Model's resource name. Model string `json:"model,omitempty"` // ForceSendFields is a list of field names (e.g. "Dataset") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Dataset") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1MigrateResourceResponse) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1Model: A trained machine learning Model.
type GoogleCloudAiplatformV1Model struct { // ArtifactUri: Immutable. The path to the directory containing the Model // artifact and any of its supporting files. Not required for AutoML Models. ArtifactUri string `json:"artifactUri,omitempty"` // BaseModelSource: Optional. User input field to specify the base model // source. Currently it only supports specifing the Model Garden models and // Genie models. BaseModelSource *GoogleCloudAiplatformV1ModelBaseModelSource `json:"baseModelSource,omitempty"` // ContainerSpec: Input only. The specification of the container that is to be // used when deploying this Model. The specification is ingested upon // ModelService.UploadModel, and all binaries it contains are copied and stored // internally by Vertex AI. Not required for AutoML Models. ContainerSpec *GoogleCloudAiplatformV1ModelContainerSpec `json:"containerSpec,omitempty"` // CreateTime: Output only. Timestamp when this Model was uploaded into Vertex // AI. CreateTime string `json:"createTime,omitempty"` // DataStats: Stats of data used for training or evaluating the Model. Only // populated when the Model is trained by a TrainingPipeline with // data_input_config. DataStats *GoogleCloudAiplatformV1ModelDataStats `json:"dataStats,omitempty"` // DeployedModels: Output only. The pointers to DeployedModels created from // this Model. Note that Model could have been deployed to Endpoints in // different Locations. DeployedModels []*GoogleCloudAiplatformV1DeployedModelRef `json:"deployedModels,omitempty"` // Description: The description of the Model. Description string `json:"description,omitempty"` // DisplayName: Required. The display name of the Model. The name can be up to // 128 characters long and can consist of any UTF-8 characters. DisplayName string `json:"displayName,omitempty"` // EncryptionSpec: Customer-managed encryption key spec for a Model. If set, // this Model and all sub-resources of this Model will be secured by this key. EncryptionSpec *GoogleCloudAiplatformV1EncryptionSpec `json:"encryptionSpec,omitempty"` // Etag: Used to perform consistent read-modify-write updates. If not set, a // blind "overwrite" update happens. Etag string `json:"etag,omitempty"` // ExplanationSpec: The default explanation specification for this Model. The // Model can be used for requesting explanation after being deployed if it is // populated. The Model can be used for batch explanation if it is populated. // All fields of the explanation_spec can be overridden by explanation_spec of // DeployModelRequest.deployed_model, or explanation_spec of // BatchPredictionJob. If the default explanation specification is not set for // this Model, this Model can still be used for requesting explanation by // setting explanation_spec of DeployModelRequest.deployed_model and for batch // explanation by setting explanation_spec of BatchPredictionJob. ExplanationSpec *GoogleCloudAiplatformV1ExplanationSpec `json:"explanationSpec,omitempty"` // Labels: The labels with user-defined metadata to organize your Models. Label // keys and values can be no longer than 64 characters (Unicode codepoints), // can only contain lowercase letters, numeric characters, underscores and // dashes. International characters are allowed. See https://goo.gl/xmQnxf for // more information and examples of labels. Labels map[string]string `json:"labels,omitempty"` // Metadata: Immutable. An additional information about the Model; the schema // of the metadata can be found in metadata_schema. Unset if the Model does not // have any additional information. Metadata interface{} `json:"metadata,omitempty"` // MetadataArtifact: Output only. The resource name of the Artifact that was // created in MetadataStore when creating the Model. The Artifact resource name // pattern is // `projects/{project}/locations/{location}/metadataStores/{metadata_store}/arti // facts/{artifact}`. MetadataArtifact string `json:"metadataArtifact,omitempty"` // MetadataSchemaUri: Immutable. Points to a YAML file stored on Google Cloud // Storage describing additional information about the Model, that is specific // to it. Unset if the Model does not have any additional information. The // schema is defined as an OpenAPI 3.0.2 Schema Object // (https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject). // AutoML Models always have this field populated by Vertex AI, if no // additional metadata is needed, this field is set to an empty string. Note: // The URI given on output will be immutable and probably different, including // the URI scheme, than the one given on input. The output URI will point to a // location where the user only has a read access. MetadataSchemaUri string `json:"metadataSchemaUri,omitempty"` // ModelSourceInfo: Output only. Source of a model. It can either be automl // training pipeline, custom training pipeline, BigQuery ML, or saved and tuned // from Genie or Model Garden. ModelSourceInfo *GoogleCloudAiplatformV1ModelSourceInfo `json:"modelSourceInfo,omitempty"` // Name: The resource name of the Model. Name string `json:"name,omitempty"` // OriginalModelInfo: Output only. If this Model is a copy of another Model, // this contains info about the original. OriginalModelInfo *GoogleCloudAiplatformV1ModelOriginalModelInfo `json:"originalModelInfo,omitempty"` // PipelineJob: Optional. This field is populated if the model is produced by a // pipeline job. PipelineJob string `json:"pipelineJob,omitempty"` // PredictSchemata: The schemata that describe formats of the Model's // predictions and explanations as given and returned via // PredictionService.Predict and PredictionService.Explain. PredictSchemata *GoogleCloudAiplatformV1PredictSchemata `json:"predictSchemata,omitempty"` // SupportedDeploymentResourcesTypes: Output only. When this Model is deployed, // its prediction resources are described by the `prediction_resources` field // of the Endpoint.deployed_models object. Because not all Models support all // resource configuration types, the configuration types this Model supports // are listed here. If no configuration types are listed, the Model cannot be // deployed to an Endpoint and does not support online predictions // (PredictionService.Predict or PredictionService.Explain). Such a Model can // serve predictions by using a BatchPredictionJob, if it has at least one // entry each in supported_input_storage_formats and // supported_output_storage_formats. // // Possible values: // "DEPLOYMENT_RESOURCES_TYPE_UNSPECIFIED" - Should not be used. // "DEDICATED_RESOURCES" - Resources that are dedicated to the DeployedModel, // and that need a higher degree of manual configuration. // "AUTOMATIC_RESOURCES" - Resources that to large degree are decided by // Vertex AI, and require only a modest additional configuration. // "SHARED_RESOURCES" - Resources that can be shared by multiple // DeployedModels. A pre-configured DeploymentResourcePool is required. SupportedDeploymentResourcesTypes []string `json:"supportedDeploymentResourcesTypes,omitempty"` // SupportedExportFormats: Output only. The formats in which this Model may be // exported. If empty, this Model is not available for export. SupportedExportFormats []*GoogleCloudAiplatformV1ModelExportFormat `json:"supportedExportFormats,omitempty"` // SupportedInputStorageFormats: Output only. The formats this Model supports // in BatchPredictionJob.input_config. If PredictSchemata.instance_schema_uri // exists, the instances should be given as per that schema. The possible // formats are: * `jsonl` The JSON Lines format, where each instance is a // single line. Uses GcsSource. * `csv` The CSV format, where each instance is // a single comma-separated line. The first line in the file is the header, // containing comma-separated field names. Uses GcsSource. * `tf-record` The // TFRecord format, where each instance is a single record in tfrecord syntax. // Uses GcsSource. * `tf-record-gzip` Similar to `tf-record`, but the file is // gzipped. Uses GcsSource. * `bigquery` Each instance is a single row in // BigQuery. Uses BigQuerySource. * `file-list` Each line of the file is the // location of an instance to process, uses `gcs_source` field of the // InputConfig object. If this Model doesn't support any of these formats it // means it cannot be used with a BatchPredictionJob. However, if it has // supported_deployment_resources_types, it could serve online predictions by // using PredictionService.Predict or PredictionService.Explain. SupportedInputStorageFormats []string `json:"supportedInputStorageFormats,omitempty"` // SupportedOutputStorageFormats: Output only. The formats this Model supports // in BatchPredictionJob.output_config. If both // PredictSchemata.instance_schema_uri and // PredictSchemata.prediction_schema_uri exist, the predictions are returned // together with their instances. In other words, the prediction has the // original instance data first, followed by the actual prediction content (as // per the schema). The possible formats are: * `jsonl` The JSON Lines format, // where each prediction is a single line. Uses GcsDestination. * `csv` The CSV // format, where each prediction is a single comma-separated line. The first // line in the file is the header, containing comma-separated field names. Uses // GcsDestination. * `bigquery` Each prediction is a single row in a BigQuery // table, uses BigQueryDestination . If this Model doesn't support any of these // formats it means it cannot be used with a BatchPredictionJob. However, if it // has supported_deployment_resources_types, it could serve online predictions // by using PredictionService.Predict or PredictionService.Explain. SupportedOutputStorageFormats []string `json:"supportedOutputStorageFormats,omitempty"` // TrainingPipeline: Output only. The resource name of the TrainingPipeline // that uploaded this Model, if any. TrainingPipeline string `json:"trainingPipeline,omitempty"` // UpdateTime: Output only. Timestamp when this Model was most recently // updated. UpdateTime string `json:"updateTime,omitempty"` // VersionAliases: User provided version aliases so that a model version can be // referenced via alias (i.e. // `projects/{project}/locations/{location}/models/{model_id}@{version_alias}` // instead of auto-generated version id (i.e. // `projects/{project}/locations/{location}/models/{model_id}@{version_id})`. // The format is a-z{0,126}[a-z0-9] to distinguish from version_id. A default // version alias will be created for the first version of the model, and there // must be exactly one default version alias for a model. VersionAliases []string `json:"versionAliases,omitempty"` // VersionCreateTime: Output only. Timestamp when this version was created. VersionCreateTime string `json:"versionCreateTime,omitempty"` // VersionDescription: The description of this version. VersionDescription string `json:"versionDescription,omitempty"` // VersionId: Output only. Immutable. The version ID of the model. A new // version is committed when a new model version is uploaded or trained under // an existing model id. It is an auto-incrementing decimal number in string // representation. VersionId string `json:"versionId,omitempty"` // VersionUpdateTime: Output only. Timestamp when this version was most // recently updated. VersionUpdateTime string `json:"versionUpdateTime,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "ArtifactUri") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ArtifactUri") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1Model) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ModelBaseModelSource: User input field to specify the base model source. Currently it only supports specifing the Model Garden models and Genie models.
type GoogleCloudAiplatformV1ModelBaseModelSource struct { // GenieSource: Information about the base model of Genie models. GenieSource *GoogleCloudAiplatformV1GenieSource `json:"genieSource,omitempty"` // ModelGardenSource: Source information of Model Garden models. ModelGardenSource *GoogleCloudAiplatformV1ModelGardenSource `json:"modelGardenSource,omitempty"` // ForceSendFields is a list of field names (e.g. "GenieSource") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "GenieSource") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ModelBaseModelSource) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ModelContainerSpec: Specification of a container for serving predictions. Some fields in this message correspond to fields in the Kubernetes Container v1 core specification (https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.23/#container-v1-core).
type GoogleCloudAiplatformV1ModelContainerSpec struct { // Args: Immutable. Specifies arguments for the command that runs when the // container starts. This overrides the container's `CMD` // (https://docs.docker.com/engine/reference/builder/#cmd). Specify this field // as an array of executable and arguments, similar to a Docker `CMD`'s // "default parameters" form. If you don't specify this field but do specify // the command field, then the command from the `command` field runs without // any additional arguments. See the Kubernetes documentation about how the // `command` and `args` fields interact with a container's `ENTRYPOINT` and // `CMD` // (https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#notes). // If you don't specify this field and don't specify the `command` field, then // the container's `ENTRYPOINT` // (https://docs.docker.com/engine/reference/builder/#cmd) and `CMD` determine // what runs based on their default behavior. See the Docker documentation // about how `CMD` and `ENTRYPOINT` interact // (https://docs.docker.com/engine/reference/builder/#understand-how-cmd-and-entrypoint-interact). // In this field, you can reference environment variables set by Vertex AI // (https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#aip-variables) // and environment variables set in the env field. You cannot reference // environment variables set in the Docker image. In order for environment // variables to be expanded, reference them by using the following syntax: $( // VARIABLE_NAME) Note that this differs from Bash variable expansion, which // does not use parentheses. If a variable cannot be resolved, the reference in // the input string is used unchanged. To avoid variable expansion, you can // escape this syntax with `$$`; for example: $$(VARIABLE_NAME) This field // corresponds to the `args` field of the Kubernetes Containers v1 core API // (https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.23/#container-v1-core). Args []string `json:"args,omitempty"` // Command: Immutable. Specifies the command that runs when the container // starts. This overrides the container's ENTRYPOINT // (https://docs.docker.com/engine/reference/builder/#entrypoint). Specify this // field as an array of executable and arguments, similar to a Docker // `ENTRYPOINT`'s "exec" form, not its "shell" form. If you do not specify this // field, then the container's `ENTRYPOINT` runs, in conjunction with the args // field or the container's `CMD` // (https://docs.docker.com/engine/reference/builder/#cmd), if either exists. // If this field is not specified and the container does not have an // `ENTRYPOINT`, then refer to the Docker documentation about how `CMD` and // `ENTRYPOINT` interact // (https://docs.docker.com/engine/reference/builder/#understand-how-cmd-and-entrypoint-interact). // If you specify this field, then you can also specify the `args` field to // provide additional arguments for this command. However, if you specify this // field, then the container's `CMD` is ignored. See the Kubernetes // documentation about how the `command` and `args` fields interact with a // container's `ENTRYPOINT` and `CMD` // (https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#notes). // In this field, you can reference environment variables set by Vertex AI // (https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#aip-variables) // and environment variables set in the env field. You cannot reference // environment variables set in the Docker image. In order for environment // variables to be expanded, reference them by using the following syntax: $( // VARIABLE_NAME) Note that this differs from Bash variable expansion, which // does not use parentheses. If a variable cannot be resolved, the reference in // the input string is used unchanged. To avoid variable expansion, you can // escape this syntax with `$$`; for example: $$(VARIABLE_NAME) This field // corresponds to the `command` field of the Kubernetes Containers v1 core API // (https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.23/#container-v1-core). Command []string `json:"command,omitempty"` // DeploymentTimeout: Immutable. Deployment timeout. Limit for deployment // timeout is 2 hours. DeploymentTimeout string `json:"deploymentTimeout,omitempty"` // Env: Immutable. List of environment variables to set in the container. After // the container starts running, code running in the container can read these // environment variables. Additionally, the command and args fields can // reference these variables. Later entries in this list can also reference // earlier entries. For example, the following example sets the variable // `VAR_2` to have the value `foo bar`: ```json [ { "name": "VAR_1", "value": // "foo" }, { "name": "VAR_2", "value": "$(VAR_1) bar" } ] ``` If you switch // the order of the variables in the example, then the expansion does not // occur. This field corresponds to the `env` field of the Kubernetes // Containers v1 core API // (https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.23/#container-v1-core). Env []*GoogleCloudAiplatformV1EnvVar `json:"env,omitempty"` // GrpcPorts: Immutable. List of ports to expose from the container. Vertex AI // sends gRPC prediction requests that it receives to the first port on this // list. Vertex AI also sends liveness and health checks to this port. If you // do not specify this field, gRPC requests to the container will be disabled. // Vertex AI does not use ports other than the first one listed. This field // corresponds to the `ports` field of the Kubernetes Containers v1 core API. GrpcPorts []*GoogleCloudAiplatformV1Port `json:"grpcPorts,omitempty"` // HealthProbe: Immutable. Specification for Kubernetes readiness probe. HealthProbe *GoogleCloudAiplatformV1Probe `json:"healthProbe,omitempty"` // HealthRoute: Immutable. HTTP path on the container to send health checks to. // Vertex AI intermittently sends GET requests to this path on the container's // IP address and port to check that the container is healthy. Read more about // health checks // (https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#health). // For example, if you set this field to `/bar`, then Vertex AI intermittently // sends a GET request to the `/bar` path on the port of your container // specified by the first value of this `ModelContainerSpec`'s ports field. If // you don't specify this field, it defaults to the following value when you // deploy this Model to an Endpoint: /v1/endpoints/ENDPOINT/deployedModels/ // DEPLOYED_MODEL:predict The placeholders in this value are replaced as // follows: * ENDPOINT: The last segment (following `endpoints/`)of the // Endpoint.name][] field of the Endpoint where this Model has been deployed. // (Vertex AI makes this value available to your container code as the // `AIP_ENDPOINT_ID` environment variable // (https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#aip-variables).) // * DEPLOYED_MODEL: DeployedModel.id of the `DeployedModel`. (Vertex AI makes // this value available to your container code as the `AIP_DEPLOYED_MODEL_ID` // environment variable // (https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#aip-variables).) HealthRoute string `json:"healthRoute,omitempty"` // ImageUri: Required. Immutable. URI of the Docker image to be used as the // custom container for serving predictions. This URI must identify an image in // Artifact Registry or Container Registry. Learn more about the container // publishing requirements // (https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#publishing), // including permissions requirements for the Vertex AI Service Agent. The // container image is ingested upon ModelService.UploadModel, stored // internally, and this original path is afterwards not used. To learn about // the requirements for the Docker image itself, see Custom container // requirements // (https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#). // You can use the URI to one of Vertex AI's pre-built container images for // prediction // (https://cloud.google.com/vertex-ai/docs/predictions/pre-built-containers) // in this field. ImageUri string `json:"imageUri,omitempty"` // Ports: Immutable. List of ports to expose from the container. Vertex AI // sends any prediction requests that it receives to the first port on this // list. Vertex AI also sends liveness and health checks // (https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#liveness) // to this port. If you do not specify this field, it defaults to following // value: ```json [ { "containerPort": 8080 } ] ``` Vertex AI does not use // ports other than the first one listed. This field corresponds to the `ports` // field of the Kubernetes Containers v1 core API // (https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.23/#container-v1-core). Ports []*GoogleCloudAiplatformV1Port `json:"ports,omitempty"` // PredictRoute: Immutable. HTTP path on the container to send prediction // requests to. Vertex AI forwards requests sent using // projects.locations.endpoints.predict to this path on the container's IP // address and port. Vertex AI then returns the container's response in the API // response. For example, if you set this field to `/foo`, then when Vertex AI // receives a prediction request, it forwards the request body in a POST // request to the `/foo` path on the port of your container specified by the // first value of this `ModelContainerSpec`'s ports field. If you don't specify // this field, it defaults to the following value when you deploy this Model to // an Endpoint: /v1/endpoints/ENDPOINT/deployedModels/DEPLOYED_MODEL:predict // The placeholders in this value are replaced as follows: * ENDPOINT: The last // segment (following `endpoints/`)of the Endpoint.name][] field of the // Endpoint where this Model has been deployed. (Vertex AI makes this value // available to your container code as the `AIP_ENDPOINT_ID` environment // variable // (https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#aip-variables).) // * DEPLOYED_MODEL: DeployedModel.id of the `DeployedModel`. (Vertex AI makes // this value available to your container code as the `AIP_DEPLOYED_MODEL_ID` // environment variable // (https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#aip-variables).) PredictRoute string `json:"predictRoute,omitempty"` // SharedMemorySizeMb: Immutable. The amount of the VM memory to reserve as the // shared memory for the model in megabytes. SharedMemorySizeMb int64 `json:"sharedMemorySizeMb,omitempty,string"` // StartupProbe: Immutable. Specification for Kubernetes startup probe. StartupProbe *GoogleCloudAiplatformV1Probe `json:"startupProbe,omitempty"` // ForceSendFields is a list of field names (e.g. "Args") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Args") to include in API requests // with the JSON null value. By default, fields with empty values are omitted // from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ModelContainerSpec) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ModelDataStats: Stats of data used for train or evaluate the Model.
type GoogleCloudAiplatformV1ModelDataStats struct { // TestAnnotationsCount: Number of Annotations that are used for evaluating // this Model. If the Model is evaluated multiple times, this will be the // number of test Annotations used by the first evaluation. If the Model is not // evaluated, the number is 0. TestAnnotationsCount int64 `json:"testAnnotationsCount,omitempty,string"` // TestDataItemsCount: Number of DataItems that were used for evaluating this // Model. If the Model is evaluated multiple times, this will be the number of // test DataItems used by the first evaluation. If the Model is not evaluated, // the number is 0. TestDataItemsCount int64 `json:"testDataItemsCount,omitempty,string"` // TrainingAnnotationsCount: Number of Annotations that are used for training // this Model. TrainingAnnotationsCount int64 `json:"trainingAnnotationsCount,omitempty,string"` // TrainingDataItemsCount: Number of DataItems that were used for training this // Model. TrainingDataItemsCount int64 `json:"trainingDataItemsCount,omitempty,string"` // ValidationAnnotationsCount: Number of Annotations that are used for // validating this Model during training. ValidationAnnotationsCount int64 `json:"validationAnnotationsCount,omitempty,string"` // ValidationDataItemsCount: Number of DataItems that were used for validating // this Model during training. ValidationDataItemsCount int64 `json:"validationDataItemsCount,omitempty,string"` // ForceSendFields is a list of field names (e.g. "TestAnnotationsCount") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "TestAnnotationsCount") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ModelDataStats) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ModelDeploymentMonitoringBigQueryTable: ModelDeploymentMonitoringBigQueryTable specifies the BigQuery table name as well as some information of the logs stored in this table.
type GoogleCloudAiplatformV1ModelDeploymentMonitoringBigQueryTable struct { // BigqueryTablePath: The created BigQuery table to store logs. Customer could // do their own query & analysis. Format: // `bq://.model_deployment_monitoring_._` BigqueryTablePath string `json:"bigqueryTablePath,omitempty"` // LogSource: The source of log. // // Possible values: // "LOG_SOURCE_UNSPECIFIED" - Unspecified source. // "TRAINING" - Logs coming from Training dataset. // "SERVING" - Logs coming from Serving traffic. LogSource string `json:"logSource,omitempty"` // LogType: The type of log. // // Possible values: // "LOG_TYPE_UNSPECIFIED" - Unspecified type. // "PREDICT" - Predict logs. // "EXPLAIN" - Explain logs. LogType string `json:"logType,omitempty"` // RequestResponseLoggingSchemaVersion: Output only. The schema version of the // request/response logging BigQuery table. Default to v1 if unset. RequestResponseLoggingSchemaVersion string `json:"requestResponseLoggingSchemaVersion,omitempty"` // ForceSendFields is a list of field names (e.g. "BigqueryTablePath") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BigqueryTablePath") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ModelDeploymentMonitoringBigQueryTable) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ModelDeploymentMonitoringJob: Represents a job that runs periodically to monitor the deployed models in an endpoint. It will analyze the logged training & prediction data to detect any abnormal behaviors.
type GoogleCloudAiplatformV1ModelDeploymentMonitoringJob struct { // AnalysisInstanceSchemaUri: YAML schema file uri describing the format of a // single instance that you want Tensorflow Data Validation (TFDV) to analyze. // If this field is empty, all the feature data types are inferred from // predict_instance_schema_uri, meaning that TFDV will use the data in the // exact format(data type) as prediction request/response. If there are any // data type differences between predict instance and TFDV instance, this field // can be used to override the schema. For models trained with Vertex AI, this // field must be set as all the fields in predict instance formatted as string. AnalysisInstanceSchemaUri string `json:"analysisInstanceSchemaUri,omitempty"` // BigqueryTables: Output only. The created bigquery tables for the job under // customer project. Customer could do their own query & analysis. There could // be 4 log tables in maximum: 1. Training data logging predict // request/response 2. Serving data logging predict request/response BigqueryTables []*GoogleCloudAiplatformV1ModelDeploymentMonitoringBigQueryTable `json:"bigqueryTables,omitempty"` // CreateTime: Output only. Timestamp when this ModelDeploymentMonitoringJob // was created. CreateTime string `json:"createTime,omitempty"` // DisplayName: Required. The user-defined name of the // ModelDeploymentMonitoringJob. The name can be up to 128 characters long and // can consist of any UTF-8 characters. Display name of a // ModelDeploymentMonitoringJob. DisplayName string `json:"displayName,omitempty"` // EnableMonitoringPipelineLogs: If true, the scheduled monitoring pipeline // logs are sent to Google Cloud Logging, including pipeline status and // anomalies detected. Please note the logs incur cost, which are subject to // Cloud Logging pricing (https://cloud.google.com/logging#pricing). EnableMonitoringPipelineLogs bool `json:"enableMonitoringPipelineLogs,omitempty"` // EncryptionSpec: Customer-managed encryption key spec for a // ModelDeploymentMonitoringJob. If set, this ModelDeploymentMonitoringJob and // all sub-resources of this ModelDeploymentMonitoringJob will be secured by // this key. EncryptionSpec *GoogleCloudAiplatformV1EncryptionSpec `json:"encryptionSpec,omitempty"` // Endpoint: Required. Endpoint resource name. Format: // `projects/{project}/locations/{location}/endpoints/{endpoint}` Endpoint string `json:"endpoint,omitempty"` // Error: Output only. Only populated when the job's state is // `JOB_STATE_FAILED` or `JOB_STATE_CANCELLED`. Error *GoogleRpcStatus `json:"error,omitempty"` // Labels: The labels with user-defined metadata to organize your // ModelDeploymentMonitoringJob. Label keys and values can be no longer than 64 // characters (Unicode codepoints), can only contain lowercase letters, numeric // characters, underscores and dashes. International characters are allowed. // See https://goo.gl/xmQnxf for more information and examples of labels. Labels map[string]string `json:"labels,omitempty"` // LatestMonitoringPipelineMetadata: Output only. Latest triggered monitoring // pipeline metadata. LatestMonitoringPipelineMetadata *GoogleCloudAiplatformV1ModelDeploymentMonitoringJobLatestMonitoringPipelineMetadata `json:"latestMonitoringPipelineMetadata,omitempty"` // LogTtl: The TTL of BigQuery tables in user projects which stores logs. A day // is the basic unit of the TTL and we take the ceil of TTL/86400(a day). e.g. // { second: 3600} indicates ttl = 1 day. LogTtl string `json:"logTtl,omitempty"` // LoggingSamplingStrategy: Required. Sample Strategy for logging. LoggingSamplingStrategy *GoogleCloudAiplatformV1SamplingStrategy `json:"loggingSamplingStrategy,omitempty"` // ModelDeploymentMonitoringObjectiveConfigs: Required. The config for // monitoring objectives. This is a per DeployedModel config. Each // DeployedModel needs to be configured separately. ModelDeploymentMonitoringObjectiveConfigs []*GoogleCloudAiplatformV1ModelDeploymentMonitoringObjectiveConfig `json:"modelDeploymentMonitoringObjectiveConfigs,omitempty"` // ModelDeploymentMonitoringScheduleConfig: Required. Schedule config for // running the monitoring job. ModelDeploymentMonitoringScheduleConfig *GoogleCloudAiplatformV1ModelDeploymentMonitoringScheduleConfig `json:"modelDeploymentMonitoringScheduleConfig,omitempty"` // ModelMonitoringAlertConfig: Alert config for model monitoring. ModelMonitoringAlertConfig *GoogleCloudAiplatformV1ModelMonitoringAlertConfig `json:"modelMonitoringAlertConfig,omitempty"` // Name: Output only. Resource name of a ModelDeploymentMonitoringJob. Name string `json:"name,omitempty"` // NextScheduleTime: Output only. Timestamp when this monitoring pipeline will // be scheduled to run for the next round. NextScheduleTime string `json:"nextScheduleTime,omitempty"` // PredictInstanceSchemaUri: YAML schema file uri describing the format of a // single instance, which are given to format this Endpoint's prediction (and // explanation). If not set, we will generate predict schema from collected // predict requests. PredictInstanceSchemaUri string `json:"predictInstanceSchemaUri,omitempty"` // SamplePredictInstance: Sample Predict instance, same format as // PredictRequest.instances, this can be set as a replacement of // ModelDeploymentMonitoringJob.predict_instance_schema_uri. If not set, we // will generate predict schema from collected predict requests. SamplePredictInstance interface{} `json:"samplePredictInstance,omitempty"` // ScheduleState: Output only. Schedule state when the monitoring job is in // Running state. // // Possible values: // "MONITORING_SCHEDULE_STATE_UNSPECIFIED" - Unspecified state. // "PENDING" - The pipeline is picked up and wait to run. // "OFFLINE" - The pipeline is offline and will be scheduled for next run. // "RUNNING" - The pipeline is running. ScheduleState string `json:"scheduleState,omitempty"` // State: Output only. The detailed state of the monitoring job. When the job // is still creating, the state will be 'PENDING'. Once the job is successfully // created, the state will be 'RUNNING'. Pause the job, the state will be // 'PAUSED'. Resume the job, the state will return to 'RUNNING'. // // Possible values: // "JOB_STATE_UNSPECIFIED" - The job state is unspecified. // "JOB_STATE_QUEUED" - The job has been just created or resumed and // processing has not yet begun. // "JOB_STATE_PENDING" - The service is preparing to run the job. // "JOB_STATE_RUNNING" - The job is in progress. // "JOB_STATE_SUCCEEDED" - The job completed successfully. // "JOB_STATE_FAILED" - The job failed. // "JOB_STATE_CANCELLING" - The job is being cancelled. From this state the // job may only go to either `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED` or // `JOB_STATE_CANCELLED`. // "JOB_STATE_CANCELLED" - The job has been cancelled. // "JOB_STATE_PAUSED" - The job has been stopped, and can be resumed. // "JOB_STATE_EXPIRED" - The job has expired. // "JOB_STATE_UPDATING" - The job is being updated. Only jobs in the // `RUNNING` state can be updated. After updating, the job goes back to the // `RUNNING` state. // "JOB_STATE_PARTIALLY_SUCCEEDED" - The job is partially succeeded, some // results may be missing due to errors. State string `json:"state,omitempty"` // StatsAnomaliesBaseDirectory: Stats anomalies base folder path. StatsAnomaliesBaseDirectory *GoogleCloudAiplatformV1GcsDestination `json:"statsAnomaliesBaseDirectory,omitempty"` // UpdateTime: Output only. Timestamp when this ModelDeploymentMonitoringJob // was updated most recently. UpdateTime string `json:"updateTime,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "AnalysisInstanceSchemaUri") // to unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AnalysisInstanceSchemaUri") to // include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ModelDeploymentMonitoringJob) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ModelDeploymentMonitoringJobLatestMonitoringPipelineMe tadata: All metadata of most recent monitoring pipelines.
type GoogleCloudAiplatformV1ModelDeploymentMonitoringJobLatestMonitoringPipelineMetadata struct { // RunTime: The time that most recent monitoring pipelines that is related to // this run. RunTime string `json:"runTime,omitempty"` // Status: The status of the most recent monitoring pipeline. Status *GoogleRpcStatus `json:"status,omitempty"` // ForceSendFields is a list of field names (e.g. "RunTime") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "RunTime") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ModelDeploymentMonitoringJobLatestMonitoringPipelineMetadata) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ModelDeploymentMonitoringObjectiveConfig: ModelDeploymentMonitoringObjectiveConfig contains the pair of deployed_model_id to ModelMonitoringObjectiveConfig.
type GoogleCloudAiplatformV1ModelDeploymentMonitoringObjectiveConfig struct { // DeployedModelId: The DeployedModel ID of the objective config. DeployedModelId string `json:"deployedModelId,omitempty"` // ObjectiveConfig: The objective config of for the modelmonitoring job of this // deployed model. ObjectiveConfig *GoogleCloudAiplatformV1ModelMonitoringObjectiveConfig `json:"objectiveConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "DeployedModelId") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DeployedModelId") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ModelDeploymentMonitoringObjectiveConfig) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ModelDeploymentMonitoringScheduleConfig: The config for scheduling monitoring job.
type GoogleCloudAiplatformV1ModelDeploymentMonitoringScheduleConfig struct { // MonitorInterval: Required. The model monitoring job scheduling interval. It // will be rounded up to next full hour. This defines how often the monitoring // jobs are triggered. MonitorInterval string `json:"monitorInterval,omitempty"` // MonitorWindow: The time window of the prediction data being included in each // prediction dataset. This window specifies how long the data should be // collected from historical model results for each run. If not set, // ModelDeploymentMonitoringScheduleConfig.monitor_interval will be used. e.g. // If currently the cutoff time is 2022-01-08 14:30:00 and the monitor_window // is set to be 3600, then data from 2022-01-08 13:30:00 to 2022-01-08 14:30:00 // will be retrieved and aggregated to calculate the monitoring statistics. MonitorWindow string `json:"monitorWindow,omitempty"` // ForceSendFields is a list of field names (e.g. "MonitorInterval") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "MonitorInterval") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ModelDeploymentMonitoringScheduleConfig) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ModelEvaluation: A collection of metrics calculated by comparing Model's predictions on all of the test data against annotations from the test data.
type GoogleCloudAiplatformV1ModelEvaluation struct { // AnnotationSchemaUri: Points to a YAML file stored on Google Cloud Storage // describing EvaluatedDataItemView.predictions, // EvaluatedDataItemView.ground_truths, EvaluatedAnnotation.predictions, and // EvaluatedAnnotation.ground_truths. The schema is defined as an OpenAPI 3.0.2 // Schema Object // (https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject). // This field is not populated if there are neither EvaluatedDataItemViews nor // EvaluatedAnnotations under this ModelEvaluation. AnnotationSchemaUri string `json:"annotationSchemaUri,omitempty"` // CreateTime: Output only. Timestamp when this ModelEvaluation was created. CreateTime string `json:"createTime,omitempty"` // DataItemSchemaUri: Points to a YAML file stored on Google Cloud Storage // describing EvaluatedDataItemView.data_item_payload and // EvaluatedAnnotation.data_item_payload. The schema is defined as an OpenAPI // 3.0.2 Schema Object // (https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject). // This field is not populated if there are neither EvaluatedDataItemViews nor // EvaluatedAnnotations under this ModelEvaluation. DataItemSchemaUri string `json:"dataItemSchemaUri,omitempty"` // DisplayName: The display name of the ModelEvaluation. DisplayName string `json:"displayName,omitempty"` // ExplanationSpecs: Describes the values of ExplanationSpec that are used for // explaining the predicted values on the evaluated data. ExplanationSpecs []*GoogleCloudAiplatformV1ModelEvaluationModelEvaluationExplanationSpec `json:"explanationSpecs,omitempty"` // Metadata: The metadata of the ModelEvaluation. For the ModelEvaluation // uploaded from Managed Pipeline, metadata contains a structured value with // keys of "pipeline_job_id", "evaluation_dataset_type", // "evaluation_dataset_path", "row_based_metrics_path". Metadata interface{} `json:"metadata,omitempty"` // Metrics: Evaluation metrics of the Model. The schema of the metrics is // stored in metrics_schema_uri Metrics interface{} `json:"metrics,omitempty"` // MetricsSchemaUri: Points to a YAML file stored on Google Cloud Storage // describing the metrics of this ModelEvaluation. The schema is defined as an // OpenAPI 3.0.2 Schema Object // (https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject). MetricsSchemaUri string `json:"metricsSchemaUri,omitempty"` // ModelExplanation: Aggregated explanation metrics for the Model's prediction // output over the data this ModelEvaluation uses. This field is populated only // if the Model is evaluated with explanations, and only for AutoML tabular // Models. ModelExplanation *GoogleCloudAiplatformV1ModelExplanation `json:"modelExplanation,omitempty"` // Name: Output only. The resource name of the ModelEvaluation. Name string `json:"name,omitempty"` // SliceDimensions: All possible dimensions of ModelEvaluationSlices. The // dimensions can be used as the filter of the // ModelService.ListModelEvaluationSlices request, in the form of // `slice.dimension = `. SliceDimensions []string `json:"sliceDimensions,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "AnnotationSchemaUri") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AnnotationSchemaUri") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ModelEvaluation) MarshalJSON() ([]byte, error)
type GoogleCloudAiplatformV1ModelEvaluationModelEvaluationExplanationSpec struct { // ExplanationSpec: Explanation spec details. ExplanationSpec *GoogleCloudAiplatformV1ExplanationSpec `json:"explanationSpec,omitempty"` // ExplanationType: Explanation type. For AutoML Image Classification models, // possible values are: * `image-integrated-gradients` * `image-xrai` ExplanationType string `json:"explanationType,omitempty"` // ForceSendFields is a list of field names (e.g. "ExplanationSpec") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ExplanationSpec") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ModelEvaluationModelEvaluationExplanationSpec) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ModelEvaluationSlice: A collection of metrics calculated by comparing Model's predictions on a slice of the test data against ground truth annotations.
type GoogleCloudAiplatformV1ModelEvaluationSlice struct { // CreateTime: Output only. Timestamp when this ModelEvaluationSlice was // created. CreateTime string `json:"createTime,omitempty"` // Metrics: Output only. Sliced evaluation metrics of the Model. The schema of // the metrics is stored in metrics_schema_uri Metrics interface{} `json:"metrics,omitempty"` // MetricsSchemaUri: Output only. Points to a YAML file stored on Google Cloud // Storage describing the metrics of this ModelEvaluationSlice. The schema is // defined as an OpenAPI 3.0.2 Schema Object // (https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject). MetricsSchemaUri string `json:"metricsSchemaUri,omitempty"` // ModelExplanation: Output only. Aggregated explanation metrics for the // Model's prediction output over the data this ModelEvaluation uses. This // field is populated only if the Model is evaluated with explanations, and // only for tabular Models. ModelExplanation *GoogleCloudAiplatformV1ModelExplanation `json:"modelExplanation,omitempty"` // Name: Output only. The resource name of the ModelEvaluationSlice. Name string `json:"name,omitempty"` // Slice: Output only. The slice of the test data that is used to evaluate the // Model. Slice *GoogleCloudAiplatformV1ModelEvaluationSliceSlice `json:"slice,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "CreateTime") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CreateTime") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ModelEvaluationSlice) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ModelEvaluationSliceSlice: Definition of a slice.
type GoogleCloudAiplatformV1ModelEvaluationSliceSlice struct { // Dimension: Output only. The dimension of the slice. Well-known dimensions // are: * `annotationSpec`: This slice is on the test data that has either // ground truth or prediction with AnnotationSpec.display_name equals to value. // * `slice`: This slice is a user customized slice defined by its SliceSpec. Dimension string `json:"dimension,omitempty"` // SliceSpec: Output only. Specification for how the data was sliced. SliceSpec *GoogleCloudAiplatformV1ModelEvaluationSliceSliceSliceSpec `json:"sliceSpec,omitempty"` // Value: Output only. The value of the dimension in this slice. Value string `json:"value,omitempty"` // ForceSendFields is a list of field names (e.g. "Dimension") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Dimension") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ModelEvaluationSliceSlice) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ModelEvaluationSliceSliceSliceSpec: Specification for how the data should be sliced.
type GoogleCloudAiplatformV1ModelEvaluationSliceSliceSliceSpec struct { // Configs: Mapping configuration for this SliceSpec. The key is the name of // the feature. By default, the key will be prefixed by "instance" as a // dictionary prefix for Vertex Batch Predictions output format. Configs map[string]GoogleCloudAiplatformV1ModelEvaluationSliceSliceSliceSpecSliceConfig `json:"configs,omitempty"` // ForceSendFields is a list of field names (e.g. "Configs") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Configs") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ModelEvaluationSliceSliceSliceSpec) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ModelEvaluationSliceSliceSliceSpecRange: A range of values for slice(s). `low` is inclusive, `high` is exclusive.
type GoogleCloudAiplatformV1ModelEvaluationSliceSliceSliceSpecRange struct { // High: Exclusive high value for the range. High float64 `json:"high,omitempty"` // Low: Inclusive low value for the range. Low float64 `json:"low,omitempty"` // ForceSendFields is a list of field names (e.g. "High") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "High") to include in API requests // with the JSON null value. By default, fields with empty values are omitted // from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ModelEvaluationSliceSliceSliceSpecRange) MarshalJSON() ([]byte, error)
func (s *GoogleCloudAiplatformV1ModelEvaluationSliceSliceSliceSpecRange) UnmarshalJSON(data []byte) error
GoogleCloudAiplatformV1ModelEvaluationSliceSliceSliceSpecSliceConfig: Specification message containing the config for this SliceSpec. When `kind` is selected as `value` and/or `range`, only a single slice will be computed. When `all_values` is present, a separate slice will be computed for each possible label/value for the corresponding key in `config`. Examples, with feature zip_code with values 12345, 23334, 88888 and feature country with values "US", "Canada", "Mexico" in the dataset: Example 1: { "zip_code": { "value": { "float_value": 12345.0 } } } A single slice for any data with zip_code 12345 in the dataset. Example 2: { "zip_code": { "range": { "low": 12345, "high": 20000 } } } A single slice containing data where the zip_codes between 12345 and 20000 For this example, data with the zip_code of 12345 will be in this slice. Example 3: { "zip_code": { "range": { "low": 10000, "high": 20000 } }, "country": { "value": { "string_value": "US" } } } A single slice containing data where the zip_codes between 10000 and 20000 has the country "US". For this example, data with the zip_code of 12345 and country "US" will be in this slice. Example 4: { "country": {"all_values": { "value": true } } } Three slices are computed, one for each unique country in the dataset. Example 5: { "country": { "all_values": { "value": true } }, "zip_code": { "value": { "float_value": 12345.0 } } } Three slices are computed, one for each unique country in the dataset where the zip_code is also 12345. For this example, data with zip_code 12345 and country "US" will be in one slice, zip_code 12345 and country "Canada" in another slice, and zip_code 12345 and country "Mexico" in another slice, totaling 3 slices.
type GoogleCloudAiplatformV1ModelEvaluationSliceSliceSliceSpecSliceConfig struct { // AllValues: If all_values is set to true, then all possible labels of the // keyed feature will have another slice computed. Example: // `{"all_values":{"value":true}}` AllValues bool `json:"allValues,omitempty"` // Range: A range of values for a numerical feature. Example: // `{"range":{"low":10000.0,"high":50000.0}}` will capture 12345 and 23334 in // the slice. Range *GoogleCloudAiplatformV1ModelEvaluationSliceSliceSliceSpecRange `json:"range,omitempty"` // Value: A unique specific value for a given feature. Example: `{ "value": { // "string_value": "12345" } }` Value *GoogleCloudAiplatformV1ModelEvaluationSliceSliceSliceSpecValue `json:"value,omitempty"` // ForceSendFields is a list of field names (e.g. "AllValues") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AllValues") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ModelEvaluationSliceSliceSliceSpecSliceConfig) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ModelEvaluationSliceSliceSliceSpecValue: Single value that supports strings and floats.
type GoogleCloudAiplatformV1ModelEvaluationSliceSliceSliceSpecValue struct { // FloatValue: Float type. FloatValue float64 `json:"floatValue,omitempty"` // StringValue: String type. StringValue string `json:"stringValue,omitempty"` // ForceSendFields is a list of field names (e.g. "FloatValue") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "FloatValue") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ModelEvaluationSliceSliceSliceSpecValue) MarshalJSON() ([]byte, error)
func (s *GoogleCloudAiplatformV1ModelEvaluationSliceSliceSliceSpecValue) UnmarshalJSON(data []byte) error
GoogleCloudAiplatformV1ModelExplanation: Aggregated explanation metrics for a Model over a set of instances.
type GoogleCloudAiplatformV1ModelExplanation struct { // MeanAttributions: Output only. Aggregated attributions explaining the // Model's prediction outputs over the set of instances. The attributions are // grouped by outputs. For Models that predict only one output, such as // regression Models that predict only one score, there is only one attibution // that explains the predicted output. For Models that predict multiple // outputs, such as multiclass Models that predict multiple classes, each // element explains one specific item. Attribution.output_index can be used to // identify which output this attribution is explaining. The // baselineOutputValue, instanceOutputValue and featureAttributions fields are // averaged over the test data. NOTE: Currently AutoML tabular classification // Models produce only one attribution, which averages attributions over all // the classes it predicts. Attribution.approximation_error is not populated. MeanAttributions []*GoogleCloudAiplatformV1Attribution `json:"meanAttributions,omitempty"` // ForceSendFields is a list of field names (e.g. "MeanAttributions") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "MeanAttributions") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ModelExplanation) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ModelExportFormat: Represents export format supported by the Model. All formats export to Google Cloud Storage.
type GoogleCloudAiplatformV1ModelExportFormat struct { // ExportableContents: Output only. The content of this Model that may be // exported. // // Possible values: // "EXPORTABLE_CONTENT_UNSPECIFIED" - Should not be used. // "ARTIFACT" - Model artifact and any of its supported files. Will be // exported to the location specified by the `artifactDestination` field of the // ExportModelRequest.output_config object. // "IMAGE" - The container image that is to be used when deploying this // Model. Will be exported to the location specified by the `imageDestination` // field of the ExportModelRequest.output_config object. ExportableContents []string `json:"exportableContents,omitempty"` // Id: Output only. The ID of the export format. The possible format IDs are: * // `tflite` Used for Android mobile devices. * `edgetpu-tflite` Used for Edge // TPU (https://cloud.google.com/edge-tpu/) devices. * `tf-saved-model` A // tensorflow model in SavedModel format. * `tf-js` A TensorFlow.js // (https://www.tensorflow.org/js) model that can be used in the browser and in // Node.js using JavaScript. * `core-ml` Used for iOS mobile devices. * // `custom-trained` A Model that was uploaded or trained by custom code. Id string `json:"id,omitempty"` // ForceSendFields is a list of field names (e.g. "ExportableContents") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ExportableContents") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ModelExportFormat) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ModelGardenSource: Contains information about the source of the models generated from Model Garden.
type GoogleCloudAiplatformV1ModelGardenSource struct { // PublicModelName: Required. The model garden source model resource name. PublicModelName string `json:"publicModelName,omitempty"` // ForceSendFields is a list of field names (e.g. "PublicModelName") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "PublicModelName") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ModelGardenSource) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ModelMonitoringAlertConfig: The alert config for model monitoring.
type GoogleCloudAiplatformV1ModelMonitoringAlertConfig struct { // EmailAlertConfig: Email alert config. EmailAlertConfig *GoogleCloudAiplatformV1ModelMonitoringAlertConfigEmailAlertConfig `json:"emailAlertConfig,omitempty"` // EnableLogging: Dump the anomalies to Cloud Logging. The anomalies will be // put to json payload encoded from proto // google.cloud.aiplatform.logging.ModelMonitoringAnomaliesLogEntry. This can // be further sinked to Pub/Sub or any other services supported by Cloud // Logging. EnableLogging bool `json:"enableLogging,omitempty"` // NotificationChannels: Resource names of the NotificationChannels to send // alert. Must be of the format `projects//notificationChannels/` NotificationChannels []string `json:"notificationChannels,omitempty"` // ForceSendFields is a list of field names (e.g. "EmailAlertConfig") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "EmailAlertConfig") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ModelMonitoringAlertConfig) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ModelMonitoringAlertConfigEmailAlertConfig: The config for email alert.
type GoogleCloudAiplatformV1ModelMonitoringAlertConfigEmailAlertConfig struct { // UserEmails: The email addresses to send the alert. UserEmails []string `json:"userEmails,omitempty"` // ForceSendFields is a list of field names (e.g. "UserEmails") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "UserEmails") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ModelMonitoringAlertConfigEmailAlertConfig) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ModelMonitoringObjectiveConfig: The objective configuration for model monitoring, including the information needed to detect anomalies for one particular model.
type GoogleCloudAiplatformV1ModelMonitoringObjectiveConfig struct { // ExplanationConfig: The config for integrating with Vertex Explainable AI. ExplanationConfig *GoogleCloudAiplatformV1ModelMonitoringObjectiveConfigExplanationConfig `json:"explanationConfig,omitempty"` // PredictionDriftDetectionConfig: The config for drift of prediction data. PredictionDriftDetectionConfig *GoogleCloudAiplatformV1ModelMonitoringObjectiveConfigPredictionDriftDetectionConfig `json:"predictionDriftDetectionConfig,omitempty"` // TrainingDataset: Training dataset for models. This field has to be set only // if TrainingPredictionSkewDetectionConfig is specified. TrainingDataset *GoogleCloudAiplatformV1ModelMonitoringObjectiveConfigTrainingDataset `json:"trainingDataset,omitempty"` // TrainingPredictionSkewDetectionConfig: The config for skew between training // data and prediction data. TrainingPredictionSkewDetectionConfig *GoogleCloudAiplatformV1ModelMonitoringObjectiveConfigTrainingPredictionSkewDetectionConfig `json:"trainingPredictionSkewDetectionConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "ExplanationConfig") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ExplanationConfig") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ModelMonitoringObjectiveConfig) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ModelMonitoringObjectiveConfigExplanationConfig: The config for integrating with Vertex Explainable AI. Only applicable if the Model has explanation_spec populated.
type GoogleCloudAiplatformV1ModelMonitoringObjectiveConfigExplanationConfig struct { // EnableFeatureAttributes: If want to analyze the Vertex Explainable AI // feature attribute scores or not. If set to true, Vertex AI will log the // feature attributions from explain response and do the skew/drift detection // for them. EnableFeatureAttributes bool `json:"enableFeatureAttributes,omitempty"` // ExplanationBaseline: Predictions generated by the BatchPredictionJob using // baseline dataset. ExplanationBaseline *GoogleCloudAiplatformV1ModelMonitoringObjectiveConfigExplanationConfigExplanationBaseline `json:"explanationBaseline,omitempty"` // ForceSendFields is a list of field names (e.g. "EnableFeatureAttributes") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "EnableFeatureAttributes") to // include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ModelMonitoringObjectiveConfigExplanationConfig) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ModelMonitoringObjectiveConfigExplanationConfigExplana tionBaseline: Output from BatchPredictionJob for Model Monitoring baseline dataset, which can be used to generate baseline attribution scores.
type GoogleCloudAiplatformV1ModelMonitoringObjectiveConfigExplanationConfigExplanationBaseline struct { // Bigquery: BigQuery location for BatchExplain output. Bigquery *GoogleCloudAiplatformV1BigQueryDestination `json:"bigquery,omitempty"` // Gcs: Cloud Storage location for BatchExplain output. Gcs *GoogleCloudAiplatformV1GcsDestination `json:"gcs,omitempty"` // PredictionFormat: The storage format of the predictions generated // BatchPrediction job. // // Possible values: // "PREDICTION_FORMAT_UNSPECIFIED" - Should not be set. // "JSONL" - Predictions are in JSONL files. // "BIGQUERY" - Predictions are in BigQuery. PredictionFormat string `json:"predictionFormat,omitempty"` // ForceSendFields is a list of field names (e.g. "Bigquery") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Bigquery") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ModelMonitoringObjectiveConfigExplanationConfigExplanationBaseline) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ModelMonitoringObjectiveConfigPredictionDriftDetection Config: The config for Prediction data drift detection.
type GoogleCloudAiplatformV1ModelMonitoringObjectiveConfigPredictionDriftDetectionConfig struct { // AttributionScoreDriftThresholds: Key is the feature name and value is the // threshold. The threshold here is against attribution score distance between // different time windows. AttributionScoreDriftThresholds map[string]GoogleCloudAiplatformV1ThresholdConfig `json:"attributionScoreDriftThresholds,omitempty"` // DefaultDriftThreshold: Drift anomaly detection threshold used by all // features. When the per-feature thresholds are not set, this field can be // used to specify a threshold for all features. DefaultDriftThreshold *GoogleCloudAiplatformV1ThresholdConfig `json:"defaultDriftThreshold,omitempty"` // DriftThresholds: Key is the feature name and value is the threshold. If a // feature needs to be monitored for drift, a value threshold must be // configured for that feature. The threshold here is against feature // distribution distance between different time windws. DriftThresholds map[string]GoogleCloudAiplatformV1ThresholdConfig `json:"driftThresholds,omitempty"` // ForceSendFields is a list of field names (e.g. // "AttributionScoreDriftThresholds") to unconditionally include in API // requests. By default, fields with empty or default values are omitted from // API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AttributionScoreDriftThresholds") // to include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ModelMonitoringObjectiveConfigPredictionDriftDetectionConfig) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ModelMonitoringObjectiveConfigTrainingDataset: Training Dataset information.
type GoogleCloudAiplatformV1ModelMonitoringObjectiveConfigTrainingDataset struct { // BigquerySource: The BigQuery table of the unmanaged Dataset used to train // this Model. BigquerySource *GoogleCloudAiplatformV1BigQuerySource `json:"bigquerySource,omitempty"` // DataFormat: Data format of the dataset, only applicable if the input is from // Google Cloud Storage. The possible formats are: "tf-record" The source file // is a TFRecord file. "csv" The source file is a CSV file. "jsonl" The source // file is a JSONL file. DataFormat string `json:"dataFormat,omitempty"` // Dataset: The resource name of the Dataset used to train this Model. Dataset string `json:"dataset,omitempty"` // GcsSource: The Google Cloud Storage uri of the unmanaged Dataset used to // train this Model. GcsSource *GoogleCloudAiplatformV1GcsSource `json:"gcsSource,omitempty"` // LoggingSamplingStrategy: Strategy to sample data from Training Dataset. If // not set, we process the whole dataset. LoggingSamplingStrategy *GoogleCloudAiplatformV1SamplingStrategy `json:"loggingSamplingStrategy,omitempty"` // TargetField: The target field name the model is to predict. This field will // be excluded when doing Predict and (or) Explain for the training data. TargetField string `json:"targetField,omitempty"` // ForceSendFields is a list of field names (e.g. "BigquerySource") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BigquerySource") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ModelMonitoringObjectiveConfigTrainingDataset) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ModelMonitoringObjectiveConfigTrainingPredictionSkewDe tectionConfig: The config for Training & Prediction data skew detection. It specifies the training dataset sources and the skew detection parameters.
type GoogleCloudAiplatformV1ModelMonitoringObjectiveConfigTrainingPredictionSkewDetectionConfig struct { // AttributionScoreSkewThresholds: Key is the feature name and value is the // threshold. The threshold here is against attribution score distance between // the training and prediction feature. AttributionScoreSkewThresholds map[string]GoogleCloudAiplatformV1ThresholdConfig `json:"attributionScoreSkewThresholds,omitempty"` // DefaultSkewThreshold: Skew anomaly detection threshold used by all features. // When the per-feature thresholds are not set, this field can be used to // specify a threshold for all features. DefaultSkewThreshold *GoogleCloudAiplatformV1ThresholdConfig `json:"defaultSkewThreshold,omitempty"` // SkewThresholds: Key is the feature name and value is the threshold. If a // feature needs to be monitored for skew, a value threshold must be configured // for that feature. The threshold here is against feature distribution // distance between the training and prediction feature. SkewThresholds map[string]GoogleCloudAiplatformV1ThresholdConfig `json:"skewThresholds,omitempty"` // ForceSendFields is a list of field names (e.g. // "AttributionScoreSkewThresholds") to unconditionally include in API // requests. By default, fields with empty or default values are omitted from // API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AttributionScoreSkewThresholds") // to include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ModelMonitoringObjectiveConfigTrainingPredictionSkewDetectionConfig) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ModelMonitoringStatsAnomalies: Statistics and anomalies generated by Model Monitoring.
type GoogleCloudAiplatformV1ModelMonitoringStatsAnomalies struct { // AnomalyCount: Number of anomalies within all stats. AnomalyCount int64 `json:"anomalyCount,omitempty"` // DeployedModelId: Deployed Model ID. DeployedModelId string `json:"deployedModelId,omitempty"` // FeatureStats: A list of historical Stats and Anomalies generated for all // Features. FeatureStats []*GoogleCloudAiplatformV1ModelMonitoringStatsAnomaliesFeatureHistoricStatsAnomalies `json:"featureStats,omitempty"` // Objective: Model Monitoring Objective those stats and anomalies belonging // to. // // Possible values: // "MODEL_DEPLOYMENT_MONITORING_OBJECTIVE_TYPE_UNSPECIFIED" - Default value, // should not be set. // "RAW_FEATURE_SKEW" - Raw feature values' stats to detect skew between // Training-Prediction datasets. // "RAW_FEATURE_DRIFT" - Raw feature values' stats to detect drift between // Serving-Prediction datasets. // "FEATURE_ATTRIBUTION_SKEW" - Feature attribution scores to detect skew // between Training-Prediction datasets. // "FEATURE_ATTRIBUTION_DRIFT" - Feature attribution scores to detect skew // between Prediction datasets collected within different time windows. Objective string `json:"objective,omitempty"` // ForceSendFields is a list of field names (e.g. "AnomalyCount") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AnomalyCount") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ModelMonitoringStatsAnomalies) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ModelMonitoringStatsAnomaliesFeatureHistoricStatsAnoma lies: Historical Stats (and Anomalies) for a specific Feature.
type GoogleCloudAiplatformV1ModelMonitoringStatsAnomaliesFeatureHistoricStatsAnomalies struct { // FeatureDisplayName: Display Name of the Feature. FeatureDisplayName string `json:"featureDisplayName,omitempty"` // PredictionStats: A list of historical stats generated by different time // window's Prediction Dataset. PredictionStats []*GoogleCloudAiplatformV1FeatureStatsAnomaly `json:"predictionStats,omitempty"` // Threshold: Threshold for anomaly detection. Threshold *GoogleCloudAiplatformV1ThresholdConfig `json:"threshold,omitempty"` // TrainingStats: Stats calculated for the Training Dataset. TrainingStats *GoogleCloudAiplatformV1FeatureStatsAnomaly `json:"trainingStats,omitempty"` // ForceSendFields is a list of field names (e.g. "FeatureDisplayName") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "FeatureDisplayName") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ModelMonitoringStatsAnomaliesFeatureHistoricStatsAnomalies) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ModelOriginalModelInfo: Contains information about the original Model if this Model is a copy.
type GoogleCloudAiplatformV1ModelOriginalModelInfo struct { // Model: Output only. The resource name of the Model this Model is a copy of, // including the revision. Format: // `projects/{project}/locations/{location}/models/{model_id}@{version_id}` Model string `json:"model,omitempty"` // ForceSendFields is a list of field names (e.g. "Model") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Model") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ModelOriginalModelInfo) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ModelSourceInfo: Detail description of the source information of the model.
type GoogleCloudAiplatformV1ModelSourceInfo struct { // Copy: If this Model is copy of another Model. If true then source_type // pertains to the original. Copy bool `json:"copy,omitempty"` // SourceType: Type of the model source. // // Possible values: // "MODEL_SOURCE_TYPE_UNSPECIFIED" - Should not be used. // "AUTOML" - The Model is uploaded by automl training pipeline. // "CUSTOM" - The Model is uploaded by user or custom training pipeline. // "BQML" - The Model is registered and sync'ed from BigQuery ML. // "MODEL_GARDEN" - The Model is saved or tuned from Model Garden. // "GENIE" - The Model is saved or tuned from Genie. // "CUSTOM_TEXT_EMBEDDING" - The Model is uploaded by text embedding // finetuning pipeline. // "MARKETPLACE" - The Model is saved or tuned from Marketplace. SourceType string `json:"sourceType,omitempty"` // ForceSendFields is a list of field names (e.g. "Copy") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Copy") to include in API requests // with the JSON null value. By default, fields with empty values are omitted // from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ModelSourceInfo) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1MutateDeployedIndexOperationMetadata: Runtime operation information for IndexEndpointService.MutateDeployedIndex.
type GoogleCloudAiplatformV1MutateDeployedIndexOperationMetadata struct { // DeployedIndexId: The unique index id specified by user DeployedIndexId string `json:"deployedIndexId,omitempty"` // GenericMetadata: The operation generic information. GenericMetadata *GoogleCloudAiplatformV1GenericOperationMetadata `json:"genericMetadata,omitempty"` // ForceSendFields is a list of field names (e.g. "DeployedIndexId") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DeployedIndexId") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1MutateDeployedIndexOperationMetadata) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1MutateDeployedIndexResponse: Response message for IndexEndpointService.MutateDeployedIndex.
type GoogleCloudAiplatformV1MutateDeployedIndexResponse struct { // DeployedIndex: The DeployedIndex that had been updated in the IndexEndpoint. DeployedIndex *GoogleCloudAiplatformV1DeployedIndex `json:"deployedIndex,omitempty"` // ForceSendFields is a list of field names (e.g. "DeployedIndex") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DeployedIndex") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1MutateDeployedIndexResponse) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1MutateDeployedModelOperationMetadata: Runtime operation information for EndpointService.MutateDeployedModel.
type GoogleCloudAiplatformV1MutateDeployedModelOperationMetadata struct { // GenericMetadata: The operation generic information. GenericMetadata *GoogleCloudAiplatformV1GenericOperationMetadata `json:"genericMetadata,omitempty"` // ForceSendFields is a list of field names (e.g. "GenericMetadata") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "GenericMetadata") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1MutateDeployedModelOperationMetadata) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1MutateDeployedModelRequest: Request message for EndpointService.MutateDeployedModel.
type GoogleCloudAiplatformV1MutateDeployedModelRequest struct { // DeployedModel: Required. The DeployedModel to be mutated within the // Endpoint. Only the following fields can be mutated: * `min_replica_count` in // either DedicatedResources or AutomaticResources * `max_replica_count` in // either DedicatedResources or AutomaticResources * autoscaling_metric_specs * // `disable_container_logging` (v1 only) * `enable_container_logging` (v1beta1 // only) DeployedModel *GoogleCloudAiplatformV1DeployedModel `json:"deployedModel,omitempty"` // UpdateMask: Required. The update mask applies to the resource. See // google.protobuf.FieldMask. UpdateMask string `json:"updateMask,omitempty"` // ForceSendFields is a list of field names (e.g. "DeployedModel") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DeployedModel") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1MutateDeployedModelRequest) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1MutateDeployedModelResponse: Response message for EndpointService.MutateDeployedModel.
type GoogleCloudAiplatformV1MutateDeployedModelResponse struct { // DeployedModel: The DeployedModel that's being mutated. DeployedModel *GoogleCloudAiplatformV1DeployedModel `json:"deployedModel,omitempty"` // ForceSendFields is a list of field names (e.g. "DeployedModel") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DeployedModel") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1MutateDeployedModelResponse) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1NasJob: Represents a Neural Architecture Search (NAS) job.
type GoogleCloudAiplatformV1NasJob struct { // CreateTime: Output only. Time when the NasJob was created. CreateTime string `json:"createTime,omitempty"` // DisplayName: Required. The display name of the NasJob. The name can be up to // 128 characters long and can consist of any UTF-8 characters. DisplayName string `json:"displayName,omitempty"` // EnableRestrictedImageTraining: Optional. Enable a separation of Custom model // training and restricted image training for tenant project. EnableRestrictedImageTraining bool `json:"enableRestrictedImageTraining,omitempty"` // EncryptionSpec: Customer-managed encryption key options for a NasJob. If // this is set, then all resources created by the NasJob will be encrypted with // the provided encryption key. EncryptionSpec *GoogleCloudAiplatformV1EncryptionSpec `json:"encryptionSpec,omitempty"` // EndTime: Output only. Time when the NasJob entered any of the following // states: `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED`, `JOB_STATE_CANCELLED`. EndTime string `json:"endTime,omitempty"` // Error: Output only. Only populated when job's state is JOB_STATE_FAILED or // JOB_STATE_CANCELLED. Error *GoogleRpcStatus `json:"error,omitempty"` // Labels: The labels with user-defined metadata to organize NasJobs. Label // keys and values can be no longer than 64 characters (Unicode codepoints), // can only contain lowercase letters, numeric characters, underscores and // dashes. International characters are allowed. See https://goo.gl/xmQnxf for // more information and examples of labels. Labels map[string]string `json:"labels,omitempty"` // Name: Output only. Resource name of the NasJob. Name string `json:"name,omitempty"` // NasJobOutput: Output only. Output of the NasJob. NasJobOutput *GoogleCloudAiplatformV1NasJobOutput `json:"nasJobOutput,omitempty"` // NasJobSpec: Required. The specification of a NasJob. NasJobSpec *GoogleCloudAiplatformV1NasJobSpec `json:"nasJobSpec,omitempty"` // StartTime: Output only. Time when the NasJob for the first time entered the // `JOB_STATE_RUNNING` state. StartTime string `json:"startTime,omitempty"` // State: Output only. The detailed state of the job. // // Possible values: // "JOB_STATE_UNSPECIFIED" - The job state is unspecified. // "JOB_STATE_QUEUED" - The job has been just created or resumed and // processing has not yet begun. // "JOB_STATE_PENDING" - The service is preparing to run the job. // "JOB_STATE_RUNNING" - The job is in progress. // "JOB_STATE_SUCCEEDED" - The job completed successfully. // "JOB_STATE_FAILED" - The job failed. // "JOB_STATE_CANCELLING" - The job is being cancelled. From this state the // job may only go to either `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED` or // `JOB_STATE_CANCELLED`. // "JOB_STATE_CANCELLED" - The job has been cancelled. // "JOB_STATE_PAUSED" - The job has been stopped, and can be resumed. // "JOB_STATE_EXPIRED" - The job has expired. // "JOB_STATE_UPDATING" - The job is being updated. Only jobs in the // `RUNNING` state can be updated. After updating, the job goes back to the // `RUNNING` state. // "JOB_STATE_PARTIALLY_SUCCEEDED" - The job is partially succeeded, some // results may be missing due to errors. State string `json:"state,omitempty"` // UpdateTime: Output only. Time when the NasJob was most recently updated. UpdateTime string `json:"updateTime,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "CreateTime") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CreateTime") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1NasJob) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1NasJobOutput: Represents a uCAIP NasJob output.
type GoogleCloudAiplatformV1NasJobOutput struct { // MultiTrialJobOutput: Output only. The output of this multi-trial Neural // Architecture Search (NAS) job. MultiTrialJobOutput *GoogleCloudAiplatformV1NasJobOutputMultiTrialJobOutput `json:"multiTrialJobOutput,omitempty"` // ForceSendFields is a list of field names (e.g. "MultiTrialJobOutput") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "MultiTrialJobOutput") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1NasJobOutput) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1NasJobOutputMultiTrialJobOutput: The output of a multi-trial Neural Architecture Search (NAS) jobs.
type GoogleCloudAiplatformV1NasJobOutputMultiTrialJobOutput struct { // SearchTrials: Output only. List of NasTrials that were started as part of // search stage. SearchTrials []*GoogleCloudAiplatformV1NasTrial `json:"searchTrials,omitempty"` // TrainTrials: Output only. List of NasTrials that were started as part of // train stage. TrainTrials []*GoogleCloudAiplatformV1NasTrial `json:"trainTrials,omitempty"` // ForceSendFields is a list of field names (e.g. "SearchTrials") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "SearchTrials") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1NasJobOutputMultiTrialJobOutput) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1NasJobSpec: Represents the spec of a NasJob.
type GoogleCloudAiplatformV1NasJobSpec struct { // MultiTrialAlgorithmSpec: The spec of multi-trial algorithms. MultiTrialAlgorithmSpec *GoogleCloudAiplatformV1NasJobSpecMultiTrialAlgorithmSpec `json:"multiTrialAlgorithmSpec,omitempty"` // ResumeNasJobId: The ID of the existing NasJob in the same Project and // Location which will be used to resume search. search_space_spec and // nas_algorithm_spec are obtained from previous NasJob hence should not // provide them again for this NasJob. ResumeNasJobId string `json:"resumeNasJobId,omitempty"` // SearchSpaceSpec: It defines the search space for Neural Architecture Search // (NAS). SearchSpaceSpec string `json:"searchSpaceSpec,omitempty"` // ForceSendFields is a list of field names (e.g. "MultiTrialAlgorithmSpec") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "MultiTrialAlgorithmSpec") to // include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1NasJobSpec) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1NasJobSpecMultiTrialAlgorithmSpec: The spec of multi-trial Neural Architecture Search (NAS).
type GoogleCloudAiplatformV1NasJobSpecMultiTrialAlgorithmSpec struct { // Metric: Metric specs for the NAS job. Validation for this field is done at // `multi_trial_algorithm_spec` field. Metric *GoogleCloudAiplatformV1NasJobSpecMultiTrialAlgorithmSpecMetricSpec `json:"metric,omitempty"` // MultiTrialAlgorithm: The multi-trial Neural Architecture Search (NAS) // algorithm type. Defaults to `REINFORCEMENT_LEARNING`. // // Possible values: // "MULTI_TRIAL_ALGORITHM_UNSPECIFIED" - Defaults to // `REINFORCEMENT_LEARNING`. // "REINFORCEMENT_LEARNING" - The Reinforcement Learning Algorithm for // Multi-trial Neural Architecture Search (NAS). // "GRID_SEARCH" - The Grid Search Algorithm for Multi-trial Neural // Architecture Search (NAS). MultiTrialAlgorithm string `json:"multiTrialAlgorithm,omitempty"` // SearchTrialSpec: Required. Spec for search trials. SearchTrialSpec *GoogleCloudAiplatformV1NasJobSpecMultiTrialAlgorithmSpecSearchTrialSpec `json:"searchTrialSpec,omitempty"` // TrainTrialSpec: Spec for train trials. Top N // [TrainTrialSpec.max_parallel_trial_count] search trials will be trained for // every M [TrainTrialSpec.frequency] trials searched. TrainTrialSpec *GoogleCloudAiplatformV1NasJobSpecMultiTrialAlgorithmSpecTrainTrialSpec `json:"trainTrialSpec,omitempty"` // ForceSendFields is a list of field names (e.g. "Metric") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Metric") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1NasJobSpecMultiTrialAlgorithmSpec) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1NasJobSpecMultiTrialAlgorithmSpecMetricSpec: Represents a metric to optimize.
type GoogleCloudAiplatformV1NasJobSpecMultiTrialAlgorithmSpecMetricSpec struct { // Goal: Required. The optimization goal of the metric. // // Possible values: // "GOAL_TYPE_UNSPECIFIED" - Goal Type will default to maximize. // "MAXIMIZE" - Maximize the goal metric. // "MINIMIZE" - Minimize the goal metric. Goal string `json:"goal,omitempty"` // MetricId: Required. The ID of the metric. Must not contain whitespaces. MetricId string `json:"metricId,omitempty"` // ForceSendFields is a list of field names (e.g. "Goal") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Goal") to include in API requests // with the JSON null value. By default, fields with empty values are omitted // from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1NasJobSpecMultiTrialAlgorithmSpecMetricSpec) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1NasJobSpecMultiTrialAlgorithmSpecSearchTrialSpec: Represent spec for search trials.
type GoogleCloudAiplatformV1NasJobSpecMultiTrialAlgorithmSpecSearchTrialSpec struct { // MaxFailedTrialCount: The number of failed trials that need to be seen before // failing the NasJob. If set to 0, Vertex AI decides how many trials must fail // before the whole job fails. MaxFailedTrialCount int64 `json:"maxFailedTrialCount,omitempty"` // MaxParallelTrialCount: Required. The maximum number of trials to run in // parallel. MaxParallelTrialCount int64 `json:"maxParallelTrialCount,omitempty"` // MaxTrialCount: Required. The maximum number of Neural Architecture Search // (NAS) trials to run. MaxTrialCount int64 `json:"maxTrialCount,omitempty"` // SearchTrialJobSpec: Required. The spec of a search trial job. The same spec // applies to all search trials. SearchTrialJobSpec *GoogleCloudAiplatformV1CustomJobSpec `json:"searchTrialJobSpec,omitempty"` // ForceSendFields is a list of field names (e.g. "MaxFailedTrialCount") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "MaxFailedTrialCount") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1NasJobSpecMultiTrialAlgorithmSpecSearchTrialSpec) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1NasJobSpecMultiTrialAlgorithmSpecTrainTrialSpec: Represent spec for train trials.
type GoogleCloudAiplatformV1NasJobSpecMultiTrialAlgorithmSpecTrainTrialSpec struct { // Frequency: Required. Frequency of search trials to start train stage. Top N // [TrainTrialSpec.max_parallel_trial_count] search trials will be trained for // every M [TrainTrialSpec.frequency] trials searched. Frequency int64 `json:"frequency,omitempty"` // MaxParallelTrialCount: Required. The maximum number of trials to run in // parallel. MaxParallelTrialCount int64 `json:"maxParallelTrialCount,omitempty"` // TrainTrialJobSpec: Required. The spec of a train trial job. The same spec // applies to all train trials. TrainTrialJobSpec *GoogleCloudAiplatformV1CustomJobSpec `json:"trainTrialJobSpec,omitempty"` // ForceSendFields is a list of field names (e.g. "Frequency") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Frequency") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1NasJobSpecMultiTrialAlgorithmSpecTrainTrialSpec) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1NasTrial: Represents a uCAIP NasJob trial.
type GoogleCloudAiplatformV1NasTrial struct { // EndTime: Output only. Time when the NasTrial's status changed to `SUCCEEDED` // or `INFEASIBLE`. EndTime string `json:"endTime,omitempty"` // FinalMeasurement: Output only. The final measurement containing the // objective value. FinalMeasurement *GoogleCloudAiplatformV1Measurement `json:"finalMeasurement,omitempty"` // Id: Output only. The identifier of the NasTrial assigned by the service. Id string `json:"id,omitempty"` // StartTime: Output only. Time when the NasTrial was started. StartTime string `json:"startTime,omitempty"` // State: Output only. The detailed state of the NasTrial. // // Possible values: // "STATE_UNSPECIFIED" - The NasTrial state is unspecified. // "REQUESTED" - Indicates that a specific NasTrial has been requested, but // it has not yet been suggested by the service. // "ACTIVE" - Indicates that the NasTrial has been suggested. // "STOPPING" - Indicates that the NasTrial should stop according to the // service. // "SUCCEEDED" - Indicates that the NasTrial is completed successfully. // "INFEASIBLE" - Indicates that the NasTrial should not be attempted again. // The service will set a NasTrial to INFEASIBLE when it's done but missing the // final_measurement. State string `json:"state,omitempty"` // ForceSendFields is a list of field names (e.g. "EndTime") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "EndTime") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1NasTrial) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1NasTrialDetail: Represents a NasTrial details along with its parameters. If there is a corresponding train NasTrial, the train NasTrial is also returned.
type GoogleCloudAiplatformV1NasTrialDetail struct { // Name: Output only. Resource name of the NasTrialDetail. Name string `json:"name,omitempty"` // Parameters: The parameters for the NasJob NasTrial. Parameters string `json:"parameters,omitempty"` // SearchTrial: The requested search NasTrial. SearchTrial *GoogleCloudAiplatformV1NasTrial `json:"searchTrial,omitempty"` // TrainTrial: The train NasTrial corresponding to search_trial. Only populated // if search_trial is used for training. TrainTrial *GoogleCloudAiplatformV1NasTrial `json:"trainTrial,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Name") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Name") to include in API requests // with the JSON null value. By default, fields with empty values are omitted // from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1NasTrialDetail) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1NearestNeighborQuery: A query to find a number of similar entities.
type GoogleCloudAiplatformV1NearestNeighborQuery struct { // Embedding: Optional. The embedding vector that be used for similar search. Embedding *GoogleCloudAiplatformV1NearestNeighborQueryEmbedding `json:"embedding,omitempty"` // EntityId: Optional. The entity id whose similar entities should be searched // for. If embedding is set, search will use embedding instead of entity_id. EntityId string `json:"entityId,omitempty"` // NeighborCount: Optional. The number of similar entities to be retrieved from // feature view for each query. NeighborCount int64 `json:"neighborCount,omitempty"` // Parameters: Optional. Parameters that can be set to tune query on the fly. Parameters *GoogleCloudAiplatformV1NearestNeighborQueryParameters `json:"parameters,omitempty"` // PerCrowdingAttributeNeighborCount: Optional. Crowding is a constraint on a // neighbor list produced by nearest neighbor search requiring that no more // than sper_crowding_attribute_neighbor_count of the k neighbors returned have // the same value of crowding_attribute. It's used for improving result // diversity. PerCrowdingAttributeNeighborCount int64 `json:"perCrowdingAttributeNeighborCount,omitempty"` // StringFilters: Optional. The list of string filters. StringFilters []*GoogleCloudAiplatformV1NearestNeighborQueryStringFilter `json:"stringFilters,omitempty"` // ForceSendFields is a list of field names (e.g. "Embedding") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Embedding") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1NearestNeighborQuery) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1NearestNeighborQueryEmbedding: The embedding vector.
type GoogleCloudAiplatformV1NearestNeighborQueryEmbedding struct { // Value: Optional. Individual value in the embedding. Value []float64 `json:"value,omitempty"` // ForceSendFields is a list of field names (e.g. "Value") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Value") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1NearestNeighborQueryEmbedding) MarshalJSON() ([]byte, error)
func (s *GoogleCloudAiplatformV1NearestNeighborQueryEmbedding) UnmarshalJSON(data []byte) error
GoogleCloudAiplatformV1NearestNeighborQueryParameters: Parameters that can be overrided in each query to tune query latency and recall.
type GoogleCloudAiplatformV1NearestNeighborQueryParameters struct { // ApproximateNeighborCandidates: Optional. The number of neighbors to find via // approximate search before exact reordering is performed; if set, this value // must be > neighbor_count. ApproximateNeighborCandidates int64 `json:"approximateNeighborCandidates,omitempty"` // LeafNodesSearchFraction: Optional. The fraction of the number of leaves to // search, set at query time allows user to tune search performance. This value // increase result in both search accuracy and latency increase. The value // should be between 0.0 and 1.0. LeafNodesSearchFraction float64 `json:"leafNodesSearchFraction,omitempty"` // ForceSendFields is a list of field names (e.g. // "ApproximateNeighborCandidates") to unconditionally include in API requests. // By default, fields with empty or default values are omitted from API // requests. See https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields // for more details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ApproximateNeighborCandidates") // to include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1NearestNeighborQueryParameters) MarshalJSON() ([]byte, error)
func (s *GoogleCloudAiplatformV1NearestNeighborQueryParameters) UnmarshalJSON(data []byte) error
GoogleCloudAiplatformV1NearestNeighborQueryStringFilter: String filter is used to search a subset of the entities by using boolean rules on string columns. For example: if a query specifies string filter with 'name = color, allow_tokens = {red, blue}, deny_tokens = {purple}',' then that query will match entities that are red or blue, but if those points are also purple, then they will be excluded even if they are red/blue. Only string filter is supported for now, numeric filter will be supported in the near future.
type GoogleCloudAiplatformV1NearestNeighborQueryStringFilter struct { // AllowTokens: Optional. The allowed tokens. AllowTokens []string `json:"allowTokens,omitempty"` // DenyTokens: Optional. The denied tokens. DenyTokens []string `json:"denyTokens,omitempty"` // Name: Required. Column names in BigQuery that used as filters. Name string `json:"name,omitempty"` // ForceSendFields is a list of field names (e.g. "AllowTokens") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AllowTokens") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1NearestNeighborQueryStringFilter) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1NearestNeighborSearchOperationMetadata: Runtime operation metadata with regard to Matching Engine Index.
type GoogleCloudAiplatformV1NearestNeighborSearchOperationMetadata struct { // ContentValidationStats: The validation stats of the content (per file) to be // inserted or updated on the Matching Engine Index resource. Populated if // contentsDeltaUri is provided as part of Index.metadata. Please note that, // currently for those files that are broken or has unsupported file format, we // will not have the stats for those files. ContentValidationStats []*GoogleCloudAiplatformV1NearestNeighborSearchOperationMetadataContentValidationStats `json:"contentValidationStats,omitempty"` // DataBytesCount: The ingested data size in bytes. DataBytesCount int64 `json:"dataBytesCount,omitempty,string"` // ForceSendFields is a list of field names (e.g. "ContentValidationStats") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ContentValidationStats") to // include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1NearestNeighborSearchOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudAiplatformV1NearestNeighborSearchOperationMetadataContentValidationStats struct { // InvalidRecordCount: Number of records in this file we skipped due to // validate errors. InvalidRecordCount int64 `json:"invalidRecordCount,omitempty,string"` // InvalidSparseRecordCount: Number of sparse records in this file we skipped // due to validate errors. InvalidSparseRecordCount int64 `json:"invalidSparseRecordCount,omitempty,string"` // PartialErrors: The detail information of the partial failures encountered // for those invalid records that couldn't be parsed. Up to 50 partial errors // will be reported. PartialErrors []*GoogleCloudAiplatformV1NearestNeighborSearchOperationMetadataRecordError `json:"partialErrors,omitempty"` // SourceGcsUri: Cloud Storage URI pointing to the original file in user's // bucket. SourceGcsUri string `json:"sourceGcsUri,omitempty"` // ValidRecordCount: Number of records in this file that were successfully // processed. ValidRecordCount int64 `json:"validRecordCount,omitempty,string"` // ValidSparseRecordCount: Number of sparse records in this file that were // successfully processed. ValidSparseRecordCount int64 `json:"validSparseRecordCount,omitempty,string"` // ForceSendFields is a list of field names (e.g. "InvalidRecordCount") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "InvalidRecordCount") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1NearestNeighborSearchOperationMetadataContentValidationStats) MarshalJSON() ([]byte, error)
type GoogleCloudAiplatformV1NearestNeighborSearchOperationMetadataRecordError struct { // EmbeddingId: Empty if the embedding id is failed to parse. EmbeddingId string `json:"embeddingId,omitempty"` // ErrorMessage: A human-readable message that is shown to the user to help // them fix the error. Note that this message may change from time to time, // your code should check against error_type as the source of truth. ErrorMessage string `json:"errorMessage,omitempty"` // ErrorType: The error type of this record. // // Possible values: // "ERROR_TYPE_UNSPECIFIED" - Default, shall not be used. // "EMPTY_LINE" - The record is empty. // "INVALID_JSON_SYNTAX" - Invalid json format. // "INVALID_CSV_SYNTAX" - Invalid csv format. // "INVALID_AVRO_SYNTAX" - Invalid avro format. // "INVALID_EMBEDDING_ID" - The embedding id is not valid. // "EMBEDDING_SIZE_MISMATCH" - The size of the dense embedding vectors does // not match with the specified dimension. // "NAMESPACE_MISSING" - The `namespace` field is missing. // "PARSING_ERROR" - Generic catch-all error. Only used for validation // failure where the root cause cannot be easily retrieved programmatically. // "DUPLICATE_NAMESPACE" - There are multiple restricts with the same // `namespace` value. // "OP_IN_DATAPOINT" - Numeric restrict has operator specified in datapoint. // "MULTIPLE_VALUES" - Numeric restrict has multiple values specified. // "INVALID_NUMERIC_VALUE" - Numeric restrict has invalid numeric value // specified. // "INVALID_ENCODING" - File is not in UTF_8 format. // "INVALID_SPARSE_DIMENSIONS" - Error parsing sparse dimensions field. // "INVALID_TOKEN_VALUE" - Token restrict value is invalid. // "INVALID_SPARSE_EMBEDDING" - Invalid sparse embedding. ErrorType string `json:"errorType,omitempty"` // RawRecord: The original content of this record. RawRecord string `json:"rawRecord,omitempty"` // SourceGcsUri: Cloud Storage URI pointing to the original file in user's // bucket. SourceGcsUri string `json:"sourceGcsUri,omitempty"` // ForceSendFields is a list of field names (e.g. "EmbeddingId") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "EmbeddingId") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1NearestNeighborSearchOperationMetadataRecordError) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1NearestNeighbors: Nearest neighbors for one query.
type GoogleCloudAiplatformV1NearestNeighbors struct { // Neighbors: All its neighbors. Neighbors []*GoogleCloudAiplatformV1NearestNeighborsNeighbor `json:"neighbors,omitempty"` // ForceSendFields is a list of field names (e.g. "Neighbors") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Neighbors") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1NearestNeighbors) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1NearestNeighborsNeighbor: A neighbor of the query vector.
type GoogleCloudAiplatformV1NearestNeighborsNeighbor struct { // Distance: The distance between the neighbor and the query vector. Distance float64 `json:"distance,omitempty"` // EntityId: The id of the similar entity. EntityId string `json:"entityId,omitempty"` // EntityKeyValues: The attributes of the neighbor, e.g. filters, crowding and // metadata Note that full entities are returned only when "return_full_entity" // is set to true. Otherwise, only the "entity_id" and "distance" fields are // populated. EntityKeyValues *GoogleCloudAiplatformV1FetchFeatureValuesResponse `json:"entityKeyValues,omitempty"` // ForceSendFields is a list of field names (e.g. "Distance") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Distance") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1NearestNeighborsNeighbor) MarshalJSON() ([]byte, error)
func (s *GoogleCloudAiplatformV1NearestNeighborsNeighbor) UnmarshalJSON(data []byte) error
GoogleCloudAiplatformV1Neighbor: Neighbors for example-based explanations.
type GoogleCloudAiplatformV1Neighbor struct { // NeighborDistance: Output only. The neighbor distance. NeighborDistance float64 `json:"neighborDistance,omitempty"` // NeighborId: Output only. The neighbor id. NeighborId string `json:"neighborId,omitempty"` // ForceSendFields is a list of field names (e.g. "NeighborDistance") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "NeighborDistance") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1Neighbor) MarshalJSON() ([]byte, error)
func (s *GoogleCloudAiplatformV1Neighbor) UnmarshalJSON(data []byte) error
GoogleCloudAiplatformV1NetworkSpec: Network spec.
type GoogleCloudAiplatformV1NetworkSpec struct { // EnableInternetAccess: Whether to enable public internet access. Default // false. EnableInternetAccess bool `json:"enableInternetAccess,omitempty"` // Network: The full name of the Google Compute Engine network // (https://cloud.google.com//compute/docs/networks-and-firewalls#networks) Network string `json:"network,omitempty"` // Subnetwork: The name of the subnet that this instance is in. Format: // `projects/{project_id_or_number}/regions/{region}/subnetworks/{subnetwork_id} // ` Subnetwork string `json:"subnetwork,omitempty"` // ForceSendFields is a list of field names (e.g. "EnableInternetAccess") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "EnableInternetAccess") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1NetworkSpec) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1NfsMount: Represents a mount configuration for Network File System (NFS) to mount.
type GoogleCloudAiplatformV1NfsMount struct { // MountPoint: Required. Destination mount path. The NFS will be mounted for // the user under /mnt/nfs/ MountPoint string `json:"mountPoint,omitempty"` // Path: Required. Source path exported from NFS server. Has to start with '/', // and combined with the ip address, it indicates the source mount path in the // form of `server:path` Path string `json:"path,omitempty"` // Server: Required. IP address of the NFS server. Server string `json:"server,omitempty"` // ForceSendFields is a list of field names (e.g. "MountPoint") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "MountPoint") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1NfsMount) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1NotebookEucConfig: The euc configuration of NotebookRuntimeTemplate.
type GoogleCloudAiplatformV1NotebookEucConfig struct { // BypassActasCheck: Output only. Whether ActAs check is bypassed for service // account attached to the VM. If false, we need ActAs check for the default // Compute Engine Service account. When a Runtime is created, a VM is allocated // using Default Compute Engine Service Account. Any user requesting to use // this Runtime requires Service Account User (ActAs) permission over this SA. // If true, Runtime owner is using EUC and does not require the above // permission as VM no longer use default Compute Engine SA, but a P4SA. BypassActasCheck bool `json:"bypassActasCheck,omitempty"` // EucDisabled: Input only. Whether EUC is disabled in this // NotebookRuntimeTemplate. In proto3, the default value of a boolean is false. // In this way, by default EUC will be enabled for NotebookRuntimeTemplate. EucDisabled bool `json:"eucDisabled,omitempty"` // ForceSendFields is a list of field names (e.g. "BypassActasCheck") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BypassActasCheck") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1NotebookEucConfig) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1NotebookIdleShutdownConfig: The idle shutdown configuration of NotebookRuntimeTemplate, which contains the idle_timeout as required field.
type GoogleCloudAiplatformV1NotebookIdleShutdownConfig struct { // IdleShutdownDisabled: Whether Idle Shutdown is disabled in this // NotebookRuntimeTemplate. IdleShutdownDisabled bool `json:"idleShutdownDisabled,omitempty"` // IdleTimeout: Required. Duration is accurate to the second. In Notebook, Idle // Timeout is accurate to minute so the range of idle_timeout (second) is: 10 * // 60 ~ 1440 * 60. IdleTimeout string `json:"idleTimeout,omitempty"` // ForceSendFields is a list of field names (e.g. "IdleShutdownDisabled") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "IdleShutdownDisabled") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1NotebookIdleShutdownConfig) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1NotebookReservationAffinity: Notebook Reservation Affinity for consuming Zonal reservation.
type GoogleCloudAiplatformV1NotebookReservationAffinity struct { // ConsumeReservationType: Required. Specifies the type of reservation from // which this instance can consume resources: RESERVATION_ANY (default), // RESERVATION_SPECIFIC, or RESERVATION_NONE. See Consuming reserved instances // for examples. // // Possible values: // "RESERVATION_AFFINITY_TYPE_UNSPECIFIED" - Default type. // "RESERVATION_NONE" - Do not consume from any allocated capacity. // "RESERVATION_ANY" - Consume any reservation available. // "RESERVATION_SPECIFIC" - Must consume from a specific reservation. Must // specify key value fields for specifying the reservations. ConsumeReservationType string `json:"consumeReservationType,omitempty"` // Key: Optional. Corresponds to the label key of a reservation resource. To // target a RESERVATION_SPECIFIC by name, use // compute.googleapis.com/reservation-name as the key and specify the name of // your reservation as its value. Key string `json:"key,omitempty"` // Values: Optional. Corresponds to the label values of a reservation resource. // This must be the full path name of Reservation. Values []string `json:"values,omitempty"` // ForceSendFields is a list of field names (e.g. "ConsumeReservationType") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ConsumeReservationType") to // include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1NotebookReservationAffinity) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1NotebookRuntime: A runtime is a virtual machine allocated to a particular user for a particular Notebook file on temporary basis with lifetime limited to 24 hours.
type GoogleCloudAiplatformV1NotebookRuntime struct { // CreateTime: Output only. Timestamp when this NotebookRuntime was created. CreateTime string `json:"createTime,omitempty"` // Description: The description of the NotebookRuntime. Description string `json:"description,omitempty"` // DisplayName: Required. The display name of the NotebookRuntime. The name can // be up to 128 characters long and can consist of any UTF-8 characters. DisplayName string `json:"displayName,omitempty"` // ExpirationTime: Output only. Timestamp when this NotebookRuntime will be // expired: 1. System Predefined NotebookRuntime: 24 hours after creation. // After expiration, system predifined runtime will be deleted. 2. User created // NotebookRuntime: 6 months after last upgrade. After expiration, user created // runtime will be stopped and allowed for upgrade. ExpirationTime string `json:"expirationTime,omitempty"` // HealthState: Output only. The health state of the NotebookRuntime. // // Possible values: // "HEALTH_STATE_UNSPECIFIED" - Unspecified health state. // "HEALTHY" - NotebookRuntime is in healthy state. Applies to ACTIVE state. // "UNHEALTHY" - NotebookRuntime is in unhealthy state. Applies to ACTIVE // state. HealthState string `json:"healthState,omitempty"` // IsUpgradable: Output only. Whether NotebookRuntime is upgradable. IsUpgradable bool `json:"isUpgradable,omitempty"` // Labels: The labels with user-defined metadata to organize your // NotebookRuntime. Label keys and values can be no longer than 64 characters // (Unicode codepoints), can only contain lowercase letters, numeric // characters, underscores and dashes. International characters are allowed. No // more than 64 user labels can be associated with one NotebookRuntime (System // labels are excluded). See https://goo.gl/xmQnxf for more information and // examples of labels. System reserved label keys are prefixed with // "aiplatform.googleapis.com/" and are immutable. Following system labels // exist for NotebookRuntime: * // "aiplatform.googleapis.com/notebook_runtime_gce_instance_id": output only, // its value is the Compute Engine instance id. * // "aiplatform.googleapis.com/colab_enterprise_entry_service": its value is // either "bigquery" or "vertex"; if absent, it should be "vertex". This is to // describe the entry service, either BigQuery or Vertex. Labels map[string]string `json:"labels,omitempty"` // Name: Output only. The resource name of the NotebookRuntime. Name string `json:"name,omitempty"` // NetworkTags: Optional. The Compute Engine tags to add to runtime (see // Tagging instances // (https://cloud.google.com/vpc/docs/add-remove-network-tags)). NetworkTags []string `json:"networkTags,omitempty"` // NotebookRuntimeTemplateRef: Output only. The pointer to // NotebookRuntimeTemplate this NotebookRuntime is created from. NotebookRuntimeTemplateRef *GoogleCloudAiplatformV1NotebookRuntimeTemplateRef `json:"notebookRuntimeTemplateRef,omitempty"` // NotebookRuntimeType: Output only. The type of the notebook runtime. // // Possible values: // "NOTEBOOK_RUNTIME_TYPE_UNSPECIFIED" - Unspecified notebook runtime type, // NotebookRuntimeType will default to USER_DEFINED. // "USER_DEFINED" - runtime or template with coustomized configurations from // user. // "ONE_CLICK" - runtime or template with system defined configurations. NotebookRuntimeType string `json:"notebookRuntimeType,omitempty"` // ProxyUri: Output only. The proxy endpoint used to access the // NotebookRuntime. ProxyUri string `json:"proxyUri,omitempty"` // ReservationAffinity: Output only. Reservation Affinity of the notebook // runtime. ReservationAffinity *GoogleCloudAiplatformV1NotebookReservationAffinity `json:"reservationAffinity,omitempty"` // RuntimeState: Output only. The runtime (instance) state of the // NotebookRuntime. // // Possible values: // "RUNTIME_STATE_UNSPECIFIED" - Unspecified runtime state. // "RUNNING" - NotebookRuntime is in running state. // "BEING_STARTED" - NotebookRuntime is in starting state. // "BEING_STOPPED" - NotebookRuntime is in stopping state. // "STOPPED" - NotebookRuntime is in stopped state. // "BEING_UPGRADED" - NotebookRuntime is in upgrading state. It is in the // middle of upgrading process. // "ERROR" - NotebookRuntime was unable to start/stop properly. // "INVALID" - NotebookRuntime is in invalid state. Cannot be recovered. RuntimeState string `json:"runtimeState,omitempty"` // RuntimeUser: Required. The user email of the NotebookRuntime. RuntimeUser string `json:"runtimeUser,omitempty"` // SatisfiesPzi: Output only. Reserved for future use. SatisfiesPzi bool `json:"satisfiesPzi,omitempty"` // SatisfiesPzs: Output only. Reserved for future use. SatisfiesPzs bool `json:"satisfiesPzs,omitempty"` // ServiceAccount: Output only. The service account that the NotebookRuntime // workload runs as. ServiceAccount string `json:"serviceAccount,omitempty"` // UpdateTime: Output only. Timestamp when this NotebookRuntime was most // recently updated. UpdateTime string `json:"updateTime,omitempty"` // Version: Output only. The VM os image version of NotebookRuntime. Version string `json:"version,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "CreateTime") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CreateTime") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1NotebookRuntime) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1NotebookRuntimeTemplate: A template that specifies runtime configurations such as machine type, runtime version, network configurations, etc. Multiple runtimes can be created from a runtime template.
type GoogleCloudAiplatformV1NotebookRuntimeTemplate struct { // CreateTime: Output only. Timestamp when this NotebookRuntimeTemplate was // created. CreateTime string `json:"createTime,omitempty"` // DataPersistentDiskSpec: Optional. The specification of persistent disk // attached to the runtime as data disk storage. DataPersistentDiskSpec *GoogleCloudAiplatformV1PersistentDiskSpec `json:"dataPersistentDiskSpec,omitempty"` // Description: The description of the NotebookRuntimeTemplate. Description string `json:"description,omitempty"` // DisplayName: Required. The display name of the NotebookRuntimeTemplate. The // name can be up to 128 characters long and can consist of any UTF-8 // characters. DisplayName string `json:"displayName,omitempty"` // Etag: Used to perform consistent read-modify-write updates. If not set, a // blind "overwrite" update happens. Etag string `json:"etag,omitempty"` // EucConfig: EUC configuration of the NotebookRuntimeTemplate. EucConfig *GoogleCloudAiplatformV1NotebookEucConfig `json:"eucConfig,omitempty"` // IdleShutdownConfig: The idle shutdown configuration of // NotebookRuntimeTemplate. This config will only be set when idle shutdown is // enabled. IdleShutdownConfig *GoogleCloudAiplatformV1NotebookIdleShutdownConfig `json:"idleShutdownConfig,omitempty"` // IsDefault: Output only. The default template to use if not specified. IsDefault bool `json:"isDefault,omitempty"` // Labels: The labels with user-defined metadata to organize the // NotebookRuntimeTemplates. Label keys and values can be no longer than 64 // characters (Unicode codepoints), can only contain lowercase letters, numeric // characters, underscores and dashes. International characters are allowed. // See https://goo.gl/xmQnxf for more information and examples of labels. Labels map[string]string `json:"labels,omitempty"` // MachineSpec: Optional. Immutable. The specification of a single machine for // the template. MachineSpec *GoogleCloudAiplatformV1MachineSpec `json:"machineSpec,omitempty"` // Name: The resource name of the NotebookRuntimeTemplate. Name string `json:"name,omitempty"` // NetworkSpec: Optional. Network spec. NetworkSpec *GoogleCloudAiplatformV1NetworkSpec `json:"networkSpec,omitempty"` // NetworkTags: Optional. The Compute Engine tags to add to runtime (see // Tagging instances // (https://cloud.google.com/vpc/docs/add-remove-network-tags)). NetworkTags []string `json:"networkTags,omitempty"` // NotebookRuntimeType: Optional. Immutable. The type of the notebook runtime // template. // // Possible values: // "NOTEBOOK_RUNTIME_TYPE_UNSPECIFIED" - Unspecified notebook runtime type, // NotebookRuntimeType will default to USER_DEFINED. // "USER_DEFINED" - runtime or template with coustomized configurations from // user. // "ONE_CLICK" - runtime or template with system defined configurations. NotebookRuntimeType string `json:"notebookRuntimeType,omitempty"` // ReservationAffinity: Optional. Reservation Affinity of the notebook runtime // template. ReservationAffinity *GoogleCloudAiplatformV1NotebookReservationAffinity `json:"reservationAffinity,omitempty"` // ServiceAccount: The service account that the runtime workload runs as. You // can use any service account within the same project, but you must have the // service account user permission to use the instance. If not specified, the // Compute Engine default service account // (https://cloud.google.com/compute/docs/access/service-accounts#default_service_account) // is used. ServiceAccount string `json:"serviceAccount,omitempty"` // ShieldedVmConfig: Optional. Immutable. Runtime Shielded VM spec. ShieldedVmConfig *GoogleCloudAiplatformV1ShieldedVmConfig `json:"shieldedVmConfig,omitempty"` // UpdateTime: Output only. Timestamp when this NotebookRuntimeTemplate was // most recently updated. UpdateTime string `json:"updateTime,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "CreateTime") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CreateTime") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1NotebookRuntimeTemplate) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1NotebookRuntimeTemplateRef: Points to a NotebookRuntimeTemplateRef.
type GoogleCloudAiplatformV1NotebookRuntimeTemplateRef struct { // NotebookRuntimeTemplate: Immutable. A resource name of the // NotebookRuntimeTemplate. NotebookRuntimeTemplate string `json:"notebookRuntimeTemplate,omitempty"` // ForceSendFields is a list of field names (e.g. "NotebookRuntimeTemplate") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "NotebookRuntimeTemplate") to // include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1NotebookRuntimeTemplateRef) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1Part: A datatype containing media that is part of a multi-part `Content` message. A `Part` consists of data which has an associated datatype. A `Part` can only contain one of the accepted types in `Part.data`. A `Part` must have a fixed IANA MIME type identifying the type and subtype of the media if `inline_data` or `file_data` field is filled with raw bytes.
type GoogleCloudAiplatformV1Part struct { // FileData: Optional. URI based data. FileData *GoogleCloudAiplatformV1FileData `json:"fileData,omitempty"` // FunctionCall: Optional. A predicted [FunctionCall] returned from the model // that contains a string representing the [FunctionDeclaration.name] with the // parameters and their values. FunctionCall *GoogleCloudAiplatformV1FunctionCall `json:"functionCall,omitempty"` // FunctionResponse: Optional. The result output of a [FunctionCall] that // contains a string representing the [FunctionDeclaration.name] and a // structured JSON object containing any output from the function call. It is // used as context to the model. FunctionResponse *GoogleCloudAiplatformV1FunctionResponse `json:"functionResponse,omitempty"` // InlineData: Optional. Inlined bytes data. InlineData *GoogleCloudAiplatformV1Blob `json:"inlineData,omitempty"` // Text: Optional. Text part (can be code). Text string `json:"text,omitempty"` // VideoMetadata: Optional. Video metadata. The metadata should only be // specified while the video data is presented in inline_data or file_data. VideoMetadata *GoogleCloudAiplatformV1VideoMetadata `json:"videoMetadata,omitempty"` // ForceSendFields is a list of field names (e.g. "FileData") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "FileData") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1Part) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1PauseModelDeploymentMonitoringJobRequest: Request message for JobService.PauseModelDeploymentMonitoringJob.
type GoogleCloudAiplatformV1PauseModelDeploymentMonitoringJobRequest struct { }
GoogleCloudAiplatformV1PauseScheduleRequest: Request message for ScheduleService.PauseSchedule.
type GoogleCloudAiplatformV1PauseScheduleRequest struct { }
GoogleCloudAiplatformV1PersistentDiskSpec: Represents the spec of persistent disk options.
type GoogleCloudAiplatformV1PersistentDiskSpec struct { // DiskSizeGb: Size in GB of the disk (default is 100GB). DiskSizeGb int64 `json:"diskSizeGb,omitempty,string"` // DiskType: Type of the disk (default is "pd-standard"). Valid values: // "pd-ssd" (Persistent Disk Solid State Drive) "pd-standard" (Persistent Disk // Hard Disk Drive) "pd-balanced" (Balanced Persistent Disk) "pd-extreme" // (Extreme Persistent Disk) DiskType string `json:"diskType,omitempty"` // ForceSendFields is a list of field names (e.g. "DiskSizeGb") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DiskSizeGb") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1PersistentDiskSpec) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1PersistentResource: Represents long-lasting resources that are dedicated to users to runs custom workloads. A PersistentResource can have multiple node pools and each node pool can have its own machine spec.
type GoogleCloudAiplatformV1PersistentResource struct { // CreateTime: Output only. Time when the PersistentResource was created. CreateTime string `json:"createTime,omitempty"` // DisplayName: Optional. The display name of the PersistentResource. The name // can be up to 128 characters long and can consist of any UTF-8 characters. DisplayName string `json:"displayName,omitempty"` // EncryptionSpec: Optional. Customer-managed encryption key spec for a // PersistentResource. If set, this PersistentResource and all sub-resources of // this PersistentResource will be secured by this key. EncryptionSpec *GoogleCloudAiplatformV1EncryptionSpec `json:"encryptionSpec,omitempty"` // Error: Output only. Only populated when persistent resource's state is // `STOPPING` or `ERROR`. Error *GoogleRpcStatus `json:"error,omitempty"` // Labels: Optional. The labels with user-defined metadata to organize // PersistentResource. Label keys and values can be no longer than 64 // characters (Unicode codepoints), can only contain lowercase letters, numeric // characters, underscores and dashes. International characters are allowed. // See https://goo.gl/xmQnxf for more information and examples of labels. Labels map[string]string `json:"labels,omitempty"` // Name: Immutable. Resource name of a PersistentResource. Name string `json:"name,omitempty"` // Network: Optional. The full name of the Compute Engine network // (/compute/docs/networks-and-firewalls#networks) to peered with Vertex AI to // host the persistent resources. For example, // `projects/12345/global/networks/myVPC`. Format // (/compute/docs/reference/rest/v1/networks/insert) is of the form // `projects/{project}/global/networks/{network}`. Where {project} is a project // number, as in `12345`, and {network} is a network name. To specify this // field, you must have already configured VPC Network Peering for Vertex AI // (https://cloud.google.com/vertex-ai/docs/general/vpc-peering). If this field // is left unspecified, the resources aren't peered with any network. Network string `json:"network,omitempty"` // ReservedIpRanges: Optional. A list of names for the reserved IP ranges under // the VPC network that can be used for this persistent resource. If set, we // will deploy the persistent resource within the provided IP ranges. // Otherwise, the persistent resource is deployed to any IP ranges under the // provided VPC network. Example: ['vertex-ai-ip-range']. ReservedIpRanges []string `json:"reservedIpRanges,omitempty"` // ResourcePools: Required. The spec of the pools of different resources. ResourcePools []*GoogleCloudAiplatformV1ResourcePool `json:"resourcePools,omitempty"` // ResourceRuntime: Output only. Runtime information of the Persistent // Resource. ResourceRuntime *GoogleCloudAiplatformV1ResourceRuntime `json:"resourceRuntime,omitempty"` // ResourceRuntimeSpec: Optional. Persistent Resource runtime spec. For // example, used for Ray cluster configuration. ResourceRuntimeSpec *GoogleCloudAiplatformV1ResourceRuntimeSpec `json:"resourceRuntimeSpec,omitempty"` // StartTime: Output only. Time when the PersistentResource for the first time // entered the `RUNNING` state. StartTime string `json:"startTime,omitempty"` // State: Output only. The detailed state of a Study. // // Possible values: // "STATE_UNSPECIFIED" - Not set. // "PROVISIONING" - The PROVISIONING state indicates the persistent resources // is being created. // "RUNNING" - The RUNNING state indicates the persistent resource is healthy // and fully usable. // "STOPPING" - The STOPPING state indicates the persistent resource is being // deleted. // "ERROR" - The ERROR state indicates the persistent resource may be // unusable. Details can be found in the `error` field. // "REBOOTING" - The REBOOTING state indicates the persistent resource is // being rebooted (PR is not available right now but is expected to be ready // again later). // "UPDATING" - The UPDATING state indicates the persistent resource is being // updated. State string `json:"state,omitempty"` // UpdateTime: Output only. Time when the PersistentResource was most recently // updated. UpdateTime string `json:"updateTime,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "CreateTime") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CreateTime") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1PersistentResource) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1PipelineJob: An instance of a machine learning PipelineJob.
type GoogleCloudAiplatformV1PipelineJob struct { // CreateTime: Output only. Pipeline creation time. CreateTime string `json:"createTime,omitempty"` // DisplayName: The display name of the Pipeline. The name can be up to 128 // characters long and can consist of any UTF-8 characters. DisplayName string `json:"displayName,omitempty"` // EncryptionSpec: Customer-managed encryption key spec for a pipelineJob. If // set, this PipelineJob and all of its sub-resources will be secured by this // key. EncryptionSpec *GoogleCloudAiplatformV1EncryptionSpec `json:"encryptionSpec,omitempty"` // EndTime: Output only. Pipeline end time. EndTime string `json:"endTime,omitempty"` // Error: Output only. The error that occurred during pipeline execution. Only // populated when the pipeline's state is FAILED or CANCELLED. Error *GoogleRpcStatus `json:"error,omitempty"` // JobDetail: Output only. The details of pipeline run. Not available in the // list view. JobDetail *GoogleCloudAiplatformV1PipelineJobDetail `json:"jobDetail,omitempty"` // Labels: The labels with user-defined metadata to organize PipelineJob. Label // keys and values can be no longer than 64 characters (Unicode codepoints), // can only contain lowercase letters, numeric characters, underscores and // dashes. International characters are allowed. See https://goo.gl/xmQnxf for // more information and examples of labels. Note there is some reserved label // key for Vertex AI Pipelines. - `vertex-ai-pipelines-run-billing-id`, user // set value will get overrided. Labels map[string]string `json:"labels,omitempty"` // Name: Output only. The resource name of the PipelineJob. Name string `json:"name,omitempty"` // Network: The full name of the Compute Engine network // (/compute/docs/networks-and-firewalls#networks) to which the Pipeline Job's // workload should be peered. For example, // `projects/12345/global/networks/myVPC`. Format // (/compute/docs/reference/rest/v1/networks/insert) is of the form // `projects/{project}/global/networks/{network}`. Where {project} is a project // number, as in `12345`, and {network} is a network name. Private services // access must already be configured for the network. Pipeline job will apply // the network configuration to the Google Cloud resources being launched, if // applied, such as Vertex AI Training or Dataflow job. If left unspecified, // the workload is not peered with any network. Network string `json:"network,omitempty"` // PipelineSpec: The spec of the pipeline. PipelineSpec googleapi.RawMessage `json:"pipelineSpec,omitempty"` // ReservedIpRanges: A list of names for the reserved ip ranges under the VPC // network that can be used for this Pipeline Job's workload. If set, we will // deploy the Pipeline Job's workload within the provided ip ranges. Otherwise, // the job will be deployed to any ip ranges under the provided VPC network. // Example: ['vertex-ai-ip-range']. ReservedIpRanges []string `json:"reservedIpRanges,omitempty"` // RuntimeConfig: Runtime config of the pipeline. RuntimeConfig *GoogleCloudAiplatformV1PipelineJobRuntimeConfig `json:"runtimeConfig,omitempty"` // ScheduleName: Output only. The schedule resource name. Only returned if the // Pipeline is created by Schedule API. ScheduleName string `json:"scheduleName,omitempty"` // ServiceAccount: The service account that the pipeline workload runs as. If // not specified, the Compute Engine default service account in the project // will be used. See // https://cloud.google.com/compute/docs/access/service-accounts#default_service_account // Users starting the pipeline must have the `iam.serviceAccounts.actAs` // permission on this service account. ServiceAccount string `json:"serviceAccount,omitempty"` // StartTime: Output only. Pipeline start time. StartTime string `json:"startTime,omitempty"` // State: Output only. The detailed state of the job. // // Possible values: // "PIPELINE_STATE_UNSPECIFIED" - The pipeline state is unspecified. // "PIPELINE_STATE_QUEUED" - The pipeline has been created or resumed, and // processing has not yet begun. // "PIPELINE_STATE_PENDING" - The service is preparing to run the pipeline. // "PIPELINE_STATE_RUNNING" - The pipeline is in progress. // "PIPELINE_STATE_SUCCEEDED" - The pipeline completed successfully. // "PIPELINE_STATE_FAILED" - The pipeline failed. // "PIPELINE_STATE_CANCELLING" - The pipeline is being cancelled. From this // state, the pipeline may only go to either PIPELINE_STATE_SUCCEEDED, // PIPELINE_STATE_FAILED or PIPELINE_STATE_CANCELLED. // "PIPELINE_STATE_CANCELLED" - The pipeline has been cancelled. // "PIPELINE_STATE_PAUSED" - The pipeline has been stopped, and can be // resumed. State string `json:"state,omitempty"` // TemplateMetadata: Output only. Pipeline template metadata. Will fill up // fields if PipelineJob.template_uri is from supported template registry. TemplateMetadata *GoogleCloudAiplatformV1PipelineTemplateMetadata `json:"templateMetadata,omitempty"` // TemplateUri: A template uri from where the PipelineJob.pipeline_spec, if // empty, will be downloaded. Currently, only uri from Vertex Template Registry // & Gallery is supported. Reference to // https://cloud.google.com/vertex-ai/docs/pipelines/create-pipeline-template. TemplateUri string `json:"templateUri,omitempty"` // UpdateTime: Output only. Timestamp when this PipelineJob was most recently // updated. UpdateTime string `json:"updateTime,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "CreateTime") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CreateTime") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1PipelineJob) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1PipelineJobDetail: The runtime detail of PipelineJob.
type GoogleCloudAiplatformV1PipelineJobDetail struct { // PipelineContext: Output only. The context of the pipeline. PipelineContext *GoogleCloudAiplatformV1Context `json:"pipelineContext,omitempty"` // PipelineRunContext: Output only. The context of the current pipeline run. PipelineRunContext *GoogleCloudAiplatformV1Context `json:"pipelineRunContext,omitempty"` // TaskDetails: Output only. The runtime details of the tasks under the // pipeline. TaskDetails []*GoogleCloudAiplatformV1PipelineTaskDetail `json:"taskDetails,omitempty"` // ForceSendFields is a list of field names (e.g. "PipelineContext") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "PipelineContext") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1PipelineJobDetail) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1PipelineJobRuntimeConfig: The runtime config of a PipelineJob.
type GoogleCloudAiplatformV1PipelineJobRuntimeConfig struct { // FailurePolicy: Represents the failure policy of a pipeline. Currently, the // default of a pipeline is that the pipeline will continue to run until no // more tasks can be executed, also known as PIPELINE_FAILURE_POLICY_FAIL_SLOW. // However, if a pipeline is set to PIPELINE_FAILURE_POLICY_FAIL_FAST, it will // stop scheduling any new tasks when a task has failed. Any scheduled tasks // will continue to completion. // // Possible values: // "PIPELINE_FAILURE_POLICY_UNSPECIFIED" - Default value, and follows fail // slow behavior. // "PIPELINE_FAILURE_POLICY_FAIL_SLOW" - Indicates that the pipeline should // continue to run until all possible tasks have been scheduled and completed. // "PIPELINE_FAILURE_POLICY_FAIL_FAST" - Indicates that the pipeline should // stop scheduling new tasks after a task has failed. FailurePolicy string `json:"failurePolicy,omitempty"` // GcsOutputDirectory: Required. A path in a Cloud Storage bucket, which will // be treated as the root output directory of the pipeline. It is used by the // system to generate the paths of output artifacts. The artifact paths are // generated with a sub-path pattern `{job_id}/{task_id}/{output_key}` under // the specified output directory. The service account specified in this // pipeline must have the `storage.objects.get` and `storage.objects.create` // permissions for this bucket. GcsOutputDirectory string `json:"gcsOutputDirectory,omitempty"` // InputArtifacts: The runtime artifacts of the PipelineJob. The key will be // the input artifact name and the value would be one of the InputArtifact. InputArtifacts map[string]GoogleCloudAiplatformV1PipelineJobRuntimeConfigInputArtifact `json:"inputArtifacts,omitempty"` // ParameterValues: The runtime parameters of the PipelineJob. The parameters // will be passed into PipelineJob.pipeline_spec to replace the placeholders at // runtime. This field is used by pipelines built using // `PipelineJob.pipeline_spec.schema_version` 2.1.0, such as pipelines built // using Kubeflow Pipelines SDK 1.9 or higher and the v2 DSL. ParameterValues googleapi.RawMessage `json:"parameterValues,omitempty"` // Parameters: Deprecated. Use RuntimeConfig.parameter_values instead. The // runtime parameters of the PipelineJob. The parameters will be passed into // PipelineJob.pipeline_spec to replace the placeholders at runtime. This field // is used by pipelines built using `PipelineJob.pipeline_spec.schema_version` // 2.0.0 or lower, such as pipelines built using Kubeflow Pipelines SDK 1.8 or // lower. Parameters map[string]GoogleCloudAiplatformV1Value `json:"parameters,omitempty"` // ForceSendFields is a list of field names (e.g. "FailurePolicy") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "FailurePolicy") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1PipelineJobRuntimeConfig) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1PipelineJobRuntimeConfigInputArtifact: The type of an input artifact.
type GoogleCloudAiplatformV1PipelineJobRuntimeConfigInputArtifact struct { // ArtifactId: Artifact resource id from MLMD. Which is the last portion of an // artifact resource name: // `projects/{project}/locations/{location}/metadataStores/default/artifacts/{ar // tifact_id}`. The artifact must stay within the same project, location and // default metadatastore as the pipeline. ArtifactId string `json:"artifactId,omitempty"` // ForceSendFields is a list of field names (e.g. "ArtifactId") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ArtifactId") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1PipelineJobRuntimeConfigInputArtifact) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1PipelineTaskDetail: The runtime detail of a task execution.
type GoogleCloudAiplatformV1PipelineTaskDetail struct { // CreateTime: Output only. Task create time. CreateTime string `json:"createTime,omitempty"` // EndTime: Output only. Task end time. EndTime string `json:"endTime,omitempty"` // Error: Output only. The error that occurred during task execution. Only // populated when the task's state is FAILED or CANCELLED. Error *GoogleRpcStatus `json:"error,omitempty"` // Execution: Output only. The execution metadata of the task. Execution *GoogleCloudAiplatformV1Execution `json:"execution,omitempty"` // ExecutorDetail: Output only. The detailed execution info. ExecutorDetail *GoogleCloudAiplatformV1PipelineTaskExecutorDetail `json:"executorDetail,omitempty"` // Inputs: Output only. The runtime input artifacts of the task. Inputs map[string]GoogleCloudAiplatformV1PipelineTaskDetailArtifactList `json:"inputs,omitempty"` // Outputs: Output only. The runtime output artifacts of the task. Outputs map[string]GoogleCloudAiplatformV1PipelineTaskDetailArtifactList `json:"outputs,omitempty"` // ParentTaskId: Output only. The id of the parent task if the task is within a // component scope. Empty if the task is at the root level. ParentTaskId int64 `json:"parentTaskId,omitempty,string"` // PipelineTaskStatus: Output only. A list of task status. This field keeps a // record of task status evolving over time. PipelineTaskStatus []*GoogleCloudAiplatformV1PipelineTaskDetailPipelineTaskStatus `json:"pipelineTaskStatus,omitempty"` // StartTime: Output only. Task start time. StartTime string `json:"startTime,omitempty"` // State: Output only. State of the task. // // Possible values: // "STATE_UNSPECIFIED" - Unspecified. // "PENDING" - Specifies pending state for the task. // "RUNNING" - Specifies task is being executed. // "SUCCEEDED" - Specifies task completed successfully. // "CANCEL_PENDING" - Specifies Task cancel is in pending state. // "CANCELLING" - Specifies task is being cancelled. // "CANCELLED" - Specifies task was cancelled. // "FAILED" - Specifies task failed. // "SKIPPED" - Specifies task was skipped due to cache hit. // "NOT_TRIGGERED" - Specifies that the task was not triggered because the // task's trigger policy is not satisfied. The trigger policy is specified in // the `condition` field of PipelineJob.pipeline_spec. State string `json:"state,omitempty"` // TaskId: Output only. The system generated ID of the task. TaskId int64 `json:"taskId,omitempty,string"` // TaskName: Output only. The user specified name of the task that is defined // in pipeline_spec. TaskName string `json:"taskName,omitempty"` // ForceSendFields is a list of field names (e.g. "CreateTime") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CreateTime") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1PipelineTaskDetail) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1PipelineTaskDetailArtifactList: A list of artifact metadata.
type GoogleCloudAiplatformV1PipelineTaskDetailArtifactList struct { // Artifacts: Output only. A list of artifact metadata. Artifacts []*GoogleCloudAiplatformV1Artifact `json:"artifacts,omitempty"` // ForceSendFields is a list of field names (e.g. "Artifacts") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Artifacts") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1PipelineTaskDetailArtifactList) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1PipelineTaskDetailPipelineTaskStatus: A single record of the task status.
type GoogleCloudAiplatformV1PipelineTaskDetailPipelineTaskStatus struct { // Error: Output only. The error that occurred during the state. May be set // when the state is any of the non-final state (PENDING/RUNNING/CANCELLING) or // FAILED state. If the state is FAILED, the error here is final and not going // to be retried. If the state is a non-final state, the error indicates a // system-error being retried. Error *GoogleRpcStatus `json:"error,omitempty"` // State: Output only. The state of the task. // // Possible values: // "STATE_UNSPECIFIED" - Unspecified. // "PENDING" - Specifies pending state for the task. // "RUNNING" - Specifies task is being executed. // "SUCCEEDED" - Specifies task completed successfully. // "CANCEL_PENDING" - Specifies Task cancel is in pending state. // "CANCELLING" - Specifies task is being cancelled. // "CANCELLED" - Specifies task was cancelled. // "FAILED" - Specifies task failed. // "SKIPPED" - Specifies task was skipped due to cache hit. // "NOT_TRIGGERED" - Specifies that the task was not triggered because the // task's trigger policy is not satisfied. The trigger policy is specified in // the `condition` field of PipelineJob.pipeline_spec. State string `json:"state,omitempty"` // UpdateTime: Output only. Update time of this status. UpdateTime string `json:"updateTime,omitempty"` // ForceSendFields is a list of field names (e.g. "Error") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Error") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1PipelineTaskDetailPipelineTaskStatus) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1PipelineTaskExecutorDetail: The runtime detail of a pipeline executor.
type GoogleCloudAiplatformV1PipelineTaskExecutorDetail struct { // ContainerDetail: Output only. The detailed info for a container executor. ContainerDetail *GoogleCloudAiplatformV1PipelineTaskExecutorDetailContainerDetail `json:"containerDetail,omitempty"` // CustomJobDetail: Output only. The detailed info for a custom job executor. CustomJobDetail *GoogleCloudAiplatformV1PipelineTaskExecutorDetailCustomJobDetail `json:"customJobDetail,omitempty"` // ForceSendFields is a list of field names (e.g. "ContainerDetail") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ContainerDetail") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1PipelineTaskExecutorDetail) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1PipelineTaskExecutorDetailContainerDetail: The detail of a container execution. It contains the job names of the lifecycle of a container execution.
type GoogleCloudAiplatformV1PipelineTaskExecutorDetailContainerDetail struct { // FailedMainJobs: Output only. The names of the previously failed CustomJob // for the main container executions. The list includes the all attempts in // chronological order. FailedMainJobs []string `json:"failedMainJobs,omitempty"` // FailedPreCachingCheckJobs: Output only. The names of the previously failed // CustomJob for the pre-caching-check container executions. This job will be // available if the PipelineJob.pipeline_spec specifies the `pre_caching_check` // hook in the lifecycle events. The list includes the all attempts in // chronological order. FailedPreCachingCheckJobs []string `json:"failedPreCachingCheckJobs,omitempty"` // MainJob: Output only. The name of the CustomJob for the main container // execution. MainJob string `json:"mainJob,omitempty"` // PreCachingCheckJob: Output only. The name of the CustomJob for the // pre-caching-check container execution. This job will be available if the // PipelineJob.pipeline_spec specifies the `pre_caching_check` hook in the // lifecycle events. PreCachingCheckJob string `json:"preCachingCheckJob,omitempty"` // ForceSendFields is a list of field names (e.g. "FailedMainJobs") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "FailedMainJobs") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1PipelineTaskExecutorDetailContainerDetail) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1PipelineTaskExecutorDetailCustomJobDetail: The detailed info for a custom job executor.
type GoogleCloudAiplatformV1PipelineTaskExecutorDetailCustomJobDetail struct { // FailedJobs: Output only. The names of the previously failed CustomJob. The // list includes the all attempts in chronological order. FailedJobs []string `json:"failedJobs,omitempty"` // Job: Output only. The name of the CustomJob. Job string `json:"job,omitempty"` // ForceSendFields is a list of field names (e.g. "FailedJobs") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "FailedJobs") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1PipelineTaskExecutorDetailCustomJobDetail) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1PipelineTemplateMetadata: Pipeline template metadata if PipelineJob.template_uri is from supported template registry. Currently, the only supported registry is Artifact Registry.
type GoogleCloudAiplatformV1PipelineTemplateMetadata struct { // Version: The version_name in artifact registry. Will always be presented in // output if the PipelineJob.template_uri is from supported template registry. // Format is "sha256:abcdef123456...". Version string `json:"version,omitempty"` // ForceSendFields is a list of field names (e.g. "Version") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Version") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1PipelineTemplateMetadata) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1Port: Represents a network port in a container.
type GoogleCloudAiplatformV1Port struct { // ContainerPort: The number of the port to expose on the pod's IP address. // Must be a valid port number, between 1 and 65535 inclusive. ContainerPort int64 `json:"containerPort,omitempty"` // ForceSendFields is a list of field names (e.g. "ContainerPort") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ContainerPort") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1Port) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1PredefinedSplit: Assigns input data to training, validation, and test sets based on the value of a provided key. Supported only for tabular Datasets.
type GoogleCloudAiplatformV1PredefinedSplit struct { // Key: Required. The key is a name of one of the Dataset's data columns. The // value of the key (either the label's value or value in the column) must be // one of {`training`, `validation`, `test`}, and it defines to which set the // given piece of data is assigned. If for a piece of data the key is not // present or has an invalid value, that piece is ignored by the pipeline. Key string `json:"key,omitempty"` // ForceSendFields is a list of field names (e.g. "Key") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Key") to include in API requests // with the JSON null value. By default, fields with empty values are omitted // from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1PredefinedSplit) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1PredictRequest: Request message for PredictionService.Predict.
type GoogleCloudAiplatformV1PredictRequest struct { // Instances: Required. The instances that are the input to the prediction // call. A DeployedModel may have an upper limit on the number of instances it // supports per request, and when it is exceeded the prediction call errors in // case of AutoML Models, or, in case of customer created Models, the behaviour // is as documented by that Model. The schema of any single instance may be // specified via Endpoint's DeployedModels' Model's PredictSchemata's // instance_schema_uri. Instances []interface{} `json:"instances,omitempty"` // Parameters: The parameters that govern the prediction. The schema of the // parameters may be specified via Endpoint's DeployedModels' Model's // PredictSchemata's parameters_schema_uri. Parameters interface{} `json:"parameters,omitempty"` // ForceSendFields is a list of field names (e.g. "Instances") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Instances") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1PredictRequest) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1PredictRequestResponseLoggingConfig: Configuration for logging request-response to a BigQuery table.
type GoogleCloudAiplatformV1PredictRequestResponseLoggingConfig struct { // BigqueryDestination: BigQuery table for logging. If only given a project, a // new dataset will be created with name `logging__` where will be made // BigQuery-dataset-name compatible (e.g. most special characters will become // underscores). If no table name is given, a new table will be created with // name `request_response_logging` BigqueryDestination *GoogleCloudAiplatformV1BigQueryDestination `json:"bigqueryDestination,omitempty"` // Enabled: If logging is enabled or not. Enabled bool `json:"enabled,omitempty"` // SamplingRate: Percentage of requests to be logged, expressed as a fraction // in range(0,1]. SamplingRate float64 `json:"samplingRate,omitempty"` // ForceSendFields is a list of field names (e.g. "BigqueryDestination") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BigqueryDestination") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1PredictRequestResponseLoggingConfig) MarshalJSON() ([]byte, error)
func (s *GoogleCloudAiplatformV1PredictRequestResponseLoggingConfig) UnmarshalJSON(data []byte) error
GoogleCloudAiplatformV1PredictResponse: Response message for PredictionService.Predict.
type GoogleCloudAiplatformV1PredictResponse struct { // DeployedModelId: ID of the Endpoint's DeployedModel that served this // prediction. DeployedModelId string `json:"deployedModelId,omitempty"` // Metadata: Output only. Request-level metadata returned by the model. The // metadata type will be dependent upon the model implementation. Metadata interface{} `json:"metadata,omitempty"` // Model: Output only. The resource name of the Model which is deployed as the // DeployedModel that this prediction hits. Model string `json:"model,omitempty"` // ModelDisplayName: Output only. The display name of the Model which is // deployed as the DeployedModel that this prediction hits. ModelDisplayName string `json:"modelDisplayName,omitempty"` // ModelVersionId: Output only. The version ID of the Model which is deployed // as the DeployedModel that this prediction hits. ModelVersionId string `json:"modelVersionId,omitempty"` // Predictions: The predictions that are the output of the predictions call. // The schema of any single prediction may be specified via Endpoint's // DeployedModels' Model's PredictSchemata's prediction_schema_uri. Predictions []interface{} `json:"predictions,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "DeployedModelId") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DeployedModelId") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1PredictResponse) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1PredictSchemata: Contains the schemata used in Model's predictions and explanations via PredictionService.Predict, PredictionService.Explain and BatchPredictionJob.
type GoogleCloudAiplatformV1PredictSchemata struct { // InstanceSchemaUri: Immutable. Points to a YAML file stored on Google Cloud // Storage describing the format of a single instance, which are used in // PredictRequest.instances, ExplainRequest.instances and // BatchPredictionJob.input_config. The schema is defined as an OpenAPI 3.0.2 // Schema Object // (https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject). // AutoML Models always have this field populated by Vertex AI. Note: The URI // given on output will be immutable and probably different, including the URI // scheme, than the one given on input. The output URI will point to a location // where the user only has a read access. InstanceSchemaUri string `json:"instanceSchemaUri,omitempty"` // ParametersSchemaUri: Immutable. Points to a YAML file stored on Google Cloud // Storage describing the parameters of prediction and explanation via // PredictRequest.parameters, ExplainRequest.parameters and // BatchPredictionJob.model_parameters. The schema is defined as an OpenAPI // 3.0.2 Schema Object // (https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject). // AutoML Models always have this field populated by Vertex AI, if no // parameters are supported, then it is set to an empty string. Note: The URI // given on output will be immutable and probably different, including the URI // scheme, than the one given on input. The output URI will point to a location // where the user only has a read access. ParametersSchemaUri string `json:"parametersSchemaUri,omitempty"` // PredictionSchemaUri: Immutable. Points to a YAML file stored on Google Cloud // Storage describing the format of a single prediction produced by this Model, // which are returned via PredictResponse.predictions, // ExplainResponse.explanations, and BatchPredictionJob.output_config. The // schema is defined as an OpenAPI 3.0.2 Schema Object // (https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject). // AutoML Models always have this field populated by Vertex AI. Note: The URI // given on output will be immutable and probably different, including the URI // scheme, than the one given on input. The output URI will point to a location // where the user only has a read access. PredictionSchemaUri string `json:"predictionSchemaUri,omitempty"` // ForceSendFields is a list of field names (e.g. "InstanceSchemaUri") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "InstanceSchemaUri") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1PredictSchemata) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1Presets: Preset configuration for example-based explanations
type GoogleCloudAiplatformV1Presets struct { // Modality: The modality of the uploaded model, which automatically configures // the distance measurement and feature normalization for the underlying // example index and queries. If your model does not precisely fit one of these // types, it is okay to choose the closest type. // // Possible values: // "MODALITY_UNSPECIFIED" - Should not be set. Added as a recommended best // practice for enums // "IMAGE" - IMAGE modality // "TEXT" - TEXT modality // "TABULAR" - TABULAR modality Modality string `json:"modality,omitempty"` // Query: Preset option controlling parameters for speed-precision trade-off // when querying for examples. If omitted, defaults to `PRECISE`. // // Possible values: // "PRECISE" - More precise neighbors as a trade-off against slower response. // "FAST" - Faster response as a trade-off against less precise neighbors. Query string `json:"query,omitempty"` // ForceSendFields is a list of field names (e.g. "Modality") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Modality") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1Presets) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1PrivateEndpoints: PrivateEndpoints proto is used to provide paths for users to send requests privately. To send request via private service access, use predict_http_uri, explain_http_uri or health_http_uri. To send request via private service connect, use service_attachment.
type GoogleCloudAiplatformV1PrivateEndpoints struct { // ExplainHttpUri: Output only. Http(s) path to send explain requests. ExplainHttpUri string `json:"explainHttpUri,omitempty"` // HealthHttpUri: Output only. Http(s) path to send health check requests. HealthHttpUri string `json:"healthHttpUri,omitempty"` // PredictHttpUri: Output only. Http(s) path to send prediction requests. PredictHttpUri string `json:"predictHttpUri,omitempty"` // ServiceAttachment: Output only. The name of the service attachment resource. // Populated if private service connect is enabled. ServiceAttachment string `json:"serviceAttachment,omitempty"` // ForceSendFields is a list of field names (e.g. "ExplainHttpUri") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ExplainHttpUri") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1PrivateEndpoints) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1PrivateServiceConnectConfig: Represents configuration for private service connect.
type GoogleCloudAiplatformV1PrivateServiceConnectConfig struct { // EnablePrivateServiceConnect: Required. If true, expose the IndexEndpoint via // private service connect. EnablePrivateServiceConnect bool `json:"enablePrivateServiceConnect,omitempty"` // ProjectAllowlist: A list of Projects from which the forwarding rule will // target the service attachment. ProjectAllowlist []string `json:"projectAllowlist,omitempty"` // ForceSendFields is a list of field names (e.g. // "EnablePrivateServiceConnect") to unconditionally include in API requests. // By default, fields with empty or default values are omitted from API // requests. See https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields // for more details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "EnablePrivateServiceConnect") to // include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1PrivateServiceConnectConfig) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1Probe: Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic.
type GoogleCloudAiplatformV1Probe struct { // Exec: Exec specifies the action to take. Exec *GoogleCloudAiplatformV1ProbeExecAction `json:"exec,omitempty"` // PeriodSeconds: How often (in seconds) to perform the probe. Default to 10 // seconds. Minimum value is 1. Must be less than timeout_seconds. Maps to // Kubernetes probe argument 'periodSeconds'. PeriodSeconds int64 `json:"periodSeconds,omitempty"` // TimeoutSeconds: Number of seconds after which the probe times out. Defaults // to 1 second. Minimum value is 1. Must be greater or equal to period_seconds. // Maps to Kubernetes probe argument 'timeoutSeconds'. TimeoutSeconds int64 `json:"timeoutSeconds,omitempty"` // ForceSendFields is a list of field names (e.g. "Exec") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Exec") to include in API requests // with the JSON null value. By default, fields with empty values are omitted // from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1Probe) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ProbeExecAction: ExecAction specifies a command to execute.
type GoogleCloudAiplatformV1ProbeExecAction struct { // Command: Command is the command line to execute inside the container, the // working directory for the command is root ('/') in the container's // filesystem. The command is simply exec'd, it is not run inside a shell, so // traditional shell instructions ('|', etc) won't work. To use a shell, you // need to explicitly call out to that shell. Exit status of 0 is treated as // live/healthy and non-zero is unhealthy. Command []string `json:"command,omitempty"` // ForceSendFields is a list of field names (e.g. "Command") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Command") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ProbeExecAction) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1PscAutomatedEndpoints: PscAutomatedEndpoints defines the output of the forwarding rule automatically created by each PscAutomationConfig.
type GoogleCloudAiplatformV1PscAutomatedEndpoints struct { // MatchAddress: Ip Address created by the automated forwarding rule. MatchAddress string `json:"matchAddress,omitempty"` // Network: Corresponding network in pscAutomationConfigs. Network string `json:"network,omitempty"` // ProjectId: Corresponding project_id in pscAutomationConfigs ProjectId string `json:"projectId,omitempty"` // ForceSendFields is a list of field names (e.g. "MatchAddress") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "MatchAddress") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1PscAutomatedEndpoints) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1PublisherModel: A Model Garden Publisher Model.
type GoogleCloudAiplatformV1PublisherModel struct { // Frameworks: Optional. Additional information about the model's Frameworks. Frameworks []string `json:"frameworks,omitempty"` // LaunchStage: Optional. Indicates the launch stage of the model. // // Possible values: // "LAUNCH_STAGE_UNSPECIFIED" - The model launch stage is unspecified. // "EXPERIMENTAL" - Used to indicate the PublisherModel is at Experimental // launch stage, available to a small set of customers. // "PRIVATE_PREVIEW" - Used to indicate the PublisherModel is at Private // Preview launch stage, only available to a small set of customers, although a // larger set of customers than an Experimental launch. Previews are the first // launch stage used to get feedback from customers. // "PUBLIC_PREVIEW" - Used to indicate the PublisherModel is at Public // Preview launch stage, available to all customers, although not supported for // production workloads. // "GA" - Used to indicate the PublisherModel is at GA launch stage, // available to all customers and ready for production workload. LaunchStage string `json:"launchStage,omitempty"` // Name: Output only. The resource name of the PublisherModel. Name string `json:"name,omitempty"` // OpenSourceCategory: Required. Indicates the open source category of the // publisher model. // // Possible values: // "OPEN_SOURCE_CATEGORY_UNSPECIFIED" - The open source category is // unspecified, which should not be used. // "PROPRIETARY" - Used to indicate the PublisherModel is not open sourced. // "GOOGLE_OWNED_OSS_WITH_GOOGLE_CHECKPOINT" - Used to indicate the // PublisherModel is a Google-owned open source model w/ Google checkpoint. // "THIRD_PARTY_OWNED_OSS_WITH_GOOGLE_CHECKPOINT" - Used to indicate the // PublisherModel is a 3p-owned open source model w/ Google checkpoint. // "GOOGLE_OWNED_OSS" - Used to indicate the PublisherModel is a Google-owned // pure open source model. // "THIRD_PARTY_OWNED_OSS" - Used to indicate the PublisherModel is a // 3p-owned pure open source model. OpenSourceCategory string `json:"openSourceCategory,omitempty"` // PredictSchemata: Optional. The schemata that describes formats of the // PublisherModel's predictions and explanations as given and returned via // PredictionService.Predict. PredictSchemata *GoogleCloudAiplatformV1PredictSchemata `json:"predictSchemata,omitempty"` // PublisherModelTemplate: Optional. Output only. Immutable. Used to indicate // this model has a publisher model and provide the template of the publisher // model resource name. PublisherModelTemplate string `json:"publisherModelTemplate,omitempty"` // SupportedActions: Optional. Supported call-to-action options. SupportedActions *GoogleCloudAiplatformV1PublisherModelCallToAction `json:"supportedActions,omitempty"` // VersionId: Output only. Immutable. The version ID of the PublisherModel. A // new version is committed when a new model version is uploaded under an // existing model id. It is an auto-incrementing decimal number in string // representation. VersionId string `json:"versionId,omitempty"` // VersionState: Optional. Indicates the state of the model version. // // Possible values: // "VERSION_STATE_UNSPECIFIED" - The version state is unspecified. // "VERSION_STATE_STABLE" - Used to indicate the version is stable. // "VERSION_STATE_UNSTABLE" - Used to indicate the version is unstable. VersionState string `json:"versionState,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Frameworks") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Frameworks") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1PublisherModel) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1PublisherModelCallToAction: Actions could take on this Publisher Model.
type GoogleCloudAiplatformV1PublisherModelCallToAction struct { // CreateApplication: Optional. Create application using the PublisherModel. CreateApplication *GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences `json:"createApplication,omitempty"` // Deploy: Optional. Deploy the PublisherModel to Vertex Endpoint. Deploy *GoogleCloudAiplatformV1PublisherModelCallToActionDeploy `json:"deploy,omitempty"` // DeployGke: Optional. Deploy PublisherModel to Google Kubernetes Engine. DeployGke *GoogleCloudAiplatformV1PublisherModelCallToActionDeployGke `json:"deployGke,omitempty"` // FineTune: Optional. Fine tune the PublisherModel with the third-party model // tuning UI. FineTune *GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences `json:"fineTune,omitempty"` // OpenEvaluationPipeline: Optional. Open evaluation pipeline of the // PublisherModel. OpenEvaluationPipeline *GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences `json:"openEvaluationPipeline,omitempty"` // OpenFineTuningPipeline: Optional. Open fine-tuning pipeline of the // PublisherModel. OpenFineTuningPipeline *GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences `json:"openFineTuningPipeline,omitempty"` // OpenFineTuningPipelines: Optional. Open fine-tuning pipelines of the // PublisherModel. OpenFineTuningPipelines *GoogleCloudAiplatformV1PublisherModelCallToActionOpenFineTuningPipelines `json:"openFineTuningPipelines,omitempty"` // OpenGenerationAiStudio: Optional. Open in Generation AI Studio. OpenGenerationAiStudio *GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences `json:"openGenerationAiStudio,omitempty"` // OpenGenie: Optional. Open Genie / Playground. OpenGenie *GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences `json:"openGenie,omitempty"` // OpenNotebook: Optional. Open notebook of the PublisherModel. OpenNotebook *GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences `json:"openNotebook,omitempty"` // OpenNotebooks: Optional. Open notebooks of the PublisherModel. OpenNotebooks *GoogleCloudAiplatformV1PublisherModelCallToActionOpenNotebooks `json:"openNotebooks,omitempty"` // OpenPromptTuningPipeline: Optional. Open prompt-tuning pipeline of the // PublisherModel. OpenPromptTuningPipeline *GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences `json:"openPromptTuningPipeline,omitempty"` // RequestAccess: Optional. Request for access. RequestAccess *GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences `json:"requestAccess,omitempty"` // ViewRestApi: Optional. To view Rest API docs. ViewRestApi *GoogleCloudAiplatformV1PublisherModelCallToActionViewRestApi `json:"viewRestApi,omitempty"` // ForceSendFields is a list of field names (e.g. "CreateApplication") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CreateApplication") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1PublisherModelCallToAction) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1PublisherModelCallToActionDeploy: Model metadata that is needed for UploadModel or DeployModel/CreateEndpoint requests.
type GoogleCloudAiplatformV1PublisherModelCallToActionDeploy struct { // ArtifactUri: Optional. The path to the directory containing the Model // artifact and any of its supporting files. ArtifactUri string `json:"artifactUri,omitempty"` // AutomaticResources: A description of resources that to large degree are // decided by Vertex AI, and require only a modest additional configuration. AutomaticResources *GoogleCloudAiplatformV1AutomaticResources `json:"automaticResources,omitempty"` // ContainerSpec: Optional. The specification of the container that is to be // used when deploying this Model in Vertex AI. Not present for Large Models. ContainerSpec *GoogleCloudAiplatformV1ModelContainerSpec `json:"containerSpec,omitempty"` // DedicatedResources: A description of resources that are dedicated to the // DeployedModel, and that need a higher degree of manual configuration. DedicatedResources *GoogleCloudAiplatformV1DedicatedResources `json:"dedicatedResources,omitempty"` // DeployTaskName: Optional. The name of the deploy task (e.g., "text to image // generation"). DeployTaskName string `json:"deployTaskName,omitempty"` // LargeModelReference: Optional. Large model reference. When this is set, // model_artifact_spec is not needed. LargeModelReference *GoogleCloudAiplatformV1LargeModelReference `json:"largeModelReference,omitempty"` // ModelDisplayName: Optional. Default model display name. ModelDisplayName string `json:"modelDisplayName,omitempty"` // PublicArtifactUri: Optional. The signed URI for ephemeral Cloud Storage // access to model artifact. PublicArtifactUri string `json:"publicArtifactUri,omitempty"` // SharedResources: The resource name of the shared DeploymentResourcePool to // deploy on. Format: // `projects/{project}/locations/{location}/deploymentResourcePools/{deployment_ // resource_pool}` SharedResources string `json:"sharedResources,omitempty"` // Title: Required. The title of the regional resource reference. Title string `json:"title,omitempty"` // ForceSendFields is a list of field names (e.g. "ArtifactUri") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ArtifactUri") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1PublisherModelCallToActionDeploy) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1PublisherModelCallToActionDeployGke: Configurations for PublisherModel GKE deployment
type GoogleCloudAiplatformV1PublisherModelCallToActionDeployGke struct { // GkeYamlConfigs: Optional. GKE deployment configuration in yaml format. GkeYamlConfigs []string `json:"gkeYamlConfigs,omitempty"` // ForceSendFields is a list of field names (e.g. "GkeYamlConfigs") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "GkeYamlConfigs") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1PublisherModelCallToActionDeployGke) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1PublisherModelCallToActionOpenFineTuningPipelines: Open fine tuning pipelines.
type GoogleCloudAiplatformV1PublisherModelCallToActionOpenFineTuningPipelines struct { // FineTuningPipelines: Required. Regional resource references to fine tuning // pipelines. FineTuningPipelines []*GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences `json:"fineTuningPipelines,omitempty"` // ForceSendFields is a list of field names (e.g. "FineTuningPipelines") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "FineTuningPipelines") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1PublisherModelCallToActionOpenFineTuningPipelines) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1PublisherModelCallToActionOpenNotebooks: Open notebooks.
type GoogleCloudAiplatformV1PublisherModelCallToActionOpenNotebooks struct { // Notebooks: Required. Regional resource references to notebooks. Notebooks []*GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences `json:"notebooks,omitempty"` // ForceSendFields is a list of field names (e.g. "Notebooks") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Notebooks") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1PublisherModelCallToActionOpenNotebooks) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences: The regional resource name or the URI. Key is region, e.g., us-central1, europe-west2, global, etc..
type GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences struct { // References: Required. References map[string]GoogleCloudAiplatformV1PublisherModelResourceReference `json:"references,omitempty"` // ResourceDescription: Optional. Description of the resource. ResourceDescription string `json:"resourceDescription,omitempty"` // ResourceTitle: Optional. Title of the resource. ResourceTitle string `json:"resourceTitle,omitempty"` // ResourceUseCase: Optional. Use case (CUJ) of the resource. ResourceUseCase string `json:"resourceUseCase,omitempty"` // Title: Required. Title string `json:"title,omitempty"` // ForceSendFields is a list of field names (e.g. "References") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "References") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1PublisherModelCallToActionViewRestApi: Rest API docs.
type GoogleCloudAiplatformV1PublisherModelCallToActionViewRestApi struct { // Documentations: Required. Documentations []*GoogleCloudAiplatformV1PublisherModelDocumentation `json:"documentations,omitempty"` // Title: Required. The title of the view rest API. Title string `json:"title,omitempty"` // ForceSendFields is a list of field names (e.g. "Documentations") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Documentations") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1PublisherModelCallToActionViewRestApi) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1PublisherModelDocumentation: A named piece of documentation.
type GoogleCloudAiplatformV1PublisherModelDocumentation struct { // Content: Required. Content of this piece of document (in Markdown format). Content string `json:"content,omitempty"` // Title: Required. E.g., OVERVIEW, USE CASES, DOCUMENTATION, SDK & SAMPLES, // JAVA, NODE.JS, etc.. Title string `json:"title,omitempty"` // ForceSendFields is a list of field names (e.g. "Content") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Content") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1PublisherModelDocumentation) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1PublisherModelResourceReference: Reference to a resource.
type GoogleCloudAiplatformV1PublisherModelResourceReference struct { // Description: Description of the resource. Description string `json:"description,omitempty"` // ResourceName: The resource name of the Google Cloud resource. ResourceName string `json:"resourceName,omitempty"` // Uri: The URI of the resource. Uri string `json:"uri,omitempty"` // UseCase: Use case (CUJ) of the resource. UseCase string `json:"useCase,omitempty"` // ForceSendFields is a list of field names (e.g. "Description") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Description") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1PublisherModelResourceReference) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1PurgeArtifactsMetadata: Details of operations that perform MetadataService.PurgeArtifacts.
type GoogleCloudAiplatformV1PurgeArtifactsMetadata struct { // GenericMetadata: Operation metadata for purging Artifacts. GenericMetadata *GoogleCloudAiplatformV1GenericOperationMetadata `json:"genericMetadata,omitempty"` // ForceSendFields is a list of field names (e.g. "GenericMetadata") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "GenericMetadata") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1PurgeArtifactsMetadata) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1PurgeArtifactsRequest: Request message for MetadataService.PurgeArtifacts.
type GoogleCloudAiplatformV1PurgeArtifactsRequest struct { // Filter: Required. A required filter matching the Artifacts to be purged. // E.g., `update_time <= 2020-11-19T11:30:00-04:00`. Filter string `json:"filter,omitempty"` // Force: Optional. Flag to indicate to actually perform the purge. If `force` // is set to false, the method will return a sample of Artifact names that // would be deleted. Force bool `json:"force,omitempty"` // ForceSendFields is a list of field names (e.g. "Filter") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Filter") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1PurgeArtifactsRequest) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1PurgeArtifactsResponse: Response message for MetadataService.PurgeArtifacts.
type GoogleCloudAiplatformV1PurgeArtifactsResponse struct { // PurgeCount: The number of Artifacts that this request deleted (or, if // `force` is false, the number of Artifacts that will be deleted). This can be // an estimate. PurgeCount int64 `json:"purgeCount,omitempty,string"` // PurgeSample: A sample of the Artifact names that will be deleted. Only // populated if `force` is set to false. The maximum number of samples is 100 // (it is possible to return fewer). PurgeSample []string `json:"purgeSample,omitempty"` // ForceSendFields is a list of field names (e.g. "PurgeCount") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "PurgeCount") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1PurgeArtifactsResponse) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1PurgeContextsMetadata: Details of operations that perform MetadataService.PurgeContexts.
type GoogleCloudAiplatformV1PurgeContextsMetadata struct { // GenericMetadata: Operation metadata for purging Contexts. GenericMetadata *GoogleCloudAiplatformV1GenericOperationMetadata `json:"genericMetadata,omitempty"` // ForceSendFields is a list of field names (e.g. "GenericMetadata") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "GenericMetadata") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1PurgeContextsMetadata) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1PurgeContextsRequest: Request message for MetadataService.PurgeContexts.
type GoogleCloudAiplatformV1PurgeContextsRequest struct { // Filter: Required. A required filter matching the Contexts to be purged. // E.g., `update_time <= 2020-11-19T11:30:00-04:00`. Filter string `json:"filter,omitempty"` // Force: Optional. Flag to indicate to actually perform the purge. If `force` // is set to false, the method will return a sample of Context names that would // be deleted. Force bool `json:"force,omitempty"` // ForceSendFields is a list of field names (e.g. "Filter") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Filter") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1PurgeContextsRequest) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1PurgeContextsResponse: Response message for MetadataService.PurgeContexts.
type GoogleCloudAiplatformV1PurgeContextsResponse struct { // PurgeCount: The number of Contexts that this request deleted (or, if `force` // is false, the number of Contexts that will be deleted). This can be an // estimate. PurgeCount int64 `json:"purgeCount,omitempty,string"` // PurgeSample: A sample of the Context names that will be deleted. Only // populated if `force` is set to false. The maximum number of samples is 100 // (it is possible to return fewer). PurgeSample []string `json:"purgeSample,omitempty"` // ForceSendFields is a list of field names (e.g. "PurgeCount") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "PurgeCount") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1PurgeContextsResponse) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1PurgeExecutionsMetadata: Details of operations that perform MetadataService.PurgeExecutions.
type GoogleCloudAiplatformV1PurgeExecutionsMetadata struct { // GenericMetadata: Operation metadata for purging Executions. GenericMetadata *GoogleCloudAiplatformV1GenericOperationMetadata `json:"genericMetadata,omitempty"` // ForceSendFields is a list of field names (e.g. "GenericMetadata") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "GenericMetadata") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1PurgeExecutionsMetadata) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1PurgeExecutionsRequest: Request message for MetadataService.PurgeExecutions.
type GoogleCloudAiplatformV1PurgeExecutionsRequest struct { // Filter: Required. A required filter matching the Executions to be purged. // E.g., `update_time <= 2020-11-19T11:30:00-04:00`. Filter string `json:"filter,omitempty"` // Force: Optional. Flag to indicate to actually perform the purge. If `force` // is set to false, the method will return a sample of Execution names that // would be deleted. Force bool `json:"force,omitempty"` // ForceSendFields is a list of field names (e.g. "Filter") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Filter") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1PurgeExecutionsRequest) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1PurgeExecutionsResponse: Response message for MetadataService.PurgeExecutions.
type GoogleCloudAiplatformV1PurgeExecutionsResponse struct { // PurgeCount: The number of Executions that this request deleted (or, if // `force` is false, the number of Executions that will be deleted). This can // be an estimate. PurgeCount int64 `json:"purgeCount,omitempty,string"` // PurgeSample: A sample of the Execution names that will be deleted. Only // populated if `force` is set to false. The maximum number of samples is 100 // (it is possible to return fewer). PurgeSample []string `json:"purgeSample,omitempty"` // ForceSendFields is a list of field names (e.g. "PurgeCount") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "PurgeCount") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1PurgeExecutionsResponse) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1PythonPackageSpec: The spec of a Python packaged code.
type GoogleCloudAiplatformV1PythonPackageSpec struct { // Args: Command line arguments to be passed to the Python task. Args []string `json:"args,omitempty"` // Env: Environment variables to be passed to the python module. Maximum limit // is 100. Env []*GoogleCloudAiplatformV1EnvVar `json:"env,omitempty"` // ExecutorImageUri: Required. The URI of a container image in Artifact // Registry that will run the provided Python package. Vertex AI provides a // wide range of executor images with pre-installed packages to meet users' // various use cases. See the list of pre-built containers for training // (https://cloud.google.com/vertex-ai/docs/training/pre-built-containers). You // must use an image from this list. ExecutorImageUri string `json:"executorImageUri,omitempty"` // PackageUris: Required. The Google Cloud Storage location of the Python // package files which are the training program and its dependent packages. The // maximum number of package URIs is 100. PackageUris []string `json:"packageUris,omitempty"` // PythonModule: Required. The Python module name to run after installing the // packages. PythonModule string `json:"pythonModule,omitempty"` // ForceSendFields is a list of field names (e.g. "Args") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Args") to include in API requests // with the JSON null value. By default, fields with empty values are omitted // from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1PythonPackageSpec) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1QueryDeployedModelsResponse: Response message for QueryDeployedModels method.
type GoogleCloudAiplatformV1QueryDeployedModelsResponse struct { // DeployedModelRefs: References to the DeployedModels that share the specified // deploymentResourcePool. DeployedModelRefs []*GoogleCloudAiplatformV1DeployedModelRef `json:"deployedModelRefs,omitempty"` // DeployedModels: DEPRECATED Use deployed_model_refs instead. DeployedModels []*GoogleCloudAiplatformV1DeployedModel `json:"deployedModels,omitempty"` // NextPageToken: A token, which can be sent as `page_token` to retrieve the // next page. If this field is omitted, there are no subsequent pages. NextPageToken string `json:"nextPageToken,omitempty"` // TotalDeployedModelCount: The total number of DeployedModels on this // DeploymentResourcePool. TotalDeployedModelCount int64 `json:"totalDeployedModelCount,omitempty"` // TotalEndpointCount: The total number of Endpoints that have DeployedModels // on this DeploymentResourcePool. TotalEndpointCount int64 `json:"totalEndpointCount,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "DeployedModelRefs") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DeployedModelRefs") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1QueryDeployedModelsResponse) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1RawPredictRequest: Request message for PredictionService.RawPredict.
type GoogleCloudAiplatformV1RawPredictRequest struct { // HttpBody: The prediction input. Supports HTTP headers and arbitrary data // payload. A DeployedModel may have an upper limit on the number of instances // it supports per request. When this limit it is exceeded for an AutoML model, // the RawPredict method returns an error. When this limit is exceeded for a // custom-trained model, the behavior varies depending on the model. You can // specify the schema for each instance in the // predict_schemata.instance_schema_uri field when you create a Model. This // schema applies when you deploy the `Model` as a `DeployedModel` to an // Endpoint and use the `RawPredict` method. HttpBody *GoogleApiHttpBody `json:"httpBody,omitempty"` // ForceSendFields is a list of field names (e.g. "HttpBody") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "HttpBody") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1RawPredictRequest) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1RaySpec: Configuration information for the Ray cluster. For experimental launch, Ray cluster creation and Persistent cluster creation are 1:1 mapping: We will provision all the nodes within the Persistent cluster as Ray nodes.
type GoogleCloudAiplatformV1RaySpec struct { }
GoogleCloudAiplatformV1ReadFeatureValuesRequest: Request message for FeaturestoreOnlineServingService.ReadFeatureValues.
type GoogleCloudAiplatformV1ReadFeatureValuesRequest struct { // EntityId: Required. ID for a specific entity. For example, for a machine // learning model predicting user clicks on a website, an entity ID could be // `user_123`. EntityId string `json:"entityId,omitempty"` // FeatureSelector: Required. Selector choosing Features of the target // EntityType. FeatureSelector *GoogleCloudAiplatformV1FeatureSelector `json:"featureSelector,omitempty"` // ForceSendFields is a list of field names (e.g. "EntityId") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "EntityId") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ReadFeatureValuesRequest) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ReadFeatureValuesResponse: Response message for FeaturestoreOnlineServingService.ReadFeatureValues.
type GoogleCloudAiplatformV1ReadFeatureValuesResponse struct { // EntityView: Entity view with Feature values. This may be the entity in the // Featurestore if values for all Features were requested, or a projection of // the entity in the Featurestore if values for only some Features were // requested. EntityView *GoogleCloudAiplatformV1ReadFeatureValuesResponseEntityView `json:"entityView,omitempty"` // Header: Response header. Header *GoogleCloudAiplatformV1ReadFeatureValuesResponseHeader `json:"header,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "EntityView") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "EntityView") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ReadFeatureValuesResponse) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ReadFeatureValuesResponseEntityView: Entity view with Feature values.
type GoogleCloudAiplatformV1ReadFeatureValuesResponseEntityView struct { // Data: Each piece of data holds the k requested values for one requested // Feature. If no values for the requested Feature exist, the corresponding // cell will be empty. This has the same size and is in the same order as the // features from the header ReadFeatureValuesResponse.header. Data []*GoogleCloudAiplatformV1ReadFeatureValuesResponseEntityViewData `json:"data,omitempty"` // EntityId: ID of the requested entity. EntityId string `json:"entityId,omitempty"` // ForceSendFields is a list of field names (e.g. "Data") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Data") to include in API requests // with the JSON null value. By default, fields with empty values are omitted // from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ReadFeatureValuesResponseEntityView) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ReadFeatureValuesResponseEntityViewData: Container to hold value(s), successive in time, for one Feature from the request.
type GoogleCloudAiplatformV1ReadFeatureValuesResponseEntityViewData struct { // Value: Feature value if a single value is requested. Value *GoogleCloudAiplatformV1FeatureValue `json:"value,omitempty"` // Values: Feature values list if values, successive in time, are requested. If // the requested number of values is greater than the number of existing // Feature values, nonexistent values are omitted instead of being returned as // empty. Values *GoogleCloudAiplatformV1FeatureValueList `json:"values,omitempty"` // ForceSendFields is a list of field names (e.g. "Value") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Value") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ReadFeatureValuesResponseEntityViewData) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ReadFeatureValuesResponseFeatureDescriptor: Metadata for requested Features.
type GoogleCloudAiplatformV1ReadFeatureValuesResponseFeatureDescriptor struct { // Id: Feature ID. Id string `json:"id,omitempty"` // ForceSendFields is a list of field names (e.g. "Id") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Id") to include in API requests // with the JSON null value. By default, fields with empty values are omitted // from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ReadFeatureValuesResponseFeatureDescriptor) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ReadFeatureValuesResponseHeader: Response header with metadata for the requested ReadFeatureValuesRequest.entity_type and Features.
type GoogleCloudAiplatformV1ReadFeatureValuesResponseHeader struct { // EntityType: The resource name of the EntityType from the // ReadFeatureValuesRequest. Value format: // `projects/{project}/locations/{location}/featurestores/{featurestore}/entityT // ypes/{entityType}`. EntityType string `json:"entityType,omitempty"` // FeatureDescriptors: List of Feature metadata corresponding to each piece of // ReadFeatureValuesResponse.EntityView.data. FeatureDescriptors []*GoogleCloudAiplatformV1ReadFeatureValuesResponseFeatureDescriptor `json:"featureDescriptors,omitempty"` // ForceSendFields is a list of field names (e.g. "EntityType") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "EntityType") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ReadFeatureValuesResponseHeader) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ReadIndexDatapointsRequest: The request message for MatchService.ReadIndexDatapoints.
type GoogleCloudAiplatformV1ReadIndexDatapointsRequest struct { // DeployedIndexId: The ID of the DeployedIndex that will serve the request. DeployedIndexId string `json:"deployedIndexId,omitempty"` // Ids: IDs of the datapoints to be searched for. Ids []string `json:"ids,omitempty"` // ForceSendFields is a list of field names (e.g. "DeployedIndexId") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DeployedIndexId") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ReadIndexDatapointsRequest) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ReadIndexDatapointsResponse: The response message for MatchService.ReadIndexDatapoints.
type GoogleCloudAiplatformV1ReadIndexDatapointsResponse struct { // Datapoints: The result list of datapoints. Datapoints []*GoogleCloudAiplatformV1IndexDatapoint `json:"datapoints,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Datapoints") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Datapoints") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ReadIndexDatapointsResponse) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ReadTensorboardBlobDataResponse: Response message for TensorboardService.ReadTensorboardBlobData.
type GoogleCloudAiplatformV1ReadTensorboardBlobDataResponse struct { // Blobs: Blob messages containing blob bytes. Blobs []*GoogleCloudAiplatformV1TensorboardBlob `json:"blobs,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Blobs") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Blobs") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ReadTensorboardBlobDataResponse) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ReadTensorboardSizeResponse: Response message for TensorboardService.ReadTensorboardSize.
type GoogleCloudAiplatformV1ReadTensorboardSizeResponse struct { // StorageSizeByte: Payload storage size for the TensorBoard StorageSizeByte int64 `json:"storageSizeByte,omitempty,string"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "StorageSizeByte") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "StorageSizeByte") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ReadTensorboardSizeResponse) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ReadTensorboardTimeSeriesDataResponse: Response message for TensorboardService.ReadTensorboardTimeSeriesData.
type GoogleCloudAiplatformV1ReadTensorboardTimeSeriesDataResponse struct { // TimeSeriesData: The returned time series data. TimeSeriesData *GoogleCloudAiplatformV1TimeSeriesData `json:"timeSeriesData,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "TimeSeriesData") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "TimeSeriesData") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ReadTensorboardTimeSeriesDataResponse) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ReadTensorboardUsageResponse: Response message for TensorboardService.ReadTensorboardUsage.
type GoogleCloudAiplatformV1ReadTensorboardUsageResponse struct { // MonthlyUsageData: Maps year-month (YYYYMM) string to per month usage data. MonthlyUsageData map[string]GoogleCloudAiplatformV1ReadTensorboardUsageResponsePerMonthUsageData `json:"monthlyUsageData,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "MonthlyUsageData") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "MonthlyUsageData") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ReadTensorboardUsageResponse) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ReadTensorboardUsageResponsePerMonthUsageData: Per month usage data
type GoogleCloudAiplatformV1ReadTensorboardUsageResponsePerMonthUsageData struct { // UserUsageData: Usage data for each user in the given month. UserUsageData []*GoogleCloudAiplatformV1ReadTensorboardUsageResponsePerUserUsageData `json:"userUsageData,omitempty"` // ForceSendFields is a list of field names (e.g. "UserUsageData") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "UserUsageData") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ReadTensorboardUsageResponsePerMonthUsageData) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ReadTensorboardUsageResponsePerUserUsageData: Per user usage data.
type GoogleCloudAiplatformV1ReadTensorboardUsageResponsePerUserUsageData struct { // Username: User's username Username string `json:"username,omitempty"` // ViewCount: Number of times the user has read data within the Tensorboard. ViewCount int64 `json:"viewCount,omitempty,string"` // ForceSendFields is a list of field names (e.g. "Username") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Username") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ReadTensorboardUsageResponsePerUserUsageData) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1RebootPersistentResourceOperationMetadata: Details of operations that perform reboot PersistentResource.
type GoogleCloudAiplatformV1RebootPersistentResourceOperationMetadata struct { // GenericMetadata: Operation metadata for PersistentResource. GenericMetadata *GoogleCloudAiplatformV1GenericOperationMetadata `json:"genericMetadata,omitempty"` // ProgressMessage: Progress Message for Reboot LRO ProgressMessage string `json:"progressMessage,omitempty"` // ForceSendFields is a list of field names (e.g. "GenericMetadata") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "GenericMetadata") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1RebootPersistentResourceOperationMetadata) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1RebootPersistentResourceRequest: Request message for PersistentResourceService.RebootPersistentResource.
type GoogleCloudAiplatformV1RebootPersistentResourceRequest struct { }
GoogleCloudAiplatformV1RemoveContextChildrenRequest: Request message for MetadataService.DeleteContextChildrenRequest.
type GoogleCloudAiplatformV1RemoveContextChildrenRequest struct { // ChildContexts: The resource names of the child Contexts. ChildContexts []string `json:"childContexts,omitempty"` // ForceSendFields is a list of field names (e.g. "ChildContexts") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ChildContexts") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1RemoveContextChildrenRequest) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1RemoveContextChildrenResponse: Response message for MetadataService.RemoveContextChildren.
type GoogleCloudAiplatformV1RemoveContextChildrenResponse struct { // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` }
GoogleCloudAiplatformV1RemoveDatapointsRequest: Request message for IndexService.RemoveDatapoints
type GoogleCloudAiplatformV1RemoveDatapointsRequest struct { // DatapointIds: A list of datapoint ids to be deleted. DatapointIds []string `json:"datapointIds,omitempty"` // ForceSendFields is a list of field names (e.g. "DatapointIds") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DatapointIds") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1RemoveDatapointsRequest) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1RemoveDatapointsResponse: Response message for IndexService.RemoveDatapoints
type GoogleCloudAiplatformV1RemoveDatapointsResponse struct { // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` }
GoogleCloudAiplatformV1ResourcePool: Represents the spec of a group of resources of the same type, for example machine type, disk, and accelerators, in a PersistentResource.
type GoogleCloudAiplatformV1ResourcePool struct { // AutoscalingSpec: Optional. Optional spec to configure GKE autoscaling AutoscalingSpec *GoogleCloudAiplatformV1ResourcePoolAutoscalingSpec `json:"autoscalingSpec,omitempty"` // DiskSpec: Optional. Disk spec for the machine in this node pool. DiskSpec *GoogleCloudAiplatformV1DiskSpec `json:"diskSpec,omitempty"` // Id: Immutable. The unique ID in a PersistentResource for referring to this // resource pool. User can specify it if necessary. Otherwise, it's generated // automatically. Id string `json:"id,omitempty"` // MachineSpec: Required. Immutable. The specification of a single machine. MachineSpec *GoogleCloudAiplatformV1MachineSpec `json:"machineSpec,omitempty"` // ReplicaCount: Optional. The total number of machines to use for this // resource pool. ReplicaCount int64 `json:"replicaCount,omitempty,string"` // UsedReplicaCount: Output only. The number of machines currently in use by // training jobs for this resource pool. Will replace idle_replica_count. UsedReplicaCount int64 `json:"usedReplicaCount,omitempty,string"` // ForceSendFields is a list of field names (e.g. "AutoscalingSpec") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AutoscalingSpec") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ResourcePool) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ResourcePoolAutoscalingSpec: The min/max number of replicas allowed if enabling autoscaling
type GoogleCloudAiplatformV1ResourcePoolAutoscalingSpec struct { // MaxReplicaCount: Optional. max replicas in the node pool, must be ≥ // replica_count and > min_replica_count or will throw error MaxReplicaCount int64 `json:"maxReplicaCount,omitempty,string"` // MinReplicaCount: Optional. min replicas in the node pool, must be ≤ // replica_count and < max_replica_count or will throw error MinReplicaCount int64 `json:"minReplicaCount,omitempty,string"` // ForceSendFields is a list of field names (e.g. "MaxReplicaCount") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "MaxReplicaCount") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ResourcePoolAutoscalingSpec) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ResourceRuntime: Persistent Cluster runtime information as output
type GoogleCloudAiplatformV1ResourceRuntime struct { }
GoogleCloudAiplatformV1ResourceRuntimeSpec: Configuration for the runtime on a PersistentResource instance, including but not limited to: * Service accounts used to run the workloads. * Whether to make it a dedicated Ray Cluster.
type GoogleCloudAiplatformV1ResourceRuntimeSpec struct { // RaySpec: Optional. Ray cluster configuration. Required when creating a // dedicated RayCluster on the PersistentResource. RaySpec *GoogleCloudAiplatformV1RaySpec `json:"raySpec,omitempty"` // ServiceAccountSpec: Optional. Configure the use of workload identity on the // PersistentResource ServiceAccountSpec *GoogleCloudAiplatformV1ServiceAccountSpec `json:"serviceAccountSpec,omitempty"` // ForceSendFields is a list of field names (e.g. "RaySpec") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "RaySpec") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ResourceRuntimeSpec) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ResourcesConsumed: Statistics information about resource consumption.
type GoogleCloudAiplatformV1ResourcesConsumed struct { // ReplicaHours: Output only. The number of replica hours used. Note that many // replicas may run in parallel, and additionally any given work may be queued // for some time. Therefore this value is not strictly related to wall time. ReplicaHours float64 `json:"replicaHours,omitempty"` // ForceSendFields is a list of field names (e.g. "ReplicaHours") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ReplicaHours") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ResourcesConsumed) MarshalJSON() ([]byte, error)
func (s *GoogleCloudAiplatformV1ResourcesConsumed) UnmarshalJSON(data []byte) error
GoogleCloudAiplatformV1RestoreDatasetVersionOperationMetadata: Runtime operation information for DatasetService.RestoreDatasetVersion.
type GoogleCloudAiplatformV1RestoreDatasetVersionOperationMetadata struct { // GenericMetadata: The common part of the operation metadata. GenericMetadata *GoogleCloudAiplatformV1GenericOperationMetadata `json:"genericMetadata,omitempty"` // ForceSendFields is a list of field names (e.g. "GenericMetadata") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "GenericMetadata") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1RestoreDatasetVersionOperationMetadata) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ResumeModelDeploymentMonitoringJobRequest: Request message for JobService.ResumeModelDeploymentMonitoringJob.
type GoogleCloudAiplatformV1ResumeModelDeploymentMonitoringJobRequest struct { }
GoogleCloudAiplatformV1ResumeScheduleRequest: Request message for ScheduleService.ResumeSchedule.
type GoogleCloudAiplatformV1ResumeScheduleRequest struct { // CatchUp: Optional. Whether to backfill missed runs when the schedule is // resumed from PAUSED state. If set to true, all missed runs will be // scheduled. New runs will be scheduled after the backfill is complete. This // will also update Schedule.catch_up field. Default to false. CatchUp bool `json:"catchUp,omitempty"` // ForceSendFields is a list of field names (e.g. "CatchUp") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CatchUp") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ResumeScheduleRequest) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1Retrieval: Defines a retrieval tool that model can call to access external knowledge.
type GoogleCloudAiplatformV1Retrieval struct { // DisableAttribution: Optional. Disable using the result from this tool in // detecting grounding attribution. This does not affect how the result is // given to the model for generation. DisableAttribution bool `json:"disableAttribution,omitempty"` // VertexAiSearch: Set to use data source powered by Vertex AI Search. VertexAiSearch *GoogleCloudAiplatformV1VertexAISearch `json:"vertexAiSearch,omitempty"` // ForceSendFields is a list of field names (e.g. "DisableAttribution") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DisableAttribution") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1Retrieval) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1SafetyRating: Safety rating corresponding to the generated content.
type GoogleCloudAiplatformV1SafetyRating struct { // Blocked: Output only. Indicates whether the content was filtered out because // of this rating. Blocked bool `json:"blocked,omitempty"` // Category: Output only. Harm category. // // Possible values: // "HARM_CATEGORY_UNSPECIFIED" - The harm category is unspecified. // "HARM_CATEGORY_HATE_SPEECH" - The harm category is hate speech. // "HARM_CATEGORY_DANGEROUS_CONTENT" - The harm category is dangerous // content. // "HARM_CATEGORY_HARASSMENT" - The harm category is harassment. // "HARM_CATEGORY_SEXUALLY_EXPLICIT" - The harm category is sexually explicit // content. Category string `json:"category,omitempty"` // Probability: Output only. Harm probability levels in the content. // // Possible values: // "HARM_PROBABILITY_UNSPECIFIED" - Harm probability unspecified. // "NEGLIGIBLE" - Negligible level of harm. // "LOW" - Low level of harm. // "MEDIUM" - Medium level of harm. // "HIGH" - High level of harm. Probability string `json:"probability,omitempty"` // ProbabilityScore: Output only. Harm probability score. ProbabilityScore float64 `json:"probabilityScore,omitempty"` // Severity: Output only. Harm severity levels in the content. // // Possible values: // "HARM_SEVERITY_UNSPECIFIED" - Harm severity unspecified. // "HARM_SEVERITY_NEGLIGIBLE" - Negligible level of harm severity. // "HARM_SEVERITY_LOW" - Low level of harm severity. // "HARM_SEVERITY_MEDIUM" - Medium level of harm severity. // "HARM_SEVERITY_HIGH" - High level of harm severity. Severity string `json:"severity,omitempty"` // SeverityScore: Output only. Harm severity score. SeverityScore float64 `json:"severityScore,omitempty"` // ForceSendFields is a list of field names (e.g. "Blocked") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Blocked") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SafetyRating) MarshalJSON() ([]byte, error)
func (s *GoogleCloudAiplatformV1SafetyRating) UnmarshalJSON(data []byte) error
GoogleCloudAiplatformV1SafetySetting: Safety settings.
type GoogleCloudAiplatformV1SafetySetting struct { // Category: Required. Harm category. // // Possible values: // "HARM_CATEGORY_UNSPECIFIED" - The harm category is unspecified. // "HARM_CATEGORY_HATE_SPEECH" - The harm category is hate speech. // "HARM_CATEGORY_DANGEROUS_CONTENT" - The harm category is dangerous // content. // "HARM_CATEGORY_HARASSMENT" - The harm category is harassment. // "HARM_CATEGORY_SEXUALLY_EXPLICIT" - The harm category is sexually explicit // content. Category string `json:"category,omitempty"` // Method: Optional. Specify if the threshold is used for probability or // severity score. If not specified, the threshold is used for probability // score. // // Possible values: // "HARM_BLOCK_METHOD_UNSPECIFIED" - The harm block method is unspecified. // "SEVERITY" - The harm block method uses both probability and severity // scores. // "PROBABILITY" - The harm block method uses the probability score. Method string `json:"method,omitempty"` // Threshold: Required. The harm block threshold. // // Possible values: // "HARM_BLOCK_THRESHOLD_UNSPECIFIED" - Unspecified harm block threshold. // "BLOCK_LOW_AND_ABOVE" - Block low threshold and above (i.e. block more). // "BLOCK_MEDIUM_AND_ABOVE" - Block medium threshold and above. // "BLOCK_ONLY_HIGH" - Block only high threshold (i.e. block less). // "BLOCK_NONE" - Block none. Threshold string `json:"threshold,omitempty"` // ForceSendFields is a list of field names (e.g. "Category") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Category") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SafetySetting) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1SampleConfig: Active learning data sampling config. For every active learning labeling iteration, it will select a batch of data based on the sampling strategy.
type GoogleCloudAiplatformV1SampleConfig struct { // FollowingBatchSamplePercentage: The percentage of data needed to be labeled // in each following batch (except the first batch). FollowingBatchSamplePercentage int64 `json:"followingBatchSamplePercentage,omitempty"` // InitialBatchSamplePercentage: The percentage of data needed to be labeled in // the first batch. InitialBatchSamplePercentage int64 `json:"initialBatchSamplePercentage,omitempty"` // SampleStrategy: Field to choose sampling strategy. Sampling strategy will // decide which data should be selected for human labeling in every batch. // // Possible values: // "SAMPLE_STRATEGY_UNSPECIFIED" - Default will be treated as UNCERTAINTY. // "UNCERTAINTY" - Sample the most uncertain data to label. SampleStrategy string `json:"sampleStrategy,omitempty"` // ForceSendFields is a list of field names (e.g. // "FollowingBatchSamplePercentage") to unconditionally include in API // requests. By default, fields with empty or default values are omitted from // API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "FollowingBatchSamplePercentage") // to include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SampleConfig) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1SampledShapleyAttribution: An attribution method that approximates Shapley values for features that contribute to the label being predicted. A sampling strategy is used to approximate the value rather than considering all subsets of features.
type GoogleCloudAiplatformV1SampledShapleyAttribution struct { // PathCount: Required. The number of feature permutations to consider when // approximating the Shapley values. Valid range of its value is [1, 50], // inclusively. PathCount int64 `json:"pathCount,omitempty"` // ForceSendFields is a list of field names (e.g. "PathCount") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "PathCount") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SampledShapleyAttribution) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1SamplingStrategy: Sampling Strategy for logging, can be for both training and prediction dataset.
type GoogleCloudAiplatformV1SamplingStrategy struct { // RandomSampleConfig: Random sample config. Will support more sampling // strategies later. RandomSampleConfig *GoogleCloudAiplatformV1SamplingStrategyRandomSampleConfig `json:"randomSampleConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "RandomSampleConfig") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "RandomSampleConfig") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SamplingStrategy) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1SamplingStrategyRandomSampleConfig: Requests are randomly selected.
type GoogleCloudAiplatformV1SamplingStrategyRandomSampleConfig struct { // SampleRate: Sample rate (0, 1] SampleRate float64 `json:"sampleRate,omitempty"` // ForceSendFields is a list of field names (e.g. "SampleRate") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "SampleRate") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SamplingStrategyRandomSampleConfig) MarshalJSON() ([]byte, error)
func (s *GoogleCloudAiplatformV1SamplingStrategyRandomSampleConfig) UnmarshalJSON(data []byte) error
GoogleCloudAiplatformV1SavedQuery: A SavedQuery is a view of the dataset. It references a subset of annotations by problem type and filters.
type GoogleCloudAiplatformV1SavedQuery struct { // AnnotationFilter: Output only. Filters on the Annotations in the dataset. AnnotationFilter string `json:"annotationFilter,omitempty"` // AnnotationSpecCount: Output only. Number of AnnotationSpecs in the context // of the SavedQuery. AnnotationSpecCount int64 `json:"annotationSpecCount,omitempty"` // CreateTime: Output only. Timestamp when this SavedQuery was created. CreateTime string `json:"createTime,omitempty"` // DisplayName: Required. The user-defined name of the SavedQuery. The name can // be up to 128 characters long and can consist of any UTF-8 characters. DisplayName string `json:"displayName,omitempty"` // Etag: Used to perform a consistent read-modify-write update. If not set, a // blind "overwrite" update happens. Etag string `json:"etag,omitempty"` // Metadata: Some additional information about the SavedQuery. Metadata interface{} `json:"metadata,omitempty"` // Name: Output only. Resource name of the SavedQuery. Name string `json:"name,omitempty"` // ProblemType: Required. Problem type of the SavedQuery. Allowed values: * // IMAGE_CLASSIFICATION_SINGLE_LABEL * IMAGE_CLASSIFICATION_MULTI_LABEL * // IMAGE_BOUNDING_POLY * IMAGE_BOUNDING_BOX * TEXT_CLASSIFICATION_SINGLE_LABEL // * TEXT_CLASSIFICATION_MULTI_LABEL * TEXT_EXTRACTION * TEXT_SENTIMENT * // VIDEO_CLASSIFICATION * VIDEO_OBJECT_TRACKING ProblemType string `json:"problemType,omitempty"` // SupportAutomlTraining: Output only. If the Annotations belonging to the // SavedQuery can be used for AutoML training. SupportAutomlTraining bool `json:"supportAutomlTraining,omitempty"` // UpdateTime: Output only. Timestamp when SavedQuery was last updated. UpdateTime string `json:"updateTime,omitempty"` // ForceSendFields is a list of field names (e.g. "AnnotationFilter") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AnnotationFilter") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SavedQuery) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1Scalar: One point viewable on a scalar metric plot.
type GoogleCloudAiplatformV1Scalar struct { // Value: Value of the point at this step / timestamp. Value float64 `json:"value,omitempty"` // ForceSendFields is a list of field names (e.g. "Value") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Value") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1Scalar) MarshalJSON() ([]byte, error)
func (s *GoogleCloudAiplatformV1Scalar) UnmarshalJSON(data []byte) error
GoogleCloudAiplatformV1Schedule: An instance of a Schedule periodically schedules runs to make API calls based on user specified time specification and API request type.
type GoogleCloudAiplatformV1Schedule struct { // AllowQueueing: Optional. Whether new scheduled runs can be queued when // max_concurrent_runs limit is reached. If set to true, new runs will be // queued instead of skipped. Default to false. AllowQueueing bool `json:"allowQueueing,omitempty"` // CatchUp: Output only. Whether to backfill missed runs when the schedule is // resumed from PAUSED state. If set to true, all missed runs will be // scheduled. New runs will be scheduled after the backfill is complete. // Default to false. CatchUp bool `json:"catchUp,omitempty"` // CreatePipelineJobRequest: Request for PipelineService.CreatePipelineJob. // CreatePipelineJobRequest.parent field is required (format: // projects/{project}/locations/{location}). CreatePipelineJobRequest *GoogleCloudAiplatformV1CreatePipelineJobRequest `json:"createPipelineJobRequest,omitempty"` // CreateTime: Output only. Timestamp when this Schedule was created. CreateTime string `json:"createTime,omitempty"` // Cron: Cron schedule (https://en.wikipedia.org/wiki/Cron) to launch scheduled // runs. To explicitly set a timezone to the cron tab, apply a prefix in the // cron tab: "CRON_TZ=${IANA_TIME_ZONE}" or "TZ=${IANA_TIME_ZONE}". The // ${IANA_TIME_ZONE} may only be a valid string from IANA time zone database. // For example, "CRON_TZ=America/New_York 1 * * * *", or "TZ=America/New_York 1 // * * * *". Cron string `json:"cron,omitempty"` // DisplayName: Required. User provided name of the Schedule. The name can be // up to 128 characters long and can consist of any UTF-8 characters. DisplayName string `json:"displayName,omitempty"` // EndTime: Optional. Timestamp after which no new runs can be scheduled. If // specified, The schedule will be completed when either end_time is reached or // when scheduled_run_count >= max_run_count. If not specified, new runs will // keep getting scheduled until this Schedule is paused or deleted. Already // scheduled runs will be allowed to complete. Unset if not specified. EndTime string `json:"endTime,omitempty"` // LastPauseTime: Output only. Timestamp when this Schedule was last paused. // Unset if never paused. LastPauseTime string `json:"lastPauseTime,omitempty"` // LastResumeTime: Output only. Timestamp when this Schedule was last resumed. // Unset if never resumed from pause. LastResumeTime string `json:"lastResumeTime,omitempty"` // LastScheduledRunResponse: Output only. Response of the last scheduled run. // This is the response for starting the scheduled requests and not the // execution of the operations/jobs created by the requests (if applicable). // Unset if no run has been scheduled yet. LastScheduledRunResponse *GoogleCloudAiplatformV1ScheduleRunResponse `json:"lastScheduledRunResponse,omitempty"` // MaxConcurrentRunCount: Required. Maximum number of runs that can be started // concurrently for this Schedule. This is the limit for starting the scheduled // requests and not the execution of the operations/jobs created by the // requests (if applicable). MaxConcurrentRunCount int64 `json:"maxConcurrentRunCount,omitempty,string"` // MaxRunCount: Optional. Maximum run count of the schedule. If specified, The // schedule will be completed when either started_run_count >= max_run_count or // when end_time is reached. If not specified, new runs will keep getting // scheduled until this Schedule is paused or deleted. Already scheduled runs // will be allowed to complete. Unset if not specified. MaxRunCount int64 `json:"maxRunCount,omitempty,string"` // Name: Immutable. The resource name of the Schedule. Name string `json:"name,omitempty"` // NextRunTime: Output only. Timestamp when this Schedule should schedule the // next run. Having a next_run_time in the past means the runs are being // started behind schedule. NextRunTime string `json:"nextRunTime,omitempty"` // StartTime: Optional. Timestamp after which the first run can be scheduled. // Default to Schedule create time if not specified. StartTime string `json:"startTime,omitempty"` // StartedRunCount: Output only. The number of runs started by this schedule. StartedRunCount int64 `json:"startedRunCount,omitempty,string"` // State: Output only. The state of this Schedule. // // Possible values: // "STATE_UNSPECIFIED" - Unspecified. // "ACTIVE" - The Schedule is active. Runs are being scheduled on the // user-specified timespec. // "PAUSED" - The schedule is paused. No new runs will be created until the // schedule is resumed. Already started runs will be allowed to complete. // "COMPLETED" - The Schedule is completed. No new runs will be scheduled. // Already started runs will be allowed to complete. Schedules in completed // state cannot be paused or resumed. State string `json:"state,omitempty"` // UpdateTime: Output only. Timestamp when this Schedule was updated. UpdateTime string `json:"updateTime,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "AllowQueueing") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AllowQueueing") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1Schedule) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ScheduleRunResponse: Status of a scheduled run.
type GoogleCloudAiplatformV1ScheduleRunResponse struct { // RunResponse: The response of the scheduled run. RunResponse string `json:"runResponse,omitempty"` // ScheduledRunTime: The scheduled run time based on the user-specified // schedule. ScheduledRunTime string `json:"scheduledRunTime,omitempty"` // ForceSendFields is a list of field names (e.g. "RunResponse") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "RunResponse") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ScheduleRunResponse) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1Scheduling: All parameters related to queuing and scheduling of custom jobs.
type GoogleCloudAiplatformV1Scheduling struct { // DisableRetries: Optional. Indicates if the job should retry for internal // errors after the job starts running. If true, overrides // `Scheduling.restart_job_on_worker_restart` to false. DisableRetries bool `json:"disableRetries,omitempty"` // RestartJobOnWorkerRestart: Restarts the entire CustomJob if a worker gets // restarted. This feature can be used by distributed training jobs that are // not resilient to workers leaving and joining a job. RestartJobOnWorkerRestart bool `json:"restartJobOnWorkerRestart,omitempty"` // Timeout: The maximum job running time. The default is 7 days. Timeout string `json:"timeout,omitempty"` // ForceSendFields is a list of field names (e.g. "DisableRetries") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DisableRetries") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1Scheduling) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1Schema: Schema is used to define the format of input/output data. Represents a select subset of an OpenAPI 3.0 schema object (https://spec.openapis.org/oas/v3.0.3#schema). More fields may be added in the future as needed.
type GoogleCloudAiplatformV1Schema struct { // Default: Optional. Default value of the data. Default interface{} `json:"default,omitempty"` // Description: Optional. The description of the data. Description string `json:"description,omitempty"` // Enum: Optional. Possible values of the element of Type.STRING with enum // format. For example we can define an Enum Direction as : {type:STRING, // format:enum, enum:["EAST", NORTH", "SOUTH", "WEST"]} Enum []string `json:"enum,omitempty"` // Example: Optional. Example of the object. Will only populated when the // object is the root. Example interface{} `json:"example,omitempty"` // Format: Optional. The format of the data. Supported formats: for NUMBER // type: "float", "double" for INTEGER type: "int32", "int64" for STRING type: // "email", "byte", etc Format string `json:"format,omitempty"` // Items: Optional. SCHEMA FIELDS FOR TYPE ARRAY Schema of the elements of // Type.ARRAY. Items *GoogleCloudAiplatformV1Schema `json:"items,omitempty"` // MaxItems: Optional. Maximum number of the elements for Type.ARRAY. MaxItems int64 `json:"maxItems,omitempty,string"` // MaxLength: Optional. Maximum length of the Type.STRING MaxLength int64 `json:"maxLength,omitempty,string"` // MaxProperties: Optional. Maximum number of the properties for Type.OBJECT. MaxProperties int64 `json:"maxProperties,omitempty,string"` // Maximum: Optional. Maximum value of the Type.INTEGER and Type.NUMBER Maximum float64 `json:"maximum,omitempty"` // MinItems: Optional. Minimum number of the elements for Type.ARRAY. MinItems int64 `json:"minItems,omitempty,string"` // MinLength: Optional. SCHEMA FIELDS FOR TYPE STRING Minimum length of the // Type.STRING MinLength int64 `json:"minLength,omitempty,string"` // MinProperties: Optional. Minimum number of the properties for Type.OBJECT. MinProperties int64 `json:"minProperties,omitempty,string"` // Minimum: Optional. SCHEMA FIELDS FOR TYPE INTEGER and NUMBER Minimum value // of the Type.INTEGER and Type.NUMBER Minimum float64 `json:"minimum,omitempty"` // Nullable: Optional. Indicates if the value may be null. Nullable bool `json:"nullable,omitempty"` // Pattern: Optional. Pattern of the Type.STRING to restrict a string to a // regular expression. Pattern string `json:"pattern,omitempty"` // Properties: Optional. SCHEMA FIELDS FOR TYPE OBJECT Properties of // Type.OBJECT. Properties map[string]GoogleCloudAiplatformV1Schema `json:"properties,omitempty"` // Required: Optional. Required properties of Type.OBJECT. Required []string `json:"required,omitempty"` // Title: Optional. The title of the Schema. Title string `json:"title,omitempty"` // Type: Optional. The type of the data. // // Possible values: // "TYPE_UNSPECIFIED" - Not specified, should not be used. // "STRING" - OpenAPI string type // "NUMBER" - OpenAPI number type // "INTEGER" - OpenAPI integer type // "BOOLEAN" - OpenAPI boolean type // "ARRAY" - OpenAPI array type // "OBJECT" - OpenAPI object type Type string `json:"type,omitempty"` // ForceSendFields is a list of field names (e.g. "Default") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Default") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1Schema) MarshalJSON() ([]byte, error)
func (s *GoogleCloudAiplatformV1Schema) UnmarshalJSON(data []byte) error
GoogleCloudAiplatformV1SchemaAnnotationSpecColor: An entry of mapping between color and AnnotationSpec. The mapping is used in segmentation mask.
type GoogleCloudAiplatformV1SchemaAnnotationSpecColor struct { // Color: The color of the AnnotationSpec in a segmentation mask. Color *GoogleTypeColor `json:"color,omitempty"` // DisplayName: The display name of the AnnotationSpec represented by the color // in the segmentation mask. DisplayName string `json:"displayName,omitempty"` // Id: The ID of the AnnotationSpec represented by the color in the // segmentation mask. Id string `json:"id,omitempty"` // ForceSendFields is a list of field names (e.g. "Color") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Color") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaAnnotationSpecColor) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1SchemaImageBoundingBoxAnnotation: Annotation details specific to image object detection.
type GoogleCloudAiplatformV1SchemaImageBoundingBoxAnnotation struct { // AnnotationSpecId: The resource Id of the AnnotationSpec that this Annotation // pertains to. AnnotationSpecId string `json:"annotationSpecId,omitempty"` // DisplayName: The display name of the AnnotationSpec that this Annotation // pertains to. DisplayName string `json:"displayName,omitempty"` // XMax: The rightmost coordinate of the bounding box. XMax float64 `json:"xMax,omitempty"` // XMin: The leftmost coordinate of the bounding box. XMin float64 `json:"xMin,omitempty"` // YMax: The bottommost coordinate of the bounding box. YMax float64 `json:"yMax,omitempty"` // YMin: The topmost coordinate of the bounding box. YMin float64 `json:"yMin,omitempty"` // ForceSendFields is a list of field names (e.g. "AnnotationSpecId") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AnnotationSpecId") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaImageBoundingBoxAnnotation) MarshalJSON() ([]byte, error)
func (s *GoogleCloudAiplatformV1SchemaImageBoundingBoxAnnotation) UnmarshalJSON(data []byte) error
GoogleCloudAiplatformV1SchemaImageClassificationAnnotation: Annotation details specific to image classification.
type GoogleCloudAiplatformV1SchemaImageClassificationAnnotation struct { // AnnotationSpecId: The resource Id of the AnnotationSpec that this Annotation // pertains to. AnnotationSpecId string `json:"annotationSpecId,omitempty"` // DisplayName: The display name of the AnnotationSpec that this Annotation // pertains to. DisplayName string `json:"displayName,omitempty"` // ForceSendFields is a list of field names (e.g. "AnnotationSpecId") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AnnotationSpecId") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaImageClassificationAnnotation) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1SchemaImageDataItem: Payload of Image DataItem.
type GoogleCloudAiplatformV1SchemaImageDataItem struct { // GcsUri: Required. Google Cloud Storage URI points to the original image in // user's bucket. The image is up to 30MB in size. GcsUri string `json:"gcsUri,omitempty"` // MimeType: Output only. The mime type of the content of the image. Only the // images in below listed mime types are supported. - image/jpeg - image/gif - // image/png - image/webp - image/bmp - image/tiff - image/vnd.microsoft.icon MimeType string `json:"mimeType,omitempty"` // ForceSendFields is a list of field names (e.g. "GcsUri") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "GcsUri") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaImageDataItem) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1SchemaImageDatasetMetadata: The metadata of Datasets that contain Image DataItems.
type GoogleCloudAiplatformV1SchemaImageDatasetMetadata struct { // DataItemSchemaUri: Points to a YAML file stored on Google Cloud Storage // describing payload of the Image DataItems that belong to this Dataset. DataItemSchemaUri string `json:"dataItemSchemaUri,omitempty"` // GcsBucket: Google Cloud Storage Bucket name that contains the blob data of // this Dataset. GcsBucket string `json:"gcsBucket,omitempty"` // ForceSendFields is a list of field names (e.g. "DataItemSchemaUri") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DataItemSchemaUri") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaImageDatasetMetadata) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1SchemaImageSegmentationAnnotation: Annotation details specific to image segmentation.
type GoogleCloudAiplatformV1SchemaImageSegmentationAnnotation struct { // MaskAnnotation: Mask based segmentation annotation. Only one mask annotation // can exist for one image. MaskAnnotation *GoogleCloudAiplatformV1SchemaImageSegmentationAnnotationMaskAnnotation `json:"maskAnnotation,omitempty"` // PolygonAnnotation: Polygon annotation. PolygonAnnotation *GoogleCloudAiplatformV1SchemaImageSegmentationAnnotationPolygonAnnotation `json:"polygonAnnotation,omitempty"` // PolylineAnnotation: Polyline annotation. PolylineAnnotation *GoogleCloudAiplatformV1SchemaImageSegmentationAnnotationPolylineAnnotation `json:"polylineAnnotation,omitempty"` // ForceSendFields is a list of field names (e.g. "MaskAnnotation") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "MaskAnnotation") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaImageSegmentationAnnotation) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1SchemaImageSegmentationAnnotationMaskAnnotation: The mask based segmentation annotation.
type GoogleCloudAiplatformV1SchemaImageSegmentationAnnotationMaskAnnotation struct { // AnnotationSpecColors: The mapping between color and AnnotationSpec for this // Annotation. AnnotationSpecColors []*GoogleCloudAiplatformV1SchemaAnnotationSpecColor `json:"annotationSpecColors,omitempty"` // MaskGcsUri: Google Cloud Storage URI that points to the mask image. The // image must be in PNG format. It must have the same size as the DataItem's // image. Each pixel in the image mask represents the AnnotationSpec which the // pixel in the image DataItem belong to. Each color is mapped to one // AnnotationSpec based on annotation_spec_colors. MaskGcsUri string `json:"maskGcsUri,omitempty"` // ForceSendFields is a list of field names (e.g. "AnnotationSpecColors") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AnnotationSpecColors") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaImageSegmentationAnnotationMaskAnnotation) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1SchemaImageSegmentationAnnotationPolygonAnnotation: Represents a polygon in image.
type GoogleCloudAiplatformV1SchemaImageSegmentationAnnotationPolygonAnnotation struct { // AnnotationSpecId: The resource Id of the AnnotationSpec that this Annotation // pertains to. AnnotationSpecId string `json:"annotationSpecId,omitempty"` // DisplayName: The display name of the AnnotationSpec that this Annotation // pertains to. DisplayName string `json:"displayName,omitempty"` // Vertexes: The vertexes are connected one by one and the last vertex is // connected to the first one to represent a polygon. Vertexes []*GoogleCloudAiplatformV1SchemaVertex `json:"vertexes,omitempty"` // ForceSendFields is a list of field names (e.g. "AnnotationSpecId") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AnnotationSpecId") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaImageSegmentationAnnotationPolygonAnnotation) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1SchemaImageSegmentationAnnotationPolylineAnnotation: Represents a polyline in image.
type GoogleCloudAiplatformV1SchemaImageSegmentationAnnotationPolylineAnnotation struct { // AnnotationSpecId: The resource Id of the AnnotationSpec that this Annotation // pertains to. AnnotationSpecId string `json:"annotationSpecId,omitempty"` // DisplayName: The display name of the AnnotationSpec that this Annotation // pertains to. DisplayName string `json:"displayName,omitempty"` // Vertexes: The vertexes are connected one by one and the last vertex in not // connected to the first one. Vertexes []*GoogleCloudAiplatformV1SchemaVertex `json:"vertexes,omitempty"` // ForceSendFields is a list of field names (e.g. "AnnotationSpecId") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AnnotationSpecId") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaImageSegmentationAnnotationPolylineAnnotation) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1SchemaModelevaluationMetricsBoundingBoxMetrics: Bounding box matching model metrics for a single intersection-over-union threshold and multiple label match confidence thresholds.
type GoogleCloudAiplatformV1SchemaModelevaluationMetricsBoundingBoxMetrics struct { // ConfidenceMetrics: Metrics for each label-match confidence_threshold from // 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99. Precision-recall curve is derived // from them. ConfidenceMetrics []*GoogleCloudAiplatformV1SchemaModelevaluationMetricsBoundingBoxMetricsConfidenceMetrics `json:"confidenceMetrics,omitempty"` // IouThreshold: The intersection-over-union threshold value used to compute // this metrics entry. IouThreshold float64 `json:"iouThreshold,omitempty"` // MeanAveragePrecision: The mean average precision, most often close to // `auPrc`. MeanAveragePrecision float64 `json:"meanAveragePrecision,omitempty"` // ForceSendFields is a list of field names (e.g. "ConfidenceMetrics") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ConfidenceMetrics") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaModelevaluationMetricsBoundingBoxMetrics) MarshalJSON() ([]byte, error)
func (s *GoogleCloudAiplatformV1SchemaModelevaluationMetricsBoundingBoxMetrics) UnmarshalJSON(data []byte) error
GoogleCloudAiplatformV1SchemaModelevaluationMetricsBoundingBoxMetricsConfiden ceMetrics: Metrics for a single confidence threshold.
type GoogleCloudAiplatformV1SchemaModelevaluationMetricsBoundingBoxMetricsConfidenceMetrics struct { // ConfidenceThreshold: The confidence threshold value used to compute the // metrics. ConfidenceThreshold float64 `json:"confidenceThreshold,omitempty"` // F1Score: The harmonic mean of recall and precision. F1Score float64 `json:"f1Score,omitempty"` // Precision: Precision under the given confidence threshold. Precision float64 `json:"precision,omitempty"` // Recall: Recall under the given confidence threshold. Recall float64 `json:"recall,omitempty"` // ForceSendFields is a list of field names (e.g. "ConfidenceThreshold") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ConfidenceThreshold") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaModelevaluationMetricsBoundingBoxMetricsConfidenceMetrics) MarshalJSON() ([]byte, error)
func (s *GoogleCloudAiplatformV1SchemaModelevaluationMetricsBoundingBoxMetricsConfidenceMetrics) UnmarshalJSON(data []byte) error
GoogleCloudAiplatformV1SchemaModelevaluationMetricsClassificationEvaluationMe trics: Metrics for classification evaluation results.
type GoogleCloudAiplatformV1SchemaModelevaluationMetricsClassificationEvaluationMetrics struct { // AuPrc: The Area Under Precision-Recall Curve metric. Micro-averaged for the // overall evaluation. AuPrc float64 `json:"auPrc,omitempty"` // AuRoc: The Area Under Receiver Operating Characteristic curve metric. // Micro-averaged for the overall evaluation. AuRoc float64 `json:"auRoc,omitempty"` // ConfidenceMetrics: Metrics for each `confidenceThreshold` in // 0.00,0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 and `positionThreshold` = // INT32_MAX_VALUE. ROC and precision-recall curves, and other aggregated // metrics are derived from them. The confidence metrics entries may also be // supplied for additional values of `positionThreshold`, but from these no // aggregated metrics are computed. ConfidenceMetrics []*GoogleCloudAiplatformV1SchemaModelevaluationMetricsClassificationEvaluationMetricsConfidenceMetrics `json:"confidenceMetrics,omitempty"` // ConfusionMatrix: Confusion matrix of the evaluation. ConfusionMatrix *GoogleCloudAiplatformV1SchemaModelevaluationMetricsConfusionMatrix `json:"confusionMatrix,omitempty"` // LogLoss: The Log Loss metric. LogLoss float64 `json:"logLoss,omitempty"` // ForceSendFields is a list of field names (e.g. "AuPrc") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AuPrc") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaModelevaluationMetricsClassificationEvaluationMetrics) MarshalJSON() ([]byte, error)
func (s *GoogleCloudAiplatformV1SchemaModelevaluationMetricsClassificationEvaluationMetrics) UnmarshalJSON(data []byte) error
type GoogleCloudAiplatformV1SchemaModelevaluationMetricsClassificationEvaluationMetricsConfidenceMetrics struct { // ConfidenceThreshold: Metrics are computed with an assumption that the Model // never returns predictions with score lower than this value. ConfidenceThreshold float64 `json:"confidenceThreshold,omitempty"` // ConfusionMatrix: Confusion matrix of the evaluation for this // confidence_threshold. ConfusionMatrix *GoogleCloudAiplatformV1SchemaModelevaluationMetricsConfusionMatrix `json:"confusionMatrix,omitempty"` // F1Score: The harmonic mean of recall and precision. For summary metrics, it // computes the micro-averaged F1 score. F1Score float64 `json:"f1Score,omitempty"` // F1ScoreAt1: The harmonic mean of recallAt1 and precisionAt1. F1ScoreAt1 float64 `json:"f1ScoreAt1,omitempty"` // F1ScoreMacro: Macro-averaged F1 Score. F1ScoreMacro float64 `json:"f1ScoreMacro,omitempty"` // F1ScoreMicro: Micro-averaged F1 Score. F1ScoreMicro float64 `json:"f1ScoreMicro,omitempty"` // FalseNegativeCount: The number of ground truth labels that are not matched // by a Model created label. FalseNegativeCount int64 `json:"falseNegativeCount,omitempty,string"` // FalsePositiveCount: The number of Model created labels that do not match a // ground truth label. FalsePositiveCount int64 `json:"falsePositiveCount,omitempty,string"` // FalsePositiveRate: False Positive Rate for the given confidence threshold. FalsePositiveRate float64 `json:"falsePositiveRate,omitempty"` // FalsePositiveRateAt1: The False Positive Rate when only considering the // label that has the highest prediction score and not below the confidence // threshold for each DataItem. FalsePositiveRateAt1 float64 `json:"falsePositiveRateAt1,omitempty"` // MaxPredictions: Metrics are computed with an assumption that the Model // always returns at most this many predictions (ordered by their score, // descendingly), but they all still need to meet the `confidenceThreshold`. MaxPredictions int64 `json:"maxPredictions,omitempty"` // Precision: Precision for the given confidence threshold. Precision float64 `json:"precision,omitempty"` // PrecisionAt1: The precision when only considering the label that has the // highest prediction score and not below the confidence threshold for each // DataItem. PrecisionAt1 float64 `json:"precisionAt1,omitempty"` // Recall: Recall (True Positive Rate) for the given confidence threshold. Recall float64 `json:"recall,omitempty"` // RecallAt1: The Recall (True Positive Rate) when only considering the label // that has the highest prediction score and not below the confidence threshold // for each DataItem. RecallAt1 float64 `json:"recallAt1,omitempty"` // TrueNegativeCount: The number of labels that were not created by the Model, // but if they would, they would not match a ground truth label. TrueNegativeCount int64 `json:"trueNegativeCount,omitempty,string"` // TruePositiveCount: The number of Model created labels that match a ground // truth label. TruePositiveCount int64 `json:"truePositiveCount,omitempty,string"` // ForceSendFields is a list of field names (e.g. "ConfidenceThreshold") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ConfidenceThreshold") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaModelevaluationMetricsClassificationEvaluationMetricsConfidenceMetrics) MarshalJSON() ([]byte, error)
func (s *GoogleCloudAiplatformV1SchemaModelevaluationMetricsClassificationEvaluationMetricsConfidenceMetrics) UnmarshalJSON(data []byte) error
type GoogleCloudAiplatformV1SchemaModelevaluationMetricsConfusionMatrix struct { // AnnotationSpecs: AnnotationSpecs used in the confusion matrix. For AutoML // Text Extraction, a special negative AnnotationSpec with empty `id` and // `displayName` of "NULL" will be added as the last element. AnnotationSpecs []*GoogleCloudAiplatformV1SchemaModelevaluationMetricsConfusionMatrixAnnotationSpecRef `json:"annotationSpecs,omitempty"` // Rows: Rows in the confusion matrix. The number of rows is equal to the size // of `annotationSpecs`. `rowsi` is the number of DataItems that have ground // truth of the `annotationSpecs[i]` and are predicted as `annotationSpecs[j]` // by the Model being evaluated. For Text Extraction, when `annotationSpecs[i]` // is the last element in `annotationSpecs`, i.e. the special negative // AnnotationSpec, `rowsi` is the number of predicted entities of // `annoatationSpec[j]` that are not labeled as any of the ground truth // AnnotationSpec. When annotationSpecs[j] is the special negative // AnnotationSpec, `rowsi` is the number of entities have ground truth of // `annotationSpec[i]` that are not predicted as an entity by the Model. The // value of the last cell, i.e. `rowi` where i == j and `annotationSpec[i]` is // the special negative AnnotationSpec, is always 0. Rows [][]interface{} `json:"rows,omitempty"` // ForceSendFields is a list of field names (e.g. "AnnotationSpecs") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AnnotationSpecs") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaModelevaluationMetricsConfusionMatrix) MarshalJSON() ([]byte, error)
type GoogleCloudAiplatformV1SchemaModelevaluationMetricsConfusionMatrixAnnotationSpecRef struct { // DisplayName: Display name of the AnnotationSpec. DisplayName string `json:"displayName,omitempty"` // Id: ID of the AnnotationSpec. Id string `json:"id,omitempty"` // ForceSendFields is a list of field names (e.g. "DisplayName") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DisplayName") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaModelevaluationMetricsConfusionMatrixAnnotationSpecRef) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1SchemaModelevaluationMetricsForecastingEvaluationMetri cs: Metrics for forecasting evaluation results.
type GoogleCloudAiplatformV1SchemaModelevaluationMetricsForecastingEvaluationMetrics struct { // MeanAbsoluteError: Mean Absolute Error (MAE). MeanAbsoluteError float64 `json:"meanAbsoluteError,omitempty"` // MeanAbsolutePercentageError: Mean absolute percentage error. Infinity when // there are zeros in the ground truth. MeanAbsolutePercentageError float64 `json:"meanAbsolutePercentageError,omitempty"` // QuantileMetrics: The quantile metrics entries for each quantile. QuantileMetrics []*GoogleCloudAiplatformV1SchemaModelevaluationMetricsForecastingEvaluationMetricsQuantileMetricsEntry `json:"quantileMetrics,omitempty"` // RSquared: Coefficient of determination as Pearson correlation coefficient. // Undefined when ground truth or predictions are constant or near constant. RSquared float64 `json:"rSquared,omitempty"` // RootMeanSquaredError: Root Mean Squared Error (RMSE). RootMeanSquaredError float64 `json:"rootMeanSquaredError,omitempty"` // RootMeanSquaredLogError: Root mean squared log error. Undefined when there // are negative ground truth values or predictions. RootMeanSquaredLogError float64 `json:"rootMeanSquaredLogError,omitempty"` // RootMeanSquaredPercentageError: Root Mean Square Percentage Error. Square // root of MSPE. Undefined/imaginary when MSPE is negative. RootMeanSquaredPercentageError float64 `json:"rootMeanSquaredPercentageError,omitempty"` // WeightedAbsolutePercentageError: Weighted Absolute Percentage Error. Does // not use weights, this is just what the metric is called. Undefined if actual // values sum to zero. Will be very large if actual values sum to a very small // number. WeightedAbsolutePercentageError float64 `json:"weightedAbsolutePercentageError,omitempty"` // ForceSendFields is a list of field names (e.g. "MeanAbsoluteError") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "MeanAbsoluteError") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaModelevaluationMetricsForecastingEvaluationMetrics) MarshalJSON() ([]byte, error)
func (s *GoogleCloudAiplatformV1SchemaModelevaluationMetricsForecastingEvaluationMetrics) UnmarshalJSON(data []byte) error
GoogleCloudAiplatformV1SchemaModelevaluationMetricsForecastingEvaluationMetri csQuantileMetricsEntry: Entry for the Quantiles loss type optimization objective.
type GoogleCloudAiplatformV1SchemaModelevaluationMetricsForecastingEvaluationMetricsQuantileMetricsEntry struct { // ObservedQuantile: This is a custom metric that calculates the percentage of // true values that were less than the predicted value for that quantile. Only // populated when optimization_objective is minimize-quantile-loss and each // entry corresponds to an entry in quantiles The percent value can be used to // compare with the quantile value, which is the target value. ObservedQuantile float64 `json:"observedQuantile,omitempty"` // Quantile: The quantile for this entry. Quantile float64 `json:"quantile,omitempty"` // ScaledPinballLoss: The scaled pinball loss of this quantile. ScaledPinballLoss float64 `json:"scaledPinballLoss,omitempty"` // ForceSendFields is a list of field names (e.g. "ObservedQuantile") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ObservedQuantile") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaModelevaluationMetricsForecastingEvaluationMetricsQuantileMetricsEntry) MarshalJSON() ([]byte, error)
func (s *GoogleCloudAiplatformV1SchemaModelevaluationMetricsForecastingEvaluationMetricsQuantileMetricsEntry) UnmarshalJSON(data []byte) error
type GoogleCloudAiplatformV1SchemaModelevaluationMetricsGeneralTextGenerationEvaluationMetrics struct { // Bleu: BLEU (bilingual evaluation understudy) scores based on sacrebleu // implementation. Bleu float64 `json:"bleu,omitempty"` // RougeLSum: ROUGE-L (Longest Common Subsequence) scoring at summary level. RougeLSum float64 `json:"rougeLSum,omitempty"` // ForceSendFields is a list of field names (e.g. "Bleu") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Bleu") to include in API requests // with the JSON null value. By default, fields with empty values are omitted // from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaModelevaluationMetricsGeneralTextGenerationEvaluationMetrics) MarshalJSON() ([]byte, error)
func (s *GoogleCloudAiplatformV1SchemaModelevaluationMetricsGeneralTextGenerationEvaluationMetrics) UnmarshalJSON(data []byte) error
GoogleCloudAiplatformV1SchemaModelevaluationMetricsImageObjectDetectionEvalua tionMetrics: Metrics for image object detection evaluation results.
type GoogleCloudAiplatformV1SchemaModelevaluationMetricsImageObjectDetectionEvaluationMetrics struct { // BoundingBoxMeanAveragePrecision: The single metric for bounding boxes // evaluation: the `meanAveragePrecision` averaged over all // `boundingBoxMetricsEntries`. BoundingBoxMeanAveragePrecision float64 `json:"boundingBoxMeanAveragePrecision,omitempty"` // BoundingBoxMetrics: The bounding boxes match metrics for each // intersection-over-union threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 and // each label confidence threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 pair. BoundingBoxMetrics []*GoogleCloudAiplatformV1SchemaModelevaluationMetricsBoundingBoxMetrics `json:"boundingBoxMetrics,omitempty"` // EvaluatedBoundingBoxCount: The total number of bounding boxes (i.e. summed // over all images) the ground truth used to create this evaluation had. EvaluatedBoundingBoxCount int64 `json:"evaluatedBoundingBoxCount,omitempty"` // ForceSendFields is a list of field names (e.g. // "BoundingBoxMeanAveragePrecision") to unconditionally include in API // requests. By default, fields with empty or default values are omitted from // API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BoundingBoxMeanAveragePrecision") // to include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaModelevaluationMetricsImageObjectDetectionEvaluationMetrics) MarshalJSON() ([]byte, error)
func (s *GoogleCloudAiplatformV1SchemaModelevaluationMetricsImageObjectDetectionEvaluationMetrics) UnmarshalJSON(data []byte) error
GoogleCloudAiplatformV1SchemaModelevaluationMetricsImageSegmentationEvaluatio nMetrics: Metrics for image segmentation evaluation results.
type GoogleCloudAiplatformV1SchemaModelevaluationMetricsImageSegmentationEvaluationMetrics struct { // ConfidenceMetricsEntries: Metrics for each confidenceThreshold in // 0.00,0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 Precision-recall curve can be // derived from it. ConfidenceMetricsEntries []*GoogleCloudAiplatformV1SchemaModelevaluationMetricsImageSegmentationEvaluationMetricsConfidenceMetricsEntry `json:"confidenceMetricsEntries,omitempty"` // ForceSendFields is a list of field names (e.g. "ConfidenceMetricsEntries") // to unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ConfidenceMetricsEntries") to // include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaModelevaluationMetricsImageSegmentationEvaluationMetrics) MarshalJSON() ([]byte, error)
type GoogleCloudAiplatformV1SchemaModelevaluationMetricsImageSegmentationEvaluationMetricsConfidenceMetricsEntry struct { // ConfidenceThreshold: Metrics are computed with an assumption that the model // never returns predictions with score lower than this value. ConfidenceThreshold float64 `json:"confidenceThreshold,omitempty"` // ConfusionMatrix: Confusion matrix for the given confidence threshold. ConfusionMatrix *GoogleCloudAiplatformV1SchemaModelevaluationMetricsConfusionMatrix `json:"confusionMatrix,omitempty"` // DiceScoreCoefficient: DSC or the F1 score, The harmonic mean of recall and // precision. DiceScoreCoefficient float64 `json:"diceScoreCoefficient,omitempty"` // IouScore: The intersection-over-union score. The measure of overlap of the // annotation's category mask with ground truth category mask on the DataItem. IouScore float64 `json:"iouScore,omitempty"` // Precision: Precision for the given confidence threshold. Precision float64 `json:"precision,omitempty"` // Recall: Recall (True Positive Rate) for the given confidence threshold. Recall float64 `json:"recall,omitempty"` // ForceSendFields is a list of field names (e.g. "ConfidenceThreshold") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ConfidenceThreshold") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaModelevaluationMetricsImageSegmentationEvaluationMetricsConfidenceMetricsEntry) MarshalJSON() ([]byte, error)
func (s *GoogleCloudAiplatformV1SchemaModelevaluationMetricsImageSegmentationEvaluationMetricsConfidenceMetricsEntry) UnmarshalJSON(data []byte) error
GoogleCloudAiplatformV1SchemaModelevaluationMetricsPairwiseTextGenerationEval uationMetrics: Metrics for general pairwise text generation evaluation results.
type GoogleCloudAiplatformV1SchemaModelevaluationMetricsPairwiseTextGenerationEvaluationMetrics struct { // Accuracy: Fraction of cases where the autorater agreed with the human // raters. Accuracy float64 `json:"accuracy,omitempty"` // BaselineModelWinRate: Percentage of time the autorater decided the baseline // model had the better response. BaselineModelWinRate float64 `json:"baselineModelWinRate,omitempty"` // CohensKappa: A measurement of agreement between the autorater and human // raters that takes the likelihood of random agreement into account. CohensKappa float64 `json:"cohensKappa,omitempty"` // F1Score: Harmonic mean of precision and recall. F1Score float64 `json:"f1Score,omitempty"` // FalseNegativeCount: Number of examples where the autorater chose the // baseline model, but humans preferred the model. FalseNegativeCount int64 `json:"falseNegativeCount,omitempty,string"` // FalsePositiveCount: Number of examples where the autorater chose the model, // but humans preferred the baseline model. FalsePositiveCount int64 `json:"falsePositiveCount,omitempty,string"` // HumanPreferenceBaselineModelWinRate: Percentage of time humans decided the // baseline model had the better response. HumanPreferenceBaselineModelWinRate float64 `json:"humanPreferenceBaselineModelWinRate,omitempty"` // HumanPreferenceModelWinRate: Percentage of time humans decided the model had // the better response. HumanPreferenceModelWinRate float64 `json:"humanPreferenceModelWinRate,omitempty"` // ModelWinRate: Percentage of time the autorater decided the model had the // better response. ModelWinRate float64 `json:"modelWinRate,omitempty"` // Precision: Fraction of cases where the autorater and humans thought the // model had a better response out of all cases where the autorater thought the // model had a better response. True positive divided by all positive. Precision float64 `json:"precision,omitempty"` // Recall: Fraction of cases where the autorater and humans thought the model // had a better response out of all cases where the humans thought the model // had a better response. Recall float64 `json:"recall,omitempty"` // TrueNegativeCount: Number of examples where both the autorater and humans // decided that the model had the worse response. TrueNegativeCount int64 `json:"trueNegativeCount,omitempty,string"` // TruePositiveCount: Number of examples where both the autorater and humans // decided that the model had the better response. TruePositiveCount int64 `json:"truePositiveCount,omitempty,string"` // ForceSendFields is a list of field names (e.g. "Accuracy") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Accuracy") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaModelevaluationMetricsPairwiseTextGenerationEvaluationMetrics) MarshalJSON() ([]byte, error)
func (s *GoogleCloudAiplatformV1SchemaModelevaluationMetricsPairwiseTextGenerationEvaluationMetrics) UnmarshalJSON(data []byte) error
type GoogleCloudAiplatformV1SchemaModelevaluationMetricsQuestionAnsweringEvaluationMetrics struct { // ExactMatch: The rate at which the input predicted strings exactly match // their references. ExactMatch float64 `json:"exactMatch,omitempty"` // ForceSendFields is a list of field names (e.g. "ExactMatch") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ExactMatch") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaModelevaluationMetricsQuestionAnsweringEvaluationMetrics) MarshalJSON() ([]byte, error)
func (s *GoogleCloudAiplatformV1SchemaModelevaluationMetricsQuestionAnsweringEvaluationMetrics) UnmarshalJSON(data []byte) error
GoogleCloudAiplatformV1SchemaModelevaluationMetricsRegressionEvaluationMetric s: Metrics for regression evaluation results.
type GoogleCloudAiplatformV1SchemaModelevaluationMetricsRegressionEvaluationMetrics struct { // MeanAbsoluteError: Mean Absolute Error (MAE). MeanAbsoluteError float64 `json:"meanAbsoluteError,omitempty"` // MeanAbsolutePercentageError: Mean absolute percentage error. Infinity when // there are zeros in the ground truth. MeanAbsolutePercentageError float64 `json:"meanAbsolutePercentageError,omitempty"` // RSquared: Coefficient of determination as Pearson correlation coefficient. // Undefined when ground truth or predictions are constant or near constant. RSquared float64 `json:"rSquared,omitempty"` // RootMeanSquaredError: Root Mean Squared Error (RMSE). RootMeanSquaredError float64 `json:"rootMeanSquaredError,omitempty"` // RootMeanSquaredLogError: Root mean squared log error. Undefined when there // are negative ground truth values or predictions. RootMeanSquaredLogError float64 `json:"rootMeanSquaredLogError,omitempty"` // ForceSendFields is a list of field names (e.g. "MeanAbsoluteError") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "MeanAbsoluteError") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaModelevaluationMetricsRegressionEvaluationMetrics) MarshalJSON() ([]byte, error)
func (s *GoogleCloudAiplatformV1SchemaModelevaluationMetricsRegressionEvaluationMetrics) UnmarshalJSON(data []byte) error
type GoogleCloudAiplatformV1SchemaModelevaluationMetricsSummarizationEvaluationMetrics struct { // RougeLSum: ROUGE-L (Longest Common Subsequence) scoring at summary level. RougeLSum float64 `json:"rougeLSum,omitempty"` // ForceSendFields is a list of field names (e.g. "RougeLSum") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "RougeLSum") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaModelevaluationMetricsSummarizationEvaluationMetrics) MarshalJSON() ([]byte, error)
func (s *GoogleCloudAiplatformV1SchemaModelevaluationMetricsSummarizationEvaluationMetrics) UnmarshalJSON(data []byte) error
GoogleCloudAiplatformV1SchemaModelevaluationMetricsTextExtractionEvaluationMe trics: Metrics for text extraction evaluation results.
type GoogleCloudAiplatformV1SchemaModelevaluationMetricsTextExtractionEvaluationMetrics struct { // ConfidenceMetrics: Metrics that have confidence thresholds. Precision-recall // curve can be derived from them. ConfidenceMetrics []*GoogleCloudAiplatformV1SchemaModelevaluationMetricsTextExtractionEvaluationMetricsConfidenceMetrics `json:"confidenceMetrics,omitempty"` // ConfusionMatrix: Confusion matrix of the evaluation. Only set for Models // where number of AnnotationSpecs is no more than 10. Only set for // ModelEvaluations, not for ModelEvaluationSlices. ConfusionMatrix *GoogleCloudAiplatformV1SchemaModelevaluationMetricsConfusionMatrix `json:"confusionMatrix,omitempty"` // ForceSendFields is a list of field names (e.g. "ConfidenceMetrics") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ConfidenceMetrics") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaModelevaluationMetricsTextExtractionEvaluationMetrics) MarshalJSON() ([]byte, error)
type GoogleCloudAiplatformV1SchemaModelevaluationMetricsTextExtractionEvaluationMetricsConfidenceMetrics struct { // ConfidenceThreshold: Metrics are computed with an assumption that the Model // never returns predictions with score lower than this value. ConfidenceThreshold float64 `json:"confidenceThreshold,omitempty"` // F1Score: The harmonic mean of recall and precision. F1Score float64 `json:"f1Score,omitempty"` // Precision: Precision for the given confidence threshold. Precision float64 `json:"precision,omitempty"` // Recall: Recall (True Positive Rate) for the given confidence threshold. Recall float64 `json:"recall,omitempty"` // ForceSendFields is a list of field names (e.g. "ConfidenceThreshold") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ConfidenceThreshold") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaModelevaluationMetricsTextExtractionEvaluationMetricsConfidenceMetrics) MarshalJSON() ([]byte, error)
func (s *GoogleCloudAiplatformV1SchemaModelevaluationMetricsTextExtractionEvaluationMetricsConfidenceMetrics) UnmarshalJSON(data []byte) error
GoogleCloudAiplatformV1SchemaModelevaluationMetricsTextSentimentEvaluationMet rics: Model evaluation metrics for text sentiment problems.
type GoogleCloudAiplatformV1SchemaModelevaluationMetricsTextSentimentEvaluationMetrics struct { // ConfusionMatrix: Confusion matrix of the evaluation. Only set for // ModelEvaluations, not for ModelEvaluationSlices. ConfusionMatrix *GoogleCloudAiplatformV1SchemaModelevaluationMetricsConfusionMatrix `json:"confusionMatrix,omitempty"` // F1Score: The harmonic mean of recall and precision. F1Score float64 `json:"f1Score,omitempty"` // LinearKappa: Linear weighted kappa. Only set for ModelEvaluations, not for // ModelEvaluationSlices. LinearKappa float64 `json:"linearKappa,omitempty"` // MeanAbsoluteError: Mean absolute error. Only set for ModelEvaluations, not // for ModelEvaluationSlices. MeanAbsoluteError float64 `json:"meanAbsoluteError,omitempty"` // MeanSquaredError: Mean squared error. Only set for ModelEvaluations, not for // ModelEvaluationSlices. MeanSquaredError float64 `json:"meanSquaredError,omitempty"` // Precision: Precision. Precision float64 `json:"precision,omitempty"` // QuadraticKappa: Quadratic weighted kappa. Only set for ModelEvaluations, not // for ModelEvaluationSlices. QuadraticKappa float64 `json:"quadraticKappa,omitempty"` // Recall: Recall. Recall float64 `json:"recall,omitempty"` // ForceSendFields is a list of field names (e.g. "ConfusionMatrix") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ConfusionMatrix") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaModelevaluationMetricsTextSentimentEvaluationMetrics) MarshalJSON() ([]byte, error)
func (s *GoogleCloudAiplatformV1SchemaModelevaluationMetricsTextSentimentEvaluationMetrics) UnmarshalJSON(data []byte) error
GoogleCloudAiplatformV1SchemaModelevaluationMetricsTrackMetrics: UNIMPLEMENTED. Track matching model metrics for a single track match threshold and multiple label match confidence thresholds.
type GoogleCloudAiplatformV1SchemaModelevaluationMetricsTrackMetrics struct { // ConfidenceMetrics: Metrics for each label-match `confidenceThreshold` from // 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99. Precision-recall curve is derived // from them. ConfidenceMetrics []*GoogleCloudAiplatformV1SchemaModelevaluationMetricsTrackMetricsConfidenceMetrics `json:"confidenceMetrics,omitempty"` // IouThreshold: The intersection-over-union threshold value between bounding // boxes across frames used to compute this metric entry. IouThreshold float64 `json:"iouThreshold,omitempty"` // MeanBoundingBoxIou: The mean bounding box iou over all confidence // thresholds. MeanBoundingBoxIou float64 `json:"meanBoundingBoxIou,omitempty"` // MeanMismatchRate: The mean mismatch rate over all confidence thresholds. MeanMismatchRate float64 `json:"meanMismatchRate,omitempty"` // MeanTrackingAveragePrecision: The mean average precision over all confidence // thresholds. MeanTrackingAveragePrecision float64 `json:"meanTrackingAveragePrecision,omitempty"` // ForceSendFields is a list of field names (e.g. "ConfidenceMetrics") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ConfidenceMetrics") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaModelevaluationMetricsTrackMetrics) MarshalJSON() ([]byte, error)
func (s *GoogleCloudAiplatformV1SchemaModelevaluationMetricsTrackMetrics) UnmarshalJSON(data []byte) error
GoogleCloudAiplatformV1SchemaModelevaluationMetricsTrackMetricsConfidenceMetr ics: Metrics for a single confidence threshold.
type GoogleCloudAiplatformV1SchemaModelevaluationMetricsTrackMetricsConfidenceMetrics struct { // BoundingBoxIou: Bounding box intersection-over-union precision. Measures how // well the bounding boxes overlap between each other (e.g. complete overlap or // just barely above iou_threshold). BoundingBoxIou float64 `json:"boundingBoxIou,omitempty"` // ConfidenceThreshold: The confidence threshold value used to compute the // metrics. ConfidenceThreshold float64 `json:"confidenceThreshold,omitempty"` // MismatchRate: Mismatch rate, which measures the tracking consistency, i.e. // correctness of instance ID continuity. MismatchRate float64 `json:"mismatchRate,omitempty"` // TrackingPrecision: Tracking precision. TrackingPrecision float64 `json:"trackingPrecision,omitempty"` // TrackingRecall: Tracking recall. TrackingRecall float64 `json:"trackingRecall,omitempty"` // ForceSendFields is a list of field names (e.g. "BoundingBoxIou") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BoundingBoxIou") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaModelevaluationMetricsTrackMetricsConfidenceMetrics) MarshalJSON() ([]byte, error)
func (s *GoogleCloudAiplatformV1SchemaModelevaluationMetricsTrackMetricsConfidenceMetrics) UnmarshalJSON(data []byte) error
GoogleCloudAiplatformV1SchemaModelevaluationMetricsVideoActionMetrics: The Evaluation metrics given a specific precision_window_length.
type GoogleCloudAiplatformV1SchemaModelevaluationMetricsVideoActionMetrics struct { // ConfidenceMetrics: Metrics for each label-match confidence_threshold from // 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99. ConfidenceMetrics []*GoogleCloudAiplatformV1SchemaModelevaluationMetricsVideoActionMetricsConfidenceMetrics `json:"confidenceMetrics,omitempty"` // MeanAveragePrecision: The mean average precision. MeanAveragePrecision float64 `json:"meanAveragePrecision,omitempty"` // PrecisionWindowLength: This VideoActionMetrics is calculated based on this // prediction window length. If the predicted action's timestamp is inside the // time window whose center is the ground truth action's timestamp with this // specific length, the prediction result is treated as a true positive. PrecisionWindowLength string `json:"precisionWindowLength,omitempty"` // ForceSendFields is a list of field names (e.g. "ConfidenceMetrics") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ConfidenceMetrics") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaModelevaluationMetricsVideoActionMetrics) MarshalJSON() ([]byte, error)
func (s *GoogleCloudAiplatformV1SchemaModelevaluationMetricsVideoActionMetrics) UnmarshalJSON(data []byte) error
GoogleCloudAiplatformV1SchemaModelevaluationMetricsVideoActionMetricsConfiden ceMetrics: Metrics for a single confidence threshold.
type GoogleCloudAiplatformV1SchemaModelevaluationMetricsVideoActionMetricsConfidenceMetrics struct { // ConfidenceThreshold: Output only. The confidence threshold value used to // compute the metrics. ConfidenceThreshold float64 `json:"confidenceThreshold,omitempty"` // F1Score: Output only. The harmonic mean of recall and precision. F1Score float64 `json:"f1Score,omitempty"` // Precision: Output only. Precision for the given confidence threshold. Precision float64 `json:"precision,omitempty"` // Recall: Output only. Recall for the given confidence threshold. Recall float64 `json:"recall,omitempty"` // ForceSendFields is a list of field names (e.g. "ConfidenceThreshold") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ConfidenceThreshold") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaModelevaluationMetricsVideoActionMetricsConfidenceMetrics) MarshalJSON() ([]byte, error)
func (s *GoogleCloudAiplatformV1SchemaModelevaluationMetricsVideoActionMetricsConfidenceMetrics) UnmarshalJSON(data []byte) error
GoogleCloudAiplatformV1SchemaModelevaluationMetricsVideoActionRecognitionMetr ics: Model evaluation metrics for video action recognition.
type GoogleCloudAiplatformV1SchemaModelevaluationMetricsVideoActionRecognitionMetrics struct { // EvaluatedActionCount: The number of ground truth actions used to create this // evaluation. EvaluatedActionCount int64 `json:"evaluatedActionCount,omitempty"` // VideoActionMetrics: The metric entries for precision window lengths: // 1s,2s,3s. VideoActionMetrics []*GoogleCloudAiplatformV1SchemaModelevaluationMetricsVideoActionMetrics `json:"videoActionMetrics,omitempty"` // ForceSendFields is a list of field names (e.g. "EvaluatedActionCount") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "EvaluatedActionCount") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaModelevaluationMetricsVideoActionRecognitionMetrics) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1SchemaModelevaluationMetricsVideoObjectTrackingMetrics : Model evaluation metrics for video object tracking problems. Evaluates prediction quality of both labeled bounding boxes and labeled tracks (i.e. series of bounding boxes sharing same label and instance ID).
type GoogleCloudAiplatformV1SchemaModelevaluationMetricsVideoObjectTrackingMetrics struct { // BoundingBoxMeanAveragePrecision: The single metric for bounding boxes // evaluation: the `meanAveragePrecision` averaged over all // `boundingBoxMetrics`. BoundingBoxMeanAveragePrecision float64 `json:"boundingBoxMeanAveragePrecision,omitempty"` // BoundingBoxMetrics: The bounding boxes match metrics for each // intersection-over-union threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 and // each label confidence threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 pair. BoundingBoxMetrics []*GoogleCloudAiplatformV1SchemaModelevaluationMetricsBoundingBoxMetrics `json:"boundingBoxMetrics,omitempty"` // EvaluatedBoundingBoxCount: UNIMPLEMENTED. The total number of bounding boxes // (i.e. summed over all frames) the ground truth used to create this // evaluation had. EvaluatedBoundingBoxCount int64 `json:"evaluatedBoundingBoxCount,omitempty"` // EvaluatedFrameCount: UNIMPLEMENTED. The number of video frames used to // create this evaluation. EvaluatedFrameCount int64 `json:"evaluatedFrameCount,omitempty"` // EvaluatedTrackCount: UNIMPLEMENTED. The total number of tracks (i.e. as seen // across all frames) the ground truth used to create this evaluation had. EvaluatedTrackCount int64 `json:"evaluatedTrackCount,omitempty"` // TrackMeanAveragePrecision: UNIMPLEMENTED. The single metric for tracks // accuracy evaluation: the `meanAveragePrecision` averaged over all // `trackMetrics`. TrackMeanAveragePrecision float64 `json:"trackMeanAveragePrecision,omitempty"` // TrackMeanBoundingBoxIou: UNIMPLEMENTED. The single metric for tracks // bounding box iou evaluation: the `meanBoundingBoxIou` averaged over all // `trackMetrics`. TrackMeanBoundingBoxIou float64 `json:"trackMeanBoundingBoxIou,omitempty"` // TrackMeanMismatchRate: UNIMPLEMENTED. The single metric for tracking // consistency evaluation: the `meanMismatchRate` averaged over all // `trackMetrics`. TrackMeanMismatchRate float64 `json:"trackMeanMismatchRate,omitempty"` // TrackMetrics: UNIMPLEMENTED. The tracks match metrics for each // intersection-over-union threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 and // each label confidence threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 pair. TrackMetrics []*GoogleCloudAiplatformV1SchemaModelevaluationMetricsTrackMetrics `json:"trackMetrics,omitempty"` // ForceSendFields is a list of field names (e.g. // "BoundingBoxMeanAveragePrecision") to unconditionally include in API // requests. By default, fields with empty or default values are omitted from // API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BoundingBoxMeanAveragePrecision") // to include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaModelevaluationMetricsVideoObjectTrackingMetrics) MarshalJSON() ([]byte, error)
func (s *GoogleCloudAiplatformV1SchemaModelevaluationMetricsVideoObjectTrackingMetrics) UnmarshalJSON(data []byte) error
GoogleCloudAiplatformV1SchemaPredictInstanceImageClassificationPredictionInst ance: Prediction input format for Image Classification.
type GoogleCloudAiplatformV1SchemaPredictInstanceImageClassificationPredictionInstance struct { // Content: The image bytes or Cloud Storage URI to make the prediction on. Content string `json:"content,omitempty"` // MimeType: The MIME type of the content of the image. Only the images in // below listed MIME types are supported. - image/jpeg - image/gif - image/png // - image/webp - image/bmp - image/tiff - image/vnd.microsoft.icon MimeType string `json:"mimeType,omitempty"` // ForceSendFields is a list of field names (e.g. "Content") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Content") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaPredictInstanceImageClassificationPredictionInstance) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1SchemaPredictInstanceImageObjectDetectionPredictionIns tance: Prediction input format for Image Object Detection.
type GoogleCloudAiplatformV1SchemaPredictInstanceImageObjectDetectionPredictionInstance struct { // Content: The image bytes or Cloud Storage URI to make the prediction on. Content string `json:"content,omitempty"` // MimeType: The MIME type of the content of the image. Only the images in // below listed MIME types are supported. - image/jpeg - image/gif - image/png // - image/webp - image/bmp - image/tiff - image/vnd.microsoft.icon MimeType string `json:"mimeType,omitempty"` // ForceSendFields is a list of field names (e.g. "Content") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Content") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaPredictInstanceImageObjectDetectionPredictionInstance) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1SchemaPredictInstanceImageSegmentationPredictionInstan ce: Prediction input format for Image Segmentation.
type GoogleCloudAiplatformV1SchemaPredictInstanceImageSegmentationPredictionInstance struct { // Content: The image bytes to make the predictions on. Content string `json:"content,omitempty"` // MimeType: The MIME type of the content of the image. Only the images in // below listed MIME types are supported. - image/jpeg - image/png MimeType string `json:"mimeType,omitempty"` // ForceSendFields is a list of field names (e.g. "Content") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Content") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaPredictInstanceImageSegmentationPredictionInstance) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1SchemaPredictInstanceTextClassificationPredictionInsta nce: Prediction input format for Text Classification.
type GoogleCloudAiplatformV1SchemaPredictInstanceTextClassificationPredictionInstance struct { // Content: The text snippet to make the predictions on. Content string `json:"content,omitempty"` // MimeType: The MIME type of the text snippet. The supported MIME types are // listed below. - text/plain MimeType string `json:"mimeType,omitempty"` // ForceSendFields is a list of field names (e.g. "Content") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Content") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaPredictInstanceTextClassificationPredictionInstance) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1SchemaPredictInstanceTextExtractionPredictionInstance:
Prediction input format for Text Extraction.
type GoogleCloudAiplatformV1SchemaPredictInstanceTextExtractionPredictionInstance struct { // Content: The text snippet to make the predictions on. Content string `json:"content,omitempty"` // Key: This field is only used for batch prediction. If a key is provided, the // batch prediction result will by mapped to this key. If omitted, then the // batch prediction result will contain the entire input instance. Vertex AI // will not check if keys in the request are duplicates, so it is up to the // caller to ensure the keys are unique. Key string `json:"key,omitempty"` // MimeType: The MIME type of the text snippet. The supported MIME types are // listed below. - text/plain MimeType string `json:"mimeType,omitempty"` // ForceSendFields is a list of field names (e.g. "Content") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Content") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaPredictInstanceTextExtractionPredictionInstance) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1SchemaPredictInstanceTextSentimentPredictionInstance: Prediction input format for Text Sentiment.
type GoogleCloudAiplatformV1SchemaPredictInstanceTextSentimentPredictionInstance struct { // Content: The text snippet to make the predictions on. Content string `json:"content,omitempty"` // MimeType: The MIME type of the text snippet. The supported MIME types are // listed below. - text/plain MimeType string `json:"mimeType,omitempty"` // ForceSendFields is a list of field names (e.g. "Content") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Content") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaPredictInstanceTextSentimentPredictionInstance) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1SchemaPredictInstanceVideoActionRecognitionPredictionI nstance: Prediction input format for Video Action Recognition.
type GoogleCloudAiplatformV1SchemaPredictInstanceVideoActionRecognitionPredictionInstance struct { // Content: The Google Cloud Storage location of the video on which to perform // the prediction. Content string `json:"content,omitempty"` // MimeType: The MIME type of the content of the video. Only the following are // supported: video/mp4 video/avi video/quicktime MimeType string `json:"mimeType,omitempty"` // TimeSegmentEnd: The end, exclusive, of the video's time segment on which to // perform the prediction. Expressed as a number of seconds as measured from // the start of the video, with "s" appended at the end. Fractions are allowed, // up to a microsecond precision, and "inf" or "Infinity" is allowed, which // means the end of the video. TimeSegmentEnd string `json:"timeSegmentEnd,omitempty"` // TimeSegmentStart: The beginning, inclusive, of the video's time segment on // which to perform the prediction. Expressed as a number of seconds as // measured from the start of the video, with "s" appended at the end. // Fractions are allowed, up to a microsecond precision. TimeSegmentStart string `json:"timeSegmentStart,omitempty"` // ForceSendFields is a list of field names (e.g. "Content") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Content") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaPredictInstanceVideoActionRecognitionPredictionInstance) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1SchemaPredictInstanceVideoClassificationPredictionInst ance: Prediction input format for Video Classification.
type GoogleCloudAiplatformV1SchemaPredictInstanceVideoClassificationPredictionInstance struct { // Content: The Google Cloud Storage location of the video on which to perform // the prediction. Content string `json:"content,omitempty"` // MimeType: The MIME type of the content of the video. Only the following are // supported: video/mp4 video/avi video/quicktime MimeType string `json:"mimeType,omitempty"` // TimeSegmentEnd: The end, exclusive, of the video's time segment on which to // perform the prediction. Expressed as a number of seconds as measured from // the start of the video, with "s" appended at the end. Fractions are allowed, // up to a microsecond precision, and "inf" or "Infinity" is allowed, which // means the end of the video. TimeSegmentEnd string `json:"timeSegmentEnd,omitempty"` // TimeSegmentStart: The beginning, inclusive, of the video's time segment on // which to perform the prediction. Expressed as a number of seconds as // measured from the start of the video, with "s" appended at the end. // Fractions are allowed, up to a microsecond precision. TimeSegmentStart string `json:"timeSegmentStart,omitempty"` // ForceSendFields is a list of field names (e.g. "Content") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Content") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaPredictInstanceVideoClassificationPredictionInstance) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1SchemaPredictInstanceVideoObjectTrackingPredictionInst ance: Prediction input format for Video Object Tracking.
type GoogleCloudAiplatformV1SchemaPredictInstanceVideoObjectTrackingPredictionInstance struct { // Content: The Google Cloud Storage location of the video on which to perform // the prediction. Content string `json:"content,omitempty"` // MimeType: The MIME type of the content of the video. Only the following are // supported: video/mp4 video/avi video/quicktime MimeType string `json:"mimeType,omitempty"` // TimeSegmentEnd: The end, exclusive, of the video's time segment on which to // perform the prediction. Expressed as a number of seconds as measured from // the start of the video, with "s" appended at the end. Fractions are allowed, // up to a microsecond precision, and "inf" or "Infinity" is allowed, which // means the end of the video. TimeSegmentEnd string `json:"timeSegmentEnd,omitempty"` // TimeSegmentStart: The beginning, inclusive, of the video's time segment on // which to perform the prediction. Expressed as a number of seconds as // measured from the start of the video, with "s" appended at the end. // Fractions are allowed, up to a microsecond precision. TimeSegmentStart string `json:"timeSegmentStart,omitempty"` // ForceSendFields is a list of field names (e.g. "Content") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Content") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaPredictInstanceVideoObjectTrackingPredictionInstance) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfig: The configuration for grounding checking.
type GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfig struct { // DisableAttribution: If set, skip finding claim attributions (i.e not // generate grounding citation). DisableAttribution bool `json:"disableAttribution,omitempty"` // Sources: The sources for the grounding checking. Sources []*GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfigSourceEntry `json:"sources,omitempty"` // ForceSendFields is a list of field names (e.g. "DisableAttribution") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DisableAttribution") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfig) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfigSourceEntry: Single source entry for the grounding checking.
type GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfigSourceEntry struct { // EnterpriseDatastore: The uri of the Vertex AI Search data source. // Deprecated. Use vertex_ai_search_datastore instead. EnterpriseDatastore string `json:"enterpriseDatastore,omitempty"` // InlineContext: The grounding text passed inline with the Predict API. It can // support up to 1 million bytes. InlineContext string `json:"inlineContext,omitempty"` // Type: The type of the grounding checking source. // // Possible values: // "UNSPECIFIED" // "WEB" - Uses Web Search to check the grounding. // "ENTERPRISE" - Uses Vertex AI Search to check the grounding. Deprecated. // Use VERTEX_AI_SEARCH instead. // "VERTEX_AI_SEARCH" - Uses Vertex AI Search to check the grounding // "INLINE" - Uses inline context to check the grounding. Type string `json:"type,omitempty"` // VertexAiSearchDatastore: The uri of the Vertex AI Search data source. VertexAiSearchDatastore string `json:"vertexAiSearchDatastore,omitempty"` // ForceSendFields is a list of field names (e.g. "EnterpriseDatastore") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "EnterpriseDatastore") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfigSourceEntry) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1SchemaPredictParamsImageClassificationPredictionParams : Prediction model parameters for Image Classification.
type GoogleCloudAiplatformV1SchemaPredictParamsImageClassificationPredictionParams struct { // ConfidenceThreshold: The Model only returns predictions with at least this // confidence score. Default value is 0.0 ConfidenceThreshold float64 `json:"confidenceThreshold,omitempty"` // MaxPredictions: The Model only returns up to that many top, by confidence // score, predictions per instance. If this number is very high, the Model may // return fewer predictions. Default value is 10. MaxPredictions int64 `json:"maxPredictions,omitempty"` // ForceSendFields is a list of field names (e.g. "ConfidenceThreshold") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ConfidenceThreshold") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaPredictParamsImageClassificationPredictionParams) MarshalJSON() ([]byte, error)
func (s *GoogleCloudAiplatformV1SchemaPredictParamsImageClassificationPredictionParams) UnmarshalJSON(data []byte) error
GoogleCloudAiplatformV1SchemaPredictParamsImageObjectDetectionPredictionParam s: Prediction model parameters for Image Object Detection.
type GoogleCloudAiplatformV1SchemaPredictParamsImageObjectDetectionPredictionParams struct { // ConfidenceThreshold: The Model only returns predictions with at least this // confidence score. Default value is 0.0 ConfidenceThreshold float64 `json:"confidenceThreshold,omitempty"` // MaxPredictions: The Model only returns up to that many top, by confidence // score, predictions per instance. Note that number of returned predictions is // also limited by metadata's predictionsLimit. Default value is 10. MaxPredictions int64 `json:"maxPredictions,omitempty"` // ForceSendFields is a list of field names (e.g. "ConfidenceThreshold") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ConfidenceThreshold") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaPredictParamsImageObjectDetectionPredictionParams) MarshalJSON() ([]byte, error)
func (s *GoogleCloudAiplatformV1SchemaPredictParamsImageObjectDetectionPredictionParams) UnmarshalJSON(data []byte) error
GoogleCloudAiplatformV1SchemaPredictParamsImageSegmentationPredictionParams: Prediction model parameters for Image Segmentation.
type GoogleCloudAiplatformV1SchemaPredictParamsImageSegmentationPredictionParams struct { // ConfidenceThreshold: When the model predicts category of pixels of the // image, it will only provide predictions for pixels that it is at least this // much confident about. All other pixels will be classified as background. // Default value is 0.5. ConfidenceThreshold float64 `json:"confidenceThreshold,omitempty"` // ForceSendFields is a list of field names (e.g. "ConfidenceThreshold") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ConfidenceThreshold") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaPredictParamsImageSegmentationPredictionParams) MarshalJSON() ([]byte, error)
func (s *GoogleCloudAiplatformV1SchemaPredictParamsImageSegmentationPredictionParams) UnmarshalJSON(data []byte) error
GoogleCloudAiplatformV1SchemaPredictParamsVideoActionRecognitionPredictionPar ams: Prediction model parameters for Video Action Recognition.
type GoogleCloudAiplatformV1SchemaPredictParamsVideoActionRecognitionPredictionParams struct { // ConfidenceThreshold: The Model only returns predictions with at least this // confidence score. Default value is 0.0 ConfidenceThreshold float64 `json:"confidenceThreshold,omitempty"` // MaxPredictions: The model only returns up to that many top, by confidence // score, predictions per frame of the video. If this number is very high, the // Model may return fewer predictions per frame. Default value is 50. MaxPredictions int64 `json:"maxPredictions,omitempty"` // ForceSendFields is a list of field names (e.g. "ConfidenceThreshold") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ConfidenceThreshold") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaPredictParamsVideoActionRecognitionPredictionParams) MarshalJSON() ([]byte, error)
func (s *GoogleCloudAiplatformV1SchemaPredictParamsVideoActionRecognitionPredictionParams) UnmarshalJSON(data []byte) error
GoogleCloudAiplatformV1SchemaPredictParamsVideoClassificationPredictionParams : Prediction model parameters for Video Classification.
type GoogleCloudAiplatformV1SchemaPredictParamsVideoClassificationPredictionParams struct { // ConfidenceThreshold: The Model only returns predictions with at least this // confidence score. Default value is 0.0 ConfidenceThreshold float64 `json:"confidenceThreshold,omitempty"` // MaxPredictions: The Model only returns up to that many top, by confidence // score, predictions per instance. If this number is very high, the Model may // return fewer predictions. Default value is 10,000. MaxPredictions int64 `json:"maxPredictions,omitempty"` // OneSecIntervalClassification: Set to true to request classification for a // video at one-second intervals. Vertex AI returns labels and their confidence // scores for each second of the entire time segment of the video that user // specified in the input WARNING: Model evaluation is not done for this // classification type, the quality of it depends on the training data, but // there are no metrics provided to describe that quality. Default value is // false OneSecIntervalClassification bool `json:"oneSecIntervalClassification,omitempty"` // SegmentClassification: Set to true to request segment-level classification. // Vertex AI returns labels and their confidence scores for the entire time // segment of the video that user specified in the input instance. Default // value is true SegmentClassification bool `json:"segmentClassification,omitempty"` // ShotClassification: Set to true to request shot-level classification. Vertex // AI determines the boundaries for each camera shot in the entire time segment // of the video that user specified in the input instance. Vertex AI then // returns labels and their confidence scores for each detected shot, along // with the start and end time of the shot. WARNING: Model evaluation is not // done for this classification type, the quality of it depends on the training // data, but there are no metrics provided to describe that quality. Default // value is false ShotClassification bool `json:"shotClassification,omitempty"` // ForceSendFields is a list of field names (e.g. "ConfidenceThreshold") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ConfidenceThreshold") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaPredictParamsVideoClassificationPredictionParams) MarshalJSON() ([]byte, error)
func (s *GoogleCloudAiplatformV1SchemaPredictParamsVideoClassificationPredictionParams) UnmarshalJSON(data []byte) error
GoogleCloudAiplatformV1SchemaPredictParamsVideoObjectTrackingPredictionParams : Prediction model parameters for Video Object Tracking.
type GoogleCloudAiplatformV1SchemaPredictParamsVideoObjectTrackingPredictionParams struct { // ConfidenceThreshold: The Model only returns predictions with at least this // confidence score. Default value is 0.0 ConfidenceThreshold float64 `json:"confidenceThreshold,omitempty"` // MaxPredictions: The model only returns up to that many top, by confidence // score, predictions per frame of the video. If this number is very high, the // Model may return fewer predictions per frame. Default value is 50. MaxPredictions int64 `json:"maxPredictions,omitempty"` // MinBoundingBoxSize: Only bounding boxes with shortest edge at least that // long as a relative value of video frame size are returned. Default value is // 0.0. MinBoundingBoxSize float64 `json:"minBoundingBoxSize,omitempty"` // ForceSendFields is a list of field names (e.g. "ConfidenceThreshold") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ConfidenceThreshold") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaPredictParamsVideoObjectTrackingPredictionParams) MarshalJSON() ([]byte, error)
func (s *GoogleCloudAiplatformV1SchemaPredictParamsVideoObjectTrackingPredictionParams) UnmarshalJSON(data []byte) error
GoogleCloudAiplatformV1SchemaPredictPredictionClassificationPredictionResult:
Prediction output format for Image and Text Classification.
type GoogleCloudAiplatformV1SchemaPredictPredictionClassificationPredictionResult struct { // Confidences: The Model's confidences in correctness of the predicted IDs, // higher value means higher confidence. Order matches the Ids. Confidences []float64 `json:"confidences,omitempty"` // DisplayNames: The display names of the AnnotationSpecs that had been // identified, order matches the IDs. DisplayNames []string `json:"displayNames,omitempty"` // Ids: The resource IDs of the AnnotationSpecs that had been identified. Ids googleapi.Int64s `json:"ids,omitempty"` // ForceSendFields is a list of field names (e.g. "Confidences") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Confidences") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaPredictPredictionClassificationPredictionResult) MarshalJSON() ([]byte, error)
func (s *GoogleCloudAiplatformV1SchemaPredictPredictionClassificationPredictionResult) UnmarshalJSON(data []byte) error
GoogleCloudAiplatformV1SchemaPredictPredictionImageObjectDetectionPredictionR esult: Prediction output format for Image Object Detection.
type GoogleCloudAiplatformV1SchemaPredictPredictionImageObjectDetectionPredictionResult struct { // Bboxes: Bounding boxes, i.e. the rectangles over the image, that pinpoint // the found AnnotationSpecs. Given in order that matches the IDs. Each // bounding box is an array of 4 numbers `xMin`, `xMax`, `yMin`, and `yMax`, // which represent the extremal coordinates of the box. They are relative to // the image size, and the point 0,0 is in the top left of the image. Bboxes [][]interface{} `json:"bboxes,omitempty"` // Confidences: The Model's confidences in correctness of the predicted IDs, // higher value means higher confidence. Order matches the Ids. Confidences []float64 `json:"confidences,omitempty"` // DisplayNames: The display names of the AnnotationSpecs that had been // identified, order matches the IDs. DisplayNames []string `json:"displayNames,omitempty"` // Ids: The resource IDs of the AnnotationSpecs that had been identified, // ordered by the confidence score descendingly. Ids googleapi.Int64s `json:"ids,omitempty"` // ForceSendFields is a list of field names (e.g. "Bboxes") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Bboxes") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaPredictPredictionImageObjectDetectionPredictionResult) MarshalJSON() ([]byte, error)
func (s *GoogleCloudAiplatformV1SchemaPredictPredictionImageObjectDetectionPredictionResult) UnmarshalJSON(data []byte) error
GoogleCloudAiplatformV1SchemaPredictPredictionImageSegmentationPredictionResu lt: Prediction output format for Image Segmentation.
type GoogleCloudAiplatformV1SchemaPredictPredictionImageSegmentationPredictionResult struct { // CategoryMask: A PNG image where each pixel in the mask represents the // category in which the pixel in the original image was predicted to belong // to. The size of this image will be the same as the original image. The // mapping between the AnntoationSpec and the color can be found in model's // metadata. The model will choose the most likely category and if none of the // categories reach the confidence threshold, the pixel will be marked as // background. CategoryMask string `json:"categoryMask,omitempty"` // ConfidenceMask: A one channel image which is encoded as an 8bit lossless // PNG. The size of the image will be the same as the original image. For a // specific pixel, darker color means less confidence in correctness of the // cateogry in the categoryMask for the corresponding pixel. Black means no // confidence and white means complete confidence. ConfidenceMask string `json:"confidenceMask,omitempty"` // ForceSendFields is a list of field names (e.g. "CategoryMask") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CategoryMask") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaPredictPredictionImageSegmentationPredictionResult) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1SchemaPredictPredictionTabularClassificationPrediction Result: Prediction output format for Tabular Classification.
type GoogleCloudAiplatformV1SchemaPredictPredictionTabularClassificationPredictionResult struct { // Classes: The name of the classes being classified, contains all possible // values of the target column. Classes []string `json:"classes,omitempty"` // Scores: The model's confidence in each class being correct, higher value // means higher confidence. The N-th score corresponds to the N-th class in // classes. Scores []float64 `json:"scores,omitempty"` // ForceSendFields is a list of field names (e.g. "Classes") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Classes") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaPredictPredictionTabularClassificationPredictionResult) MarshalJSON() ([]byte, error)
func (s *GoogleCloudAiplatformV1SchemaPredictPredictionTabularClassificationPredictionResult) UnmarshalJSON(data []byte) error
GoogleCloudAiplatformV1SchemaPredictPredictionTabularRegressionPredictionResu lt: Prediction output format for Tabular Regression.
type GoogleCloudAiplatformV1SchemaPredictPredictionTabularRegressionPredictionResult struct { // LowerBound: The lower bound of the prediction interval. LowerBound float64 `json:"lowerBound,omitempty"` // QuantilePredictions: Quantile predictions, in 1-1 correspondence with // quantile_values. QuantilePredictions []float64 `json:"quantilePredictions,omitempty"` // QuantileValues: Quantile values. QuantileValues []float64 `json:"quantileValues,omitempty"` // UpperBound: The upper bound of the prediction interval. UpperBound float64 `json:"upperBound,omitempty"` // Value: The regression value. Value float64 `json:"value,omitempty"` // ForceSendFields is a list of field names (e.g. "LowerBound") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "LowerBound") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaPredictPredictionTabularRegressionPredictionResult) MarshalJSON() ([]byte, error)
func (s *GoogleCloudAiplatformV1SchemaPredictPredictionTabularRegressionPredictionResult) UnmarshalJSON(data []byte) error
GoogleCloudAiplatformV1SchemaPredictPredictionTextExtractionPredictionResult:
Prediction output format for Text Extraction.
type GoogleCloudAiplatformV1SchemaPredictPredictionTextExtractionPredictionResult struct { // Confidences: The Model's confidences in correctness of the predicted IDs, // higher value means higher confidence. Order matches the Ids. Confidences []float64 `json:"confidences,omitempty"` // DisplayNames: The display names of the AnnotationSpecs that had been // identified, order matches the IDs. DisplayNames []string `json:"displayNames,omitempty"` // Ids: The resource IDs of the AnnotationSpecs that had been identified, // ordered by the confidence score descendingly. Ids googleapi.Int64s `json:"ids,omitempty"` // TextSegmentEndOffsets: The end offsets, inclusive, of the text segment in // which the AnnotationSpec has been identified. Expressed as a zero-based // number of characters as measured from the start of the text snippet. TextSegmentEndOffsets googleapi.Int64s `json:"textSegmentEndOffsets,omitempty"` // TextSegmentStartOffsets: The start offsets, inclusive, of the text segment // in which the AnnotationSpec has been identified. Expressed as a zero-based // number of characters as measured from the start of the text snippet. TextSegmentStartOffsets googleapi.Int64s `json:"textSegmentStartOffsets,omitempty"` // ForceSendFields is a list of field names (e.g. "Confidences") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Confidences") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaPredictPredictionTextExtractionPredictionResult) MarshalJSON() ([]byte, error)
func (s *GoogleCloudAiplatformV1SchemaPredictPredictionTextExtractionPredictionResult) UnmarshalJSON(data []byte) error
GoogleCloudAiplatformV1SchemaPredictPredictionTextSentimentPredictionResult: Prediction output format for Text Sentiment
type GoogleCloudAiplatformV1SchemaPredictPredictionTextSentimentPredictionResult struct { // Sentiment: The integer sentiment labels between 0 (inclusive) and // sentimentMax label (inclusive), while 0 maps to the least positive sentiment // and sentimentMax maps to the most positive one. The higher the score is, the // more positive the sentiment in the text snippet is. Note: sentimentMax is an // integer value between 1 (inclusive) and 10 (inclusive). Sentiment int64 `json:"sentiment,omitempty"` // ForceSendFields is a list of field names (e.g. "Sentiment") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Sentiment") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaPredictPredictionTextSentimentPredictionResult) MarshalJSON() ([]byte, error)
type GoogleCloudAiplatformV1SchemaPredictPredictionTftFeatureImportance struct { AttributeColumns []string `json:"attributeColumns,omitempty"` AttributeWeights []float64 `json:"attributeWeights,omitempty"` ContextColumns []string `json:"contextColumns,omitempty"` // ContextWeights: TFT feature importance values. Each pair for // {context/horizon/attribute} should have the same shape since the weight // corresponds to the column names. ContextWeights []float64 `json:"contextWeights,omitempty"` HorizonColumns []string `json:"horizonColumns,omitempty"` HorizonWeights []float64 `json:"horizonWeights,omitempty"` // ForceSendFields is a list of field names (e.g. "AttributeColumns") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AttributeColumns") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaPredictPredictionTftFeatureImportance) MarshalJSON() ([]byte, error)
func (s *GoogleCloudAiplatformV1SchemaPredictPredictionTftFeatureImportance) UnmarshalJSON(data []byte) error
GoogleCloudAiplatformV1SchemaPredictPredictionTimeSeriesForecastingPrediction Result: Prediction output format for Time Series Forecasting.
type GoogleCloudAiplatformV1SchemaPredictPredictionTimeSeriesForecastingPredictionResult struct { // QuantilePredictions: Quantile predictions, in 1-1 correspondence with // quantile_values. QuantilePredictions []float64 `json:"quantilePredictions,omitempty"` // QuantileValues: Quantile values. QuantileValues []float64 `json:"quantileValues,omitempty"` // TftFeatureImportance: Only use these if TFt is enabled. TftFeatureImportance *GoogleCloudAiplatformV1SchemaPredictPredictionTftFeatureImportance `json:"tftFeatureImportance,omitempty"` // Value: The regression value. Value float64 `json:"value,omitempty"` // ForceSendFields is a list of field names (e.g. "QuantilePredictions") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "QuantilePredictions") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaPredictPredictionTimeSeriesForecastingPredictionResult) MarshalJSON() ([]byte, error)
func (s *GoogleCloudAiplatformV1SchemaPredictPredictionTimeSeriesForecastingPredictionResult) UnmarshalJSON(data []byte) error
GoogleCloudAiplatformV1SchemaPredictPredictionVideoActionRecognitionPredictio nResult: Prediction output format for Video Action Recognition.
type GoogleCloudAiplatformV1SchemaPredictPredictionVideoActionRecognitionPredictionResult struct { // Confidence: The Model's confidence in correction of this prediction, higher // value means higher confidence. Confidence float64 `json:"confidence,omitempty"` // DisplayName: The display name of the AnnotationSpec that had been // identified. DisplayName string `json:"displayName,omitempty"` // Id: The resource ID of the AnnotationSpec that had been identified. Id string `json:"id,omitempty"` // TimeSegmentEnd: The end, exclusive, of the video's time segment in which the // AnnotationSpec has been identified. Expressed as a number of seconds as // measured from the start of the video, with fractions up to a microsecond // precision, and with "s" appended at the end. TimeSegmentEnd string `json:"timeSegmentEnd,omitempty"` // TimeSegmentStart: The beginning, inclusive, of the video's time segment in // which the AnnotationSpec has been identified. Expressed as a number of // seconds as measured from the start of the video, with fractions up to a // microsecond precision, and with "s" appended at the end. TimeSegmentStart string `json:"timeSegmentStart,omitempty"` // ForceSendFields is a list of field names (e.g. "Confidence") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Confidence") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaPredictPredictionVideoActionRecognitionPredictionResult) MarshalJSON() ([]byte, error)
func (s *GoogleCloudAiplatformV1SchemaPredictPredictionVideoActionRecognitionPredictionResult) UnmarshalJSON(data []byte) error
GoogleCloudAiplatformV1SchemaPredictPredictionVideoClassificationPredictionRe sult: Prediction output format for Video Classification.
type GoogleCloudAiplatformV1SchemaPredictPredictionVideoClassificationPredictionResult struct { // Confidence: The Model's confidence in correction of this prediction, higher // value means higher confidence. Confidence float64 `json:"confidence,omitempty"` // DisplayName: The display name of the AnnotationSpec that had been // identified. DisplayName string `json:"displayName,omitempty"` // Id: The resource ID of the AnnotationSpec that had been identified. Id string `json:"id,omitempty"` // TimeSegmentEnd: The end, exclusive, of the video's time segment in which the // AnnotationSpec has been identified. Expressed as a number of seconds as // measured from the start of the video, with fractions up to a microsecond // precision, and with "s" appended at the end. Note that for // 'segment-classification' prediction type, this equals the original // 'timeSegmentEnd' from the input instance, for other types it is the end of a // shot or a 1 second interval respectively. TimeSegmentEnd string `json:"timeSegmentEnd,omitempty"` // TimeSegmentStart: The beginning, inclusive, of the video's time segment in // which the AnnotationSpec has been identified. Expressed as a number of // seconds as measured from the start of the video, with fractions up to a // microsecond precision, and with "s" appended at the end. Note that for // 'segment-classification' prediction type, this equals the original // 'timeSegmentStart' from the input instance, for other types it is the start // of a shot or a 1 second interval respectively. TimeSegmentStart string `json:"timeSegmentStart,omitempty"` // Type: The type of the prediction. The requested types can be configured via // parameters. This will be one of - segment-classification - // shot-classification - one-sec-interval-classification Type string `json:"type,omitempty"` // ForceSendFields is a list of field names (e.g. "Confidence") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Confidence") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaPredictPredictionVideoClassificationPredictionResult) MarshalJSON() ([]byte, error)
func (s *GoogleCloudAiplatformV1SchemaPredictPredictionVideoClassificationPredictionResult) UnmarshalJSON(data []byte) error
GoogleCloudAiplatformV1SchemaPredictPredictionVideoObjectTrackingPredictionRe sult: Prediction output format for Video Object Tracking.
type GoogleCloudAiplatformV1SchemaPredictPredictionVideoObjectTrackingPredictionResult struct { // Confidence: The Model's confidence in correction of this prediction, higher // value means higher confidence. Confidence float64 `json:"confidence,omitempty"` // DisplayName: The display name of the AnnotationSpec that had been // identified. DisplayName string `json:"displayName,omitempty"` // Frames: All of the frames of the video in which a single object instance has // been detected. The bounding boxes in the frames identify the same object. Frames []*GoogleCloudAiplatformV1SchemaPredictPredictionVideoObjectTrackingPredictionResultFrame `json:"frames,omitempty"` // Id: The resource ID of the AnnotationSpec that had been identified. Id string `json:"id,omitempty"` // TimeSegmentEnd: The end, inclusive, of the video's time segment in which the // object instance has been detected. Expressed as a number of seconds as // measured from the start of the video, with fractions up to a microsecond // precision, and with "s" appended at the end. TimeSegmentEnd string `json:"timeSegmentEnd,omitempty"` // TimeSegmentStart: The beginning, inclusive, of the video's time segment in // which the object instance has been detected. Expressed as a number of // seconds as measured from the start of the video, with fractions up to a // microsecond precision, and with "s" appended at the end. TimeSegmentStart string `json:"timeSegmentStart,omitempty"` // ForceSendFields is a list of field names (e.g. "Confidence") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Confidence") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaPredictPredictionVideoObjectTrackingPredictionResult) MarshalJSON() ([]byte, error)
func (s *GoogleCloudAiplatformV1SchemaPredictPredictionVideoObjectTrackingPredictionResult) UnmarshalJSON(data []byte) error
GoogleCloudAiplatformV1SchemaPredictPredictionVideoObjectTrackingPredictionRe sultFrame: The fields `xMin`, `xMax`, `yMin`, and `yMax` refer to a bounding box, i.e. the rectangle over the video frame pinpointing the found AnnotationSpec. The coordinates are relative to the frame size, and the point 0,0 is in the top left of the frame.
type GoogleCloudAiplatformV1SchemaPredictPredictionVideoObjectTrackingPredictionResultFrame struct { // TimeOffset: A time (frame) of a video in which the object has been detected. // Expressed as a number of seconds as measured from the start of the video, // with fractions up to a microsecond precision, and with "s" appended at the // end. TimeOffset string `json:"timeOffset,omitempty"` // XMax: The rightmost coordinate of the bounding box. XMax float64 `json:"xMax,omitempty"` // XMin: The leftmost coordinate of the bounding box. XMin float64 `json:"xMin,omitempty"` // YMax: The bottommost coordinate of the bounding box. YMax float64 `json:"yMax,omitempty"` // YMin: The topmost coordinate of the bounding box. YMin float64 `json:"yMin,omitempty"` // ForceSendFields is a list of field names (e.g. "TimeOffset") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "TimeOffset") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaPredictPredictionVideoObjectTrackingPredictionResultFrame) MarshalJSON() ([]byte, error)
func (s *GoogleCloudAiplatformV1SchemaPredictPredictionVideoObjectTrackingPredictionResultFrame) UnmarshalJSON(data []byte) error
GoogleCloudAiplatformV1SchemaPredictionResult: Represents a line of JSONL in the batch prediction output file.
type GoogleCloudAiplatformV1SchemaPredictionResult struct { // Error: The error result. Do not set prediction if this is set. Error *GoogleCloudAiplatformV1SchemaPredictionResultError `json:"error,omitempty"` // Instance: User's input instance. Struct is used here instead of Any so that // JsonFormat does not append an extra "@type" field when we convert the proto // to JSON. Instance googleapi.RawMessage `json:"instance,omitempty"` // Key: Optional user-provided key from the input instance. Key string `json:"key,omitempty"` // Prediction: The prediction result. Value is used here instead of Any so that // JsonFormat does not append an extra "@type" field when we convert the proto // to JSON and so we can represent array of objects. Do not set error if this // is set. Prediction interface{} `json:"prediction,omitempty"` // ForceSendFields is a list of field names (e.g. "Error") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Error") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaPredictionResult) MarshalJSON() ([]byte, error)
type GoogleCloudAiplatformV1SchemaPredictionResultError struct { // Message: Error message with additional details. Message string `json:"message,omitempty"` // Status: Error status. This will be serialized into the enum name e.g. // "NOT_FOUND". // // Possible values: // "OK" - Not an error; returned on success. HTTP Mapping: 200 OK // "CANCELLED" - The operation was cancelled, typically by the caller. HTTP // Mapping: 499 Client Closed Request // "UNKNOWN" - Unknown error. For example, this error may be returned when a // `Status` value received from another address space belongs to an error space // that is not known in this address space. Also errors raised by APIs that do // not return enough error information may be converted to this error. HTTP // Mapping: 500 Internal Server Error // "INVALID_ARGUMENT" - The client specified an invalid argument. Note that // this differs from `FAILED_PRECONDITION`. `INVALID_ARGUMENT` indicates // arguments that are problematic regardless of the state of the system (e.g., // a malformed file name). HTTP Mapping: 400 Bad Request // "DEADLINE_EXCEEDED" - The deadline expired before the operation could // complete. For operations that change the state of the system, this error may // be returned even if the operation has completed successfully. For example, a // successful response from a server could have been delayed long enough for // the deadline to expire. HTTP Mapping: 504 Gateway Timeout // "NOT_FOUND" - Some requested entity (e.g., file or directory) was not // found. Note to server developers: if a request is denied for an entire class // of users, such as gradual feature rollout or undocumented allowlist, // `NOT_FOUND` may be used. If a request is denied for some users within a // class of users, such as user-based access control, `PERMISSION_DENIED` must // be used. HTTP Mapping: 404 Not Found // "ALREADY_EXISTS" - The entity that a client attempted to create (e.g., // file or directory) already exists. HTTP Mapping: 409 Conflict // "PERMISSION_DENIED" - The caller does not have permission to execute the // specified operation. `PERMISSION_DENIED` must not be used for rejections // caused by exhausting some resource (use `RESOURCE_EXHAUSTED` instead for // those errors). `PERMISSION_DENIED` must not be used if the caller can not be // identified (use `UNAUTHENTICATED` instead for those errors). This error code // does not imply the request is valid or the requested entity exists or // satisfies other pre-conditions. HTTP Mapping: 403 Forbidden // "UNAUTHENTICATED" - The request does not have valid authentication // credentials for the operation. HTTP Mapping: 401 Unauthorized // "RESOURCE_EXHAUSTED" - Some resource has been exhausted, perhaps a // per-user quota, or perhaps the entire file system is out of space. HTTP // Mapping: 429 Too Many Requests // "FAILED_PRECONDITION" - The operation was rejected because the system is // not in a state required for the operation's execution. For example, the // directory to be deleted is non-empty, an rmdir operation is applied to a // non-directory, etc. Service implementors can use the following guidelines to // decide between `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`: (a) Use // `UNAVAILABLE` if the client can retry just the failing call. (b) Use // `ABORTED` if the client should retry at a higher level. For example, when a // client-specified test-and-set fails, indicating the client should restart a // read-modify-write sequence. (c) Use `FAILED_PRECONDITION` if the client // should not retry until the system state has been explicitly fixed. For // example, if an "rmdir" fails because the directory is non-empty, // `FAILED_PRECONDITION` should be returned since the client should not retry // unless the files are deleted from the directory. HTTP Mapping: 400 Bad // Request // "ABORTED" - The operation was aborted, typically due to a concurrency // issue such as a sequencer check failure or transaction abort. See the // guidelines above for deciding between `FAILED_PRECONDITION`, `ABORTED`, and // `UNAVAILABLE`. HTTP Mapping: 409 Conflict // "OUT_OF_RANGE" - The operation was attempted past the valid range. E.g., // seeking or reading past end-of-file. Unlike `INVALID_ARGUMENT`, this error // indicates a problem that may be fixed if the system state changes. For // example, a 32-bit file system will generate `INVALID_ARGUMENT` if asked to // read at an offset that is not in the range [0,2^32-1], but it will generate // `OUT_OF_RANGE` if asked to read from an offset past the current file size. // There is a fair bit of overlap between `FAILED_PRECONDITION` and // `OUT_OF_RANGE`. We recommend using `OUT_OF_RANGE` (the more specific error) // when it applies so that callers who are iterating through a space can easily // look for an `OUT_OF_RANGE` error to detect when they are done. HTTP Mapping: // 400 Bad Request // "UNIMPLEMENTED" - The operation is not implemented or is not // supported/enabled in this service. HTTP Mapping: 501 Not Implemented // "INTERNAL" - Internal errors. This means that some invariants expected by // the underlying system have been broken. This error code is reserved for // serious errors. HTTP Mapping: 500 Internal Server Error // "UNAVAILABLE" - The service is currently unavailable. This is most likely // a transient condition, which can be corrected by retrying with a backoff. // Note that it is not always safe to retry non-idempotent operations. See the // guidelines above for deciding between `FAILED_PRECONDITION`, `ABORTED`, and // `UNAVAILABLE`. HTTP Mapping: 503 Service Unavailable // "DATA_LOSS" - Unrecoverable data loss or corruption. HTTP Mapping: 500 // Internal Server Error Status string `json:"status,omitempty"` // ForceSendFields is a list of field names (e.g. "Message") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Message") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaPredictionResultError) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1SchemaTablesDatasetMetadata: The metadata of Datasets that contain tables data.
type GoogleCloudAiplatformV1SchemaTablesDatasetMetadata struct { InputConfig *GoogleCloudAiplatformV1SchemaTablesDatasetMetadataInputConfig `json:"inputConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "InputConfig") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "InputConfig") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaTablesDatasetMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudAiplatformV1SchemaTablesDatasetMetadataBigQuerySource struct { // Uri: The URI of a BigQuery table. e.g. bq://projectId.bqDatasetId.bqTableId Uri string `json:"uri,omitempty"` // ForceSendFields is a list of field names (e.g. "Uri") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Uri") to include in API requests // with the JSON null value. By default, fields with empty values are omitted // from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaTablesDatasetMetadataBigQuerySource) MarshalJSON() ([]byte, error)
type GoogleCloudAiplatformV1SchemaTablesDatasetMetadataGcsSource struct { // Uri: Cloud Storage URI of one or more files. Only CSV files are supported. // The first line of the CSV file is used as the header. If there are multiple // files, the header is the first line of the lexicographically first file, the // other files must either contain the exact same header or omit the header. Uri []string `json:"uri,omitempty"` // ForceSendFields is a list of field names (e.g. "Uri") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Uri") to include in API requests // with the JSON null value. By default, fields with empty values are omitted // from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaTablesDatasetMetadataGcsSource) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1SchemaTablesDatasetMetadataInputConfig: The tables Dataset's data source. The Dataset doesn't store the data directly, but only pointer(s) to its data.
type GoogleCloudAiplatformV1SchemaTablesDatasetMetadataInputConfig struct { BigquerySource *GoogleCloudAiplatformV1SchemaTablesDatasetMetadataBigQuerySource `json:"bigquerySource,omitempty"` GcsSource *GoogleCloudAiplatformV1SchemaTablesDatasetMetadataGcsSource `json:"gcsSource,omitempty"` // ForceSendFields is a list of field names (e.g. "BigquerySource") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BigquerySource") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaTablesDatasetMetadataInputConfig) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1SchemaTextClassificationAnnotation: Annotation details specific to text classification.
type GoogleCloudAiplatformV1SchemaTextClassificationAnnotation struct { // AnnotationSpecId: The resource Id of the AnnotationSpec that this Annotation // pertains to. AnnotationSpecId string `json:"annotationSpecId,omitempty"` // DisplayName: The display name of the AnnotationSpec that this Annotation // pertains to. DisplayName string `json:"displayName,omitempty"` // ForceSendFields is a list of field names (e.g. "AnnotationSpecId") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AnnotationSpecId") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaTextClassificationAnnotation) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1SchemaTextDataItem: Payload of Text DataItem.
type GoogleCloudAiplatformV1SchemaTextDataItem struct { // GcsUri: Output only. Google Cloud Storage URI points to the original text in // user's bucket. The text file is up to 10MB in size. GcsUri string `json:"gcsUri,omitempty"` // ForceSendFields is a list of field names (e.g. "GcsUri") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "GcsUri") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaTextDataItem) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1SchemaTextDatasetMetadata: The metadata of Datasets that contain Text DataItems.
type GoogleCloudAiplatformV1SchemaTextDatasetMetadata struct { // DataItemSchemaUri: Points to a YAML file stored on Google Cloud Storage // describing payload of the Text DataItems that belong to this Dataset. DataItemSchemaUri string `json:"dataItemSchemaUri,omitempty"` // GcsBucket: Google Cloud Storage Bucket name that contains the blob data of // this Dataset. GcsBucket string `json:"gcsBucket,omitempty"` // ForceSendFields is a list of field names (e.g. "DataItemSchemaUri") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DataItemSchemaUri") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaTextDatasetMetadata) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1SchemaTextExtractionAnnotation: Annotation details specific to text extraction.
type GoogleCloudAiplatformV1SchemaTextExtractionAnnotation struct { // AnnotationSpecId: The resource Id of the AnnotationSpec that this Annotation // pertains to. AnnotationSpecId string `json:"annotationSpecId,omitempty"` // DisplayName: The display name of the AnnotationSpec that this Annotation // pertains to. DisplayName string `json:"displayName,omitempty"` // TextSegment: The segment of the text content. TextSegment *GoogleCloudAiplatformV1SchemaTextSegment `json:"textSegment,omitempty"` // ForceSendFields is a list of field names (e.g. "AnnotationSpecId") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AnnotationSpecId") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaTextExtractionAnnotation) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1SchemaTextPromptDatasetMetadata: The metadata of Datasets that contain Text Prompt data.
type GoogleCloudAiplatformV1SchemaTextPromptDatasetMetadata struct { // CandidateCount: Number of candidates. CandidateCount int64 `json:"candidateCount,omitempty,string"` // GcsUri: The Google Cloud Storage URI that stores the prompt data. GcsUri string `json:"gcsUri,omitempty"` // GroundingConfig: Grounding checking configuration. GroundingConfig *GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfig `json:"groundingConfig,omitempty"` // MaxOutputTokens: Value of the maximum number of tokens generated set when // the dataset was saved. MaxOutputTokens int64 `json:"maxOutputTokens,omitempty,string"` // Note: User-created prompt note. Note size limit is 2KB. Note string `json:"note,omitempty"` // PromptType: Type of the prompt dataset. PromptType string `json:"promptType,omitempty"` // StopSequences: Customized stop sequences. StopSequences []string `json:"stopSequences,omitempty"` // SystemInstructionGcsUri: The Google Cloud Storage URI that stores the system // instruction, starting with gs://. SystemInstructionGcsUri string `json:"systemInstructionGcsUri,omitempty"` // Temperature: Temperature value used for sampling set when the dataset was // saved. This value is used to tune the degree of randomness. Temperature float64 `json:"temperature,omitempty"` // Text: The content of the prompt dataset. Text string `json:"text,omitempty"` // TopK: Top K value set when the dataset was saved. This value determines how // many candidates with highest probability from the vocab would be selected // for each decoding step. TopK int64 `json:"topK,omitempty,string"` // TopP: Top P value set when the dataset was saved. Given topK tokens for // decoding, top candidates will be selected until the sum of their // probabilities is topP. TopP float64 `json:"topP,omitempty"` // ForceSendFields is a list of field names (e.g. "CandidateCount") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CandidateCount") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaTextPromptDatasetMetadata) MarshalJSON() ([]byte, error)
func (s *GoogleCloudAiplatformV1SchemaTextPromptDatasetMetadata) UnmarshalJSON(data []byte) error
GoogleCloudAiplatformV1SchemaTextSegment: The text segment inside of DataItem.
type GoogleCloudAiplatformV1SchemaTextSegment struct { // Content: The text content in the segment for output only. Content string `json:"content,omitempty"` // EndOffset: Zero-based character index of the first character past the end of // the text segment (counting character from the beginning of the text). The // character at the end_offset is NOT included in the text segment. EndOffset uint64 `json:"endOffset,omitempty,string"` // StartOffset: Zero-based character index of the first character of the text // segment (counting characters from the beginning of the text). StartOffset uint64 `json:"startOffset,omitempty,string"` // ForceSendFields is a list of field names (e.g. "Content") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Content") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaTextSegment) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1SchemaTextSentimentAnnotation: Annotation details specific to text sentiment.
type GoogleCloudAiplatformV1SchemaTextSentimentAnnotation struct { // AnnotationSpecId: The resource Id of the AnnotationSpec that this Annotation // pertains to. AnnotationSpecId string `json:"annotationSpecId,omitempty"` // DisplayName: The display name of the AnnotationSpec that this Annotation // pertains to. DisplayName string `json:"displayName,omitempty"` // Sentiment: The sentiment score for text. Sentiment int64 `json:"sentiment,omitempty"` // SentimentMax: The sentiment max score for text. SentimentMax int64 `json:"sentimentMax,omitempty"` // ForceSendFields is a list of field names (e.g. "AnnotationSpecId") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AnnotationSpecId") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaTextSentimentAnnotation) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1SchemaTextSentimentSavedQueryMetadata: The metadata of SavedQuery contains TextSentiment Annotations.
type GoogleCloudAiplatformV1SchemaTextSentimentSavedQueryMetadata struct { // SentimentMax: The maximum sentiment of sentiment Anntoation in this // SavedQuery. SentimentMax int64 `json:"sentimentMax,omitempty"` // ForceSendFields is a list of field names (e.g. "SentimentMax") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "SentimentMax") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaTextSentimentSavedQueryMetadata) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1SchemaTimeSegment: A time period inside of a DataItem that has a time dimension (e.g. video).
type GoogleCloudAiplatformV1SchemaTimeSegment struct { // EndTimeOffset: End of the time segment (exclusive), represented as the // duration since the start of the DataItem. EndTimeOffset string `json:"endTimeOffset,omitempty"` // StartTimeOffset: Start of the time segment (inclusive), represented as the // duration since the start of the DataItem. StartTimeOffset string `json:"startTimeOffset,omitempty"` // ForceSendFields is a list of field names (e.g. "EndTimeOffset") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "EndTimeOffset") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaTimeSegment) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1SchemaTimeSeriesDatasetMetadata: The metadata of Datasets that contain time series data.
type GoogleCloudAiplatformV1SchemaTimeSeriesDatasetMetadata struct { InputConfig *GoogleCloudAiplatformV1SchemaTimeSeriesDatasetMetadataInputConfig `json:"inputConfig,omitempty"` // TimeColumn: The column name of the time column that identifies time order in // the time series. TimeColumn string `json:"timeColumn,omitempty"` // TimeSeriesIdentifierColumn: The column name of the time series identifier // column that identifies the time series. TimeSeriesIdentifierColumn string `json:"timeSeriesIdentifierColumn,omitempty"` // ForceSendFields is a list of field names (e.g. "InputConfig") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "InputConfig") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaTimeSeriesDatasetMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudAiplatformV1SchemaTimeSeriesDatasetMetadataBigQuerySource struct { // Uri: The URI of a BigQuery table. Uri string `json:"uri,omitempty"` // ForceSendFields is a list of field names (e.g. "Uri") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Uri") to include in API requests // with the JSON null value. By default, fields with empty values are omitted // from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaTimeSeriesDatasetMetadataBigQuerySource) MarshalJSON() ([]byte, error)
type GoogleCloudAiplatformV1SchemaTimeSeriesDatasetMetadataGcsSource struct { // Uri: Cloud Storage URI of one or more files. Only CSV files are supported. // The first line of the CSV file is used as the header. If there are multiple // files, the header is the first line of the lexicographically first file, the // other files must either contain the exact same header or omit the header. Uri []string `json:"uri,omitempty"` // ForceSendFields is a list of field names (e.g. "Uri") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Uri") to include in API requests // with the JSON null value. By default, fields with empty values are omitted // from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaTimeSeriesDatasetMetadataGcsSource) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1SchemaTimeSeriesDatasetMetadataInputConfig: The time series Dataset's data source. The Dataset doesn't store the data directly, but only pointer(s) to its data.
type GoogleCloudAiplatformV1SchemaTimeSeriesDatasetMetadataInputConfig struct { BigquerySource *GoogleCloudAiplatformV1SchemaTimeSeriesDatasetMetadataBigQuerySource `json:"bigquerySource,omitempty"` GcsSource *GoogleCloudAiplatformV1SchemaTimeSeriesDatasetMetadataGcsSource `json:"gcsSource,omitempty"` // ForceSendFields is a list of field names (e.g. "BigquerySource") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BigquerySource") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaTimeSeriesDatasetMetadataInputConfig) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlForecasting: A TrainingJob that trains and uploads an AutoML Forecasting Model.
type GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlForecasting struct { // Inputs: The input parameters of this TrainingJob. Inputs *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlForecastingInputs `json:"inputs,omitempty"` // Metadata: The metadata information. Metadata *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlForecastingMetadata `json:"metadata,omitempty"` // ForceSendFields is a list of field names (e.g. "Inputs") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Inputs") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlForecasting) MarshalJSON() ([]byte, error)
type GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlForecastingInputs struct { // AdditionalExperiments: Additional experiment flags for the time series // forcasting training. AdditionalExperiments []string `json:"additionalExperiments,omitempty"` // AvailableAtForecastColumns: Names of columns that are available and provided // when a forecast is requested. These columns contain information for the // given entity (identified by the time_series_identifier_column column) that // is known at forecast. For example, predicted weather for a specific day. AvailableAtForecastColumns []string `json:"availableAtForecastColumns,omitempty"` // ContextWindow: The amount of time into the past training and prediction data // is used for model training and prediction respectively. Expressed in number // of units defined by the `data_granularity` field. ContextWindow int64 `json:"contextWindow,omitempty,string"` // DataGranularity: Expected difference in time granularity between rows in the // data. DataGranularity *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlForecastingInputsGranularity `json:"dataGranularity,omitempty"` // EnableProbabilisticInference: If probabilistic inference is enabled, the // model will fit a distribution that captures the uncertainty of a prediction. // At inference time, the predictive distribution is used to make a point // prediction that minimizes the optimization objective. For example, the mean // of a predictive distribution is the point prediction that minimizes RMSE // loss. If quantiles are specified, then the quantiles of the distribution are // also returned. The optimization objective cannot be minimize-quantile-loss. EnableProbabilisticInference bool `json:"enableProbabilisticInference,omitempty"` // ExportEvaluatedDataItemsConfig: Configuration for exporting test set // predictions to a BigQuery table. If this configuration is absent, then the // export is not performed. ExportEvaluatedDataItemsConfig *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionExportEvaluatedDataItemsConfig `json:"exportEvaluatedDataItemsConfig,omitempty"` // ForecastHorizon: The amount of time into the future for which forecasted // values for the target are returned. Expressed in number of units defined by // the `data_granularity` field. ForecastHorizon int64 `json:"forecastHorizon,omitempty,string"` // HierarchyConfig: Configuration that defines the hierarchical relationship of // time series and parameters for hierarchical forecasting strategies. HierarchyConfig *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionHierarchyConfig `json:"hierarchyConfig,omitempty"` // HolidayRegions: The geographical region based on which the holiday effect is // applied in modeling by adding holiday categorical array feature that include // all holidays matching the date. This option only allowed when // data_granularity is day. By default, holiday effect modeling is disabled. To // turn it on, specify the holiday region using this option. HolidayRegions []string `json:"holidayRegions,omitempty"` // OptimizationObjective: Objective function the model is optimizing towards. // The training process creates a model that optimizes the value of the // objective function over the validation set. The supported optimization // objectives: * "minimize-rmse" (default) - Minimize root-mean-squared error // (RMSE). * "minimize-mae" - Minimize mean-absolute error (MAE). * // "minimize-rmsle" - Minimize root-mean-squared log error (RMSLE). * // "minimize-rmspe" - Minimize root-mean-squared percentage error (RMSPE). * // "minimize-wape-mae" - Minimize the combination of weighted absolute // percentage error (WAPE) and mean-absolute-error (MAE). * // "minimize-quantile-loss" - Minimize the quantile loss at the quantiles // defined in `quantiles`. * "minimize-mape" - Minimize the mean absolute // percentage error. OptimizationObjective string `json:"optimizationObjective,omitempty"` // Quantiles: Quantiles to use for minimize-quantile-loss // `optimization_objective`, or for probabilistic inference. Up to 5 quantiles // are allowed of values between 0 and 1, exclusive. Required if the value of // optimization_objective is minimize-quantile-loss. Represents the percent // quantiles to use for that objective. Quantiles must be unique. Quantiles []float64 `json:"quantiles,omitempty"` // TargetColumn: The name of the column that the Model is to predict values // for. This column must be unavailable at forecast. TargetColumn string `json:"targetColumn,omitempty"` // TimeColumn: The name of the column that identifies time order in the time // series. This column must be available at forecast. TimeColumn string `json:"timeColumn,omitempty"` // TimeSeriesAttributeColumns: Column names that should be used as attribute // columns. The value of these columns does not vary as a function of time. For // example, store ID or item color. TimeSeriesAttributeColumns []string `json:"timeSeriesAttributeColumns,omitempty"` // TimeSeriesIdentifierColumn: The name of the column that identifies the time // series. TimeSeriesIdentifierColumn string `json:"timeSeriesIdentifierColumn,omitempty"` // TrainBudgetMilliNodeHours: Required. The train budget of creating this // model, expressed in milli node hours i.e. 1,000 value in this field means 1 // node hour. The training cost of the model will not exceed this budget. The // final cost will be attempted to be close to the budget, though may end up // being (even) noticeably smaller - at the backend's discretion. This // especially may happen when further model training ceases to provide any // improvements. If the budget is set to a value known to be insufficient to // train a model for the given dataset, the training won't be attempted and // will error. The train budget must be between 1,000 and 72,000 milli node // hours, inclusive. TrainBudgetMilliNodeHours int64 `json:"trainBudgetMilliNodeHours,omitempty,string"` // Transformations: Each transformation will apply transform function to given // input column. And the result will be used for training. When creating // transformation for BigQuery Struct column, the column should be flattened // using "." as the delimiter. Transformations []*GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlForecastingInputsTransformation `json:"transformations,omitempty"` // UnavailableAtForecastColumns: Names of columns that are unavailable when a // forecast is requested. This column contains information for the given entity // (identified by the time_series_identifier_column) that is unknown before the // forecast For example, actual weather on a given day. UnavailableAtForecastColumns []string `json:"unavailableAtForecastColumns,omitempty"` // ValidationOptions: Validation options for the data validation component. The // available options are: * "fail-pipeline" - default, will validate against // the validation and fail the pipeline if it fails. * "ignore-validation" - // ignore the results of the validation and continue ValidationOptions string `json:"validationOptions,omitempty"` // WeightColumn: Column name that should be used as the weight column. Higher // values in this column give more importance to the row during model training. // The column must have numeric values between 0 and 10000 inclusively; 0 means // the row is ignored for training. If weight column field is not set, then all // rows are assumed to have equal weight of 1. WeightColumn string `json:"weightColumn,omitempty"` // WindowConfig: Config containing strategy for generating sliding windows. WindowConfig *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionWindowConfig `json:"windowConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "AdditionalExperiments") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AdditionalExperiments") to // include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlForecastingInputs) MarshalJSON() ([]byte, error)
func (s *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlForecastingInputs) UnmarshalJSON(data []byte) error
GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlForecastingInputsGran ularity: A duration of time expressed in time granularity units.
type GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlForecastingInputsGranularity struct { // Quantity: The number of granularity_units between data points in the // training data. If `granularity_unit` is `minute`, can be 1, 5, 10, 15, or // 30. For all other values of `granularity_unit`, must be 1. Quantity int64 `json:"quantity,omitempty,string"` // Unit: The time granularity unit of this time period. The supported units // are: * "minute" * "hour" * "day" * "week" * "month" * "year" Unit string `json:"unit,omitempty"` // ForceSendFields is a list of field names (e.g. "Quantity") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Quantity") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlForecastingInputsGranularity) MarshalJSON() ([]byte, error)
type GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlForecastingInputsTransformation struct { Auto *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlForecastingInputsTransformationAutoTransformation `json:"auto,omitempty"` Categorical *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlForecastingInputsTransformationCategoricalTransformation `json:"categorical,omitempty"` Numeric *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlForecastingInputsTransformationNumericTransformation `json:"numeric,omitempty"` Text *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlForecastingInputsTransformationTextTransformation `json:"text,omitempty"` Timestamp *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlForecastingInputsTransformationTimestampTransformation `json:"timestamp,omitempty"` // ForceSendFields is a list of field names (e.g. "Auto") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Auto") to include in API requests // with the JSON null value. By default, fields with empty values are omitted // from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlForecastingInputsTransformation) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlForecastingInputsTran sformationAutoTransformation: Training pipeline will infer the proper transformation based on the statistic of dataset.
type GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlForecastingInputsTransformationAutoTransformation struct { ColumnName string `json:"columnName,omitempty"` // ForceSendFields is a list of field names (e.g. "ColumnName") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ColumnName") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlForecastingInputsTransformationAutoTransformation) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlForecastingInputsTran sformationCategoricalTransformation: Training pipeline will perform following transformation functions. * The categorical string as is--no change to case, punctuation, spelling, tense, and so on. * Convert the category name to a dictionary lookup index and generate an embedding for each index. * Categories that appear less than 5 times in the training dataset are treated as the "unknown" category. The "unknown" category gets its own special lookup index and resulting embedding.
type GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlForecastingInputsTransformationCategoricalTransformation struct { ColumnName string `json:"columnName,omitempty"` // ForceSendFields is a list of field names (e.g. "ColumnName") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ColumnName") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlForecastingInputsTransformationCategoricalTransformation) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlForecastingInputsTran sformationNumericTransformation: Training pipeline will perform following transformation functions. * The value converted to float32. * The z_score of the value. * log(value+1) when the value is greater than or equal to 0. Otherwise, this transformation is not applied and the value is considered a missing value. * z_score of log(value+1) when the value is greater than or equal to 0. Otherwise, this transformation is not applied and the value is considered a missing value. * A boolean value that indicates whether the value is valid.
type GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlForecastingInputsTransformationNumericTransformation struct { ColumnName string `json:"columnName,omitempty"` // ForceSendFields is a list of field names (e.g. "ColumnName") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ColumnName") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlForecastingInputsTransformationNumericTransformation) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlForecastingInputsTran sformationTextTransformation: Training pipeline will perform following transformation functions. * The text as is--no change to case, punctuation, spelling, tense, and so on. * Convert the category name to a dictionary lookup index and generate an embedding for each index.
type GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlForecastingInputsTransformationTextTransformation struct { ColumnName string `json:"columnName,omitempty"` // ForceSendFields is a list of field names (e.g. "ColumnName") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ColumnName") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlForecastingInputsTransformationTextTransformation) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlForecastingInputsTran sformationTimestampTransformation: Training pipeline will perform following transformation functions. * Apply the transformation functions for Numerical columns. * Determine the year, month, day,and weekday. Treat each value from the timestamp as a Categorical column. * Invalid numerical values (for example, values that fall outside of a typical timestamp range, or are extreme values) receive no special treatment and are not removed.
type GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlForecastingInputsTransformationTimestampTransformation struct { ColumnName string `json:"columnName,omitempty"` // TimeFormat: The format in which that time field is expressed. The // time_format must either be one of: * `unix-seconds` * `unix-milliseconds` * // `unix-microseconds` * `unix-nanoseconds` (for respectively number of // seconds, milliseconds, microseconds and nanoseconds since start of the Unix // epoch); or be written in `strftime` syntax. If time_format is not set, then // the default format is RFC 3339 `date-time` format, where `time-offset` = // "Z" (e.g. 1985-04-12T23:20:50.52Z) TimeFormat string `json:"timeFormat,omitempty"` // ForceSendFields is a list of field names (e.g. "ColumnName") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ColumnName") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlForecastingInputsTransformationTimestampTransformation) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlForecastingMetadata: Model metadata specific to AutoML Forecasting.
type GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlForecastingMetadata struct { // EvaluatedDataItemsBigqueryUri: BigQuery destination uri for exported // evaluated examples. EvaluatedDataItemsBigqueryUri string `json:"evaluatedDataItemsBigqueryUri,omitempty"` // TrainCostMilliNodeHours: Output only. The actual training cost of the model, // expressed in milli node hours, i.e. 1,000 value in this field means 1 node // hour. Guaranteed to not exceed the train budget. TrainCostMilliNodeHours int64 `json:"trainCostMilliNodeHours,omitempty,string"` // ForceSendFields is a list of field names (e.g. // "EvaluatedDataItemsBigqueryUri") to unconditionally include in API requests. // By default, fields with empty or default values are omitted from API // requests. See https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields // for more details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "EvaluatedDataItemsBigqueryUri") // to include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlForecastingMetadata) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlImageClassification: A TrainingJob that trains and uploads an AutoML Image Classification Model.
type GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlImageClassification struct { // Inputs: The input parameters of this TrainingJob. Inputs *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlImageClassificationInputs `json:"inputs,omitempty"` // Metadata: The metadata information. Metadata *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlImageClassificationMetadata `json:"metadata,omitempty"` // ForceSendFields is a list of field names (e.g. "Inputs") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Inputs") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlImageClassification) MarshalJSON() ([]byte, error)
type GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlImageClassificationInputs struct { // BaseModelId: The ID of the `base` model. If it is specified, the new model // will be trained based on the `base` model. Otherwise, the new model will be // trained from scratch. The `base` model must be in the same Project and // Location as the new Model to train, and have the same modelType. BaseModelId string `json:"baseModelId,omitempty"` // BudgetMilliNodeHours: The training budget of creating this model, expressed // in milli node hours i.e. 1,000 value in this field means 1 node hour. The // actual metadata.costMilliNodeHours will be equal or less than this value. If // further model training ceases to provide any improvements, it will stop // without using the full budget and the metadata.successfulStopReason will be // `model-converged`. Note, node_hour = actual_hour * number_of_nodes_involved. // For modelType `cloud`(default), the budget must be between 8,000 and 800,000 // milli node hours, inclusive. The default value is 192,000 which represents // one day in wall time, considering 8 nodes are used. For model types // `mobile-tf-low-latency-1`, `mobile-tf-versatile-1`, // `mobile-tf-high-accuracy-1`, the training budget must be between 1,000 and // 100,000 milli node hours, inclusive. The default value is 24,000 which // represents one day in wall time on a single node that is used. BudgetMilliNodeHours int64 `json:"budgetMilliNodeHours,omitempty,string"` // DisableEarlyStopping: Use the entire training budget. This disables the // early stopping feature. When false the early stopping feature is enabled, // which means that AutoML Image Classification might stop training before the // entire training budget has been used. DisableEarlyStopping bool `json:"disableEarlyStopping,omitempty"` // Possible values: // "MODEL_TYPE_UNSPECIFIED" - Should not be set. // "CLOUD" - A Model best tailored to be used within Google Cloud, and which // cannot be exported. Default. // "CLOUD_1" - A model type best tailored to be used within Google Cloud, // which cannot be exported externally. Compared to the CLOUD model above, it // is expected to have higher prediction accuracy. // "MOBILE_TF_LOW_LATENCY_1" - A model that, in addition to being available // within Google Cloud, can also be exported (see ModelService.ExportModel) as // TensorFlow or Core ML model and used on a mobile or edge device afterwards. // Expected to have low latency, but may have lower prediction quality than // other mobile models. // "MOBILE_TF_VERSATILE_1" - A model that, in addition to being available // within Google Cloud, can also be exported (see ModelService.ExportModel) as // TensorFlow or Core ML model and used on a mobile or edge device with // afterwards. // "MOBILE_TF_HIGH_ACCURACY_1" - A model that, in addition to being available // within Google Cloud, can also be exported (see ModelService.ExportModel) as // TensorFlow or Core ML model and used on a mobile or edge device afterwards. // Expected to have a higher latency, but should also have a higher prediction // quality than other mobile models. // "EFFICIENTNET" - EfficientNet model for Model Garden training with // customizable hyperparameters. Best tailored to be used within Google Cloud, // and cannot be exported externally. // "MAXVIT" - MaxViT model for Model Garden training with customizable // hyperparameters. Best tailored to be used within Google Cloud, and cannot be // exported externally. // "VIT" - ViT model for Model Garden training with customizable // hyperparameters. Best tailored to be used within Google Cloud, and cannot be // exported externally. // "COCA" - CoCa model for Model Garden training with customizable // hyperparameters. Best tailored to be used within Google Cloud, and cannot be // exported externally. ModelType string `json:"modelType,omitempty"` // MultiLabel: If false, a single-label (multi-class) Model will be trained // (i.e. assuming that for each image just up to one annotation may be // applicable). If true, a multi-label Model will be trained (i.e. assuming // that for each image multiple annotations may be applicable). MultiLabel bool `json:"multiLabel,omitempty"` // TunableParameter: Trainer type for Vision TrainRequest. TunableParameter *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutomlImageTrainingTunableParameter `json:"tunableParameter,omitempty"` // UptrainBaseModelId: The ID of `base` model for upTraining. If it is // specified, the new model will be upTrained based on the `base` model for // upTraining. Otherwise, the new model will be trained from scratch. The // `base` model for upTraining must be in the same Project and Location as the // new Model to train, and have the same modelType. UptrainBaseModelId string `json:"uptrainBaseModelId,omitempty"` // ForceSendFields is a list of field names (e.g. "BaseModelId") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BaseModelId") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlImageClassificationInputs) MarshalJSON() ([]byte, error)
type GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlImageClassificationMetadata struct { // CostMilliNodeHours: The actual training cost of creating this model, // expressed in milli node hours, i.e. 1,000 value in this field means 1 node // hour. Guaranteed to not exceed inputs.budgetMilliNodeHours. CostMilliNodeHours int64 `json:"costMilliNodeHours,omitempty,string"` // SuccessfulStopReason: For successful job completions, this is the reason why // the job has finished. // // Possible values: // "SUCCESSFUL_STOP_REASON_UNSPECIFIED" - Should not be set. // "BUDGET_REACHED" - The inputs.budgetMilliNodeHours had been reached. // "MODEL_CONVERGED" - Further training of the Model ceased to increase its // quality, since it already has converged. SuccessfulStopReason string `json:"successfulStopReason,omitempty"` // ForceSendFields is a list of field names (e.g. "CostMilliNodeHours") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CostMilliNodeHours") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlImageClassificationMetadata) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlImageObjectDetection:
A TrainingJob that trains and uploads an AutoML Image Object Detection
Model.
type GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlImageObjectDetection struct { // Inputs: The input parameters of this TrainingJob. Inputs *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlImageObjectDetectionInputs `json:"inputs,omitempty"` // Metadata: The metadata information Metadata *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlImageObjectDetectionMetadata `json:"metadata,omitempty"` // ForceSendFields is a list of field names (e.g. "Inputs") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Inputs") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlImageObjectDetection) MarshalJSON() ([]byte, error)
type GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlImageObjectDetectionInputs struct { // BudgetMilliNodeHours: The training budget of creating this model, expressed // in milli node hours i.e. 1,000 value in this field means 1 node hour. The // actual metadata.costMilliNodeHours will be equal or less than this value. If // further model training ceases to provide any improvements, it will stop // without using the full budget and the metadata.successfulStopReason will be // `model-converged`. Note, node_hour = actual_hour * number_of_nodes_involved. // For modelType `cloud`(default), the budget must be between 20,000 and // 900,000 milli node hours, inclusive. The default value is 216,000 which // represents one day in wall time, considering 9 nodes are used. For model // types `mobile-tf-low-latency-1`, `mobile-tf-versatile-1`, // `mobile-tf-high-accuracy-1` the training budget must be between 1,000 and // 100,000 milli node hours, inclusive. The default value is 24,000 which // represents one day in wall time on a single node that is used. BudgetMilliNodeHours int64 `json:"budgetMilliNodeHours,omitempty,string"` // DisableEarlyStopping: Use the entire training budget. This disables the // early stopping feature. When false the early stopping feature is enabled, // which means that AutoML Image Object Detection might stop training before // the entire training budget has been used. DisableEarlyStopping bool `json:"disableEarlyStopping,omitempty"` // Possible values: // "MODEL_TYPE_UNSPECIFIED" - Should not be set. // "CLOUD_HIGH_ACCURACY_1" - A model best tailored to be used within Google // Cloud, and which cannot be exported. Expected to have a higher latency, but // should also have a higher prediction quality than other cloud models. // "CLOUD_LOW_LATENCY_1" - A model best tailored to be used within Google // Cloud, and which cannot be exported. Expected to have a low latency, but may // have lower prediction quality than other cloud models. // "CLOUD_1" - A model best tailored to be used within Google Cloud, and // which cannot be exported. Compared to the CLOUD_HIGH_ACCURACY_1 and // CLOUD_LOW_LATENCY_1 models above, it is expected to have higher prediction // quality and lower latency. // "MOBILE_TF_LOW_LATENCY_1" - A model that, in addition to being available // within Google Cloud can also be exported (see ModelService.ExportModel) and // used on a mobile or edge device with TensorFlow afterwards. Expected to have // low latency, but may have lower prediction quality than other mobile models. // "MOBILE_TF_VERSATILE_1" - A model that, in addition to being available // within Google Cloud can also be exported (see ModelService.ExportModel) and // used on a mobile or edge device with TensorFlow afterwards. // "MOBILE_TF_HIGH_ACCURACY_1" - A model that, in addition to being available // within Google Cloud, can also be exported (see ModelService.ExportModel) and // used on a mobile or edge device with TensorFlow afterwards. Expected to have // a higher latency, but should also have a higher prediction quality than // other mobile models. // "CLOUD_STREAMING_1" - A model best tailored to be used within Google // Cloud, and which cannot be exported. Expected to best support predictions in // streaming with lower latency and lower prediction quality than other cloud // models. // "SPINENET" - SpineNet for Model Garden training with customizable // hyperparameters. Best tailored to be used within Google Cloud, and cannot be // exported externally. // "YOLO" - YOLO for Model Garden training with customizable hyperparameters. // Best tailored to be used within Google Cloud, and cannot be exported // externally. ModelType string `json:"modelType,omitempty"` // TunableParameter: Trainer type for Vision TrainRequest. TunableParameter *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutomlImageTrainingTunableParameter `json:"tunableParameter,omitempty"` // UptrainBaseModelId: The ID of `base` model for upTraining. If it is // specified, the new model will be upTrained based on the `base` model for // upTraining. Otherwise, the new model will be trained from scratch. The // `base` model for upTraining must be in the same Project and Location as the // new Model to train, and have the same modelType. UptrainBaseModelId string `json:"uptrainBaseModelId,omitempty"` // ForceSendFields is a list of field names (e.g. "BudgetMilliNodeHours") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BudgetMilliNodeHours") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlImageObjectDetectionInputs) MarshalJSON() ([]byte, error)
type GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlImageObjectDetectionMetadata struct { // CostMilliNodeHours: The actual training cost of creating this model, // expressed in milli node hours, i.e. 1,000 value in this field means 1 node // hour. Guaranteed to not exceed inputs.budgetMilliNodeHours. CostMilliNodeHours int64 `json:"costMilliNodeHours,omitempty,string"` // SuccessfulStopReason: For successful job completions, this is the reason why // the job has finished. // // Possible values: // "SUCCESSFUL_STOP_REASON_UNSPECIFIED" - Should not be set. // "BUDGET_REACHED" - The inputs.budgetMilliNodeHours had been reached. // "MODEL_CONVERGED" - Further training of the Model ceased to increase its // quality, since it already has converged. SuccessfulStopReason string `json:"successfulStopReason,omitempty"` // ForceSendFields is a list of field names (e.g. "CostMilliNodeHours") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CostMilliNodeHours") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlImageObjectDetectionMetadata) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlImageSegmentation: A TrainingJob that trains and uploads an AutoML Image Segmentation Model.
type GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlImageSegmentation struct { // Inputs: The input parameters of this TrainingJob. Inputs *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlImageSegmentationInputs `json:"inputs,omitempty"` // Metadata: The metadata information. Metadata *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlImageSegmentationMetadata `json:"metadata,omitempty"` // ForceSendFields is a list of field names (e.g. "Inputs") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Inputs") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlImageSegmentation) MarshalJSON() ([]byte, error)
type GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlImageSegmentationInputs struct { // BaseModelId: The ID of the `base` model. If it is specified, the new model // will be trained based on the `base` model. Otherwise, the new model will be // trained from scratch. The `base` model must be in the same Project and // Location as the new Model to train, and have the same modelType. BaseModelId string `json:"baseModelId,omitempty"` // BudgetMilliNodeHours: The training budget of creating this model, expressed // in milli node hours i.e. 1,000 value in this field means 1 node hour. The // actual metadata.costMilliNodeHours will be equal or less than this value. If // further model training ceases to provide any improvements, it will stop // without using the full budget and the metadata.successfulStopReason will be // `model-converged`. Note, node_hour = actual_hour * number_of_nodes_involved. // Or actual_wall_clock_hours = train_budget_milli_node_hours / // (number_of_nodes_involved * 1000) For modelType // `cloud-high-accuracy-1`(default), the budget must be between 20,000 and // 2,000,000 milli node hours, inclusive. The default value is 192,000 which // represents one day in wall time (1000 milli * 24 hours * 8 nodes). BudgetMilliNodeHours int64 `json:"budgetMilliNodeHours,omitempty,string"` // Possible values: // "MODEL_TYPE_UNSPECIFIED" - Should not be set. // "CLOUD_HIGH_ACCURACY_1" - A model to be used via prediction calls to uCAIP // API. Expected to have a higher latency, but should also have a higher // prediction quality than other models. // "CLOUD_LOW_ACCURACY_1" - A model to be used via prediction calls to uCAIP // API. Expected to have a lower latency but relatively lower prediction // quality. // "MOBILE_TF_LOW_LATENCY_1" - A model that, in addition to being available // within Google Cloud, can also be exported (see ModelService.ExportModel) as // TensorFlow model and used on a mobile or edge device afterwards. Expected to // have low latency, but may have lower prediction quality than other mobile // models. ModelType string `json:"modelType,omitempty"` // ForceSendFields is a list of field names (e.g. "BaseModelId") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BaseModelId") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlImageSegmentationInputs) MarshalJSON() ([]byte, error)
type GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlImageSegmentationMetadata struct { // CostMilliNodeHours: The actual training cost of creating this model, // expressed in milli node hours, i.e. 1,000 value in this field means 1 node // hour. Guaranteed to not exceed inputs.budgetMilliNodeHours. CostMilliNodeHours int64 `json:"costMilliNodeHours,omitempty,string"` // SuccessfulStopReason: For successful job completions, this is the reason why // the job has finished. // // Possible values: // "SUCCESSFUL_STOP_REASON_UNSPECIFIED" - Should not be set. // "BUDGET_REACHED" - The inputs.budgetMilliNodeHours had been reached. // "MODEL_CONVERGED" - Further training of the Model ceased to increase its // quality, since it already has converged. SuccessfulStopReason string `json:"successfulStopReason,omitempty"` // ForceSendFields is a list of field names (e.g. "CostMilliNodeHours") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CostMilliNodeHours") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlImageSegmentationMetadata) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTables: A TrainingJob that trains and uploads an AutoML Tables Model.
type GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTables struct { // Inputs: The input parameters of this TrainingJob. Inputs *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTablesInputs `json:"inputs,omitempty"` // Metadata: The metadata information. Metadata *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTablesMetadata `json:"metadata,omitempty"` // ForceSendFields is a list of field names (e.g. "Inputs") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Inputs") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTables) MarshalJSON() ([]byte, error)
type GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTablesInputs struct { // AdditionalExperiments: Additional experiment flags for the Tables training // pipeline. AdditionalExperiments []string `json:"additionalExperiments,omitempty"` // DisableEarlyStopping: Use the entire training budget. This disables the // early stopping feature. By default, the early stopping feature is enabled, // which means that AutoML Tables might stop training before the entire // training budget has been used. DisableEarlyStopping bool `json:"disableEarlyStopping,omitempty"` // ExportEvaluatedDataItemsConfig: Configuration for exporting test set // predictions to a BigQuery table. If this configuration is absent, then the // export is not performed. ExportEvaluatedDataItemsConfig *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionExportEvaluatedDataItemsConfig `json:"exportEvaluatedDataItemsConfig,omitempty"` // OptimizationObjective: Objective function the model is optimizing towards. // The training process creates a model that maximizes/minimizes the value of // the objective function over the validation set. The supported optimization // objectives depend on the prediction type. If the field is not set, a default // objective function is used. classification (binary): "maximize-au-roc" // (default) - Maximize the area under the receiver operating characteristic // (ROC) curve. "minimize-log-loss" - Minimize log loss. "maximize-au-prc" - // Maximize the area under the precision-recall curve. // "maximize-precision-at-recall" - Maximize precision for a specified recall // value. "maximize-recall-at-precision" - Maximize recall for a specified // precision value. classification (multi-class): "minimize-log-loss" (default) // - Minimize log loss. regression: "minimize-rmse" (default) - Minimize // root-mean-squared error (RMSE). "minimize-mae" - Minimize mean-absolute // error (MAE). "minimize-rmsle" - Minimize root-mean-squared log error // (RMSLE). OptimizationObjective string `json:"optimizationObjective,omitempty"` // OptimizationObjectivePrecisionValue: Required when optimization_objective is // "maximize-recall-at-precision". Must be between 0 and 1, inclusive. OptimizationObjectivePrecisionValue float64 `json:"optimizationObjectivePrecisionValue,omitempty"` // OptimizationObjectiveRecallValue: Required when optimization_objective is // "maximize-precision-at-recall". Must be between 0 and 1, inclusive. OptimizationObjectiveRecallValue float64 `json:"optimizationObjectiveRecallValue,omitempty"` // PredictionType: The type of prediction the Model is to produce. // "classification" - Predict one out of multiple target values is picked for // each row. "regression" - Predict a value based on its relation to other // values. This type is available only to columns that contain semantically // numeric values, i.e. integers or floating point number, even if stored as // e.g. strings. PredictionType string `json:"predictionType,omitempty"` // TargetColumn: The column name of the target column that the model is to // predict. TargetColumn string `json:"targetColumn,omitempty"` // TrainBudgetMilliNodeHours: Required. The train budget of creating this // model, expressed in milli node hours i.e. 1,000 value in this field means 1 // node hour. The training cost of the model will not exceed this budget. The // final cost will be attempted to be close to the budget, though may end up // being (even) noticeably smaller - at the backend's discretion. This // especially may happen when further model training ceases to provide any // improvements. If the budget is set to a value known to be insufficient to // train a model for the given dataset, the training won't be attempted and // will error. The train budget must be between 1,000 and 72,000 milli node // hours, inclusive. TrainBudgetMilliNodeHours int64 `json:"trainBudgetMilliNodeHours,omitempty,string"` // Transformations: Each transformation will apply transform function to given // input column. And the result will be used for training. When creating // transformation for BigQuery Struct column, the column should be flattened // using "." as the delimiter. Transformations []*GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTablesInputsTransformation `json:"transformations,omitempty"` // WeightColumnName: Column name that should be used as the weight column. // Higher values in this column give more importance to the row during model // training. The column must have numeric values between 0 and 10000 // inclusively; 0 means the row is ignored for training. If weight column field // is not set, then all rows are assumed to have equal weight of 1. WeightColumnName string `json:"weightColumnName,omitempty"` // ForceSendFields is a list of field names (e.g. "AdditionalExperiments") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AdditionalExperiments") to // include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTablesInputs) MarshalJSON() ([]byte, error)
func (s *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTablesInputs) UnmarshalJSON(data []byte) error
type GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTablesInputsTransformation struct { Auto *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTablesInputsTransformationAutoTransformation `json:"auto,omitempty"` Categorical *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTablesInputsTransformationCategoricalTransformation `json:"categorical,omitempty"` Numeric *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTablesInputsTransformationNumericTransformation `json:"numeric,omitempty"` RepeatedCategorical *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTablesInputsTransformationCategoricalArrayTransformation `json:"repeatedCategorical,omitempty"` RepeatedNumeric *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTablesInputsTransformationNumericArrayTransformation `json:"repeatedNumeric,omitempty"` RepeatedText *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTablesInputsTransformationTextArrayTransformation `json:"repeatedText,omitempty"` Text *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTablesInputsTransformationTextTransformation `json:"text,omitempty"` Timestamp *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTablesInputsTransformationTimestampTransformation `json:"timestamp,omitempty"` // ForceSendFields is a list of field names (e.g. "Auto") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Auto") to include in API requests // with the JSON null value. By default, fields with empty values are omitted // from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTablesInputsTransformation) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTablesInputsTransform ationAutoTransformation: Training pipeline will infer the proper transformation based on the statistic of dataset.
type GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTablesInputsTransformationAutoTransformation struct { ColumnName string `json:"columnName,omitempty"` // ForceSendFields is a list of field names (e.g. "ColumnName") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ColumnName") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTablesInputsTransformationAutoTransformation) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTablesInputsTransform ationCategoricalArrayTransformation: Treats the column as categorical array and performs following transformation functions. * For each element in the array, convert the category name to a dictionary lookup index and generate an embedding for each index. Combine the embedding of all elements into a single embedding using the mean. * Empty arrays treated as an embedding of zeroes.
type GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTablesInputsTransformationCategoricalArrayTransformation struct { ColumnName string `json:"columnName,omitempty"` // ForceSendFields is a list of field names (e.g. "ColumnName") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ColumnName") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTablesInputsTransformationCategoricalArrayTransformation) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTablesInputsTransform ationCategoricalTransformation: Training pipeline will perform following transformation functions. * The categorical string as is--no change to case, punctuation, spelling, tense, and so on. * Convert the category name to a dictionary lookup index and generate an embedding for each index. * Categories that appear less than 5 times in the training dataset are treated as the "unknown" category. The "unknown" category gets its own special lookup index and resulting embedding.
type GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTablesInputsTransformationCategoricalTransformation struct { ColumnName string `json:"columnName,omitempty"` // ForceSendFields is a list of field names (e.g. "ColumnName") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ColumnName") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTablesInputsTransformationCategoricalTransformation) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTablesInputsTransform ationNumericArrayTransformation: Treats the column as numerical array and performs following transformation functions. * All transformations for Numerical types applied to the average of the all elements. * The average of empty arrays is treated as zero.
type GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTablesInputsTransformationNumericArrayTransformation struct { ColumnName string `json:"columnName,omitempty"` // InvalidValuesAllowed: If invalid values is allowed, the training pipeline // will create a boolean feature that indicated whether the value is valid. // Otherwise, the training pipeline will discard the input row from trainining // data. InvalidValuesAllowed bool `json:"invalidValuesAllowed,omitempty"` // ForceSendFields is a list of field names (e.g. "ColumnName") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ColumnName") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTablesInputsTransformationNumericArrayTransformation) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTablesInputsTransform ationNumericTransformation: Training pipeline will perform following transformation functions. * The value converted to float32. * The z_score of the value. * log(value+1) when the value is greater than or equal to 0. Otherwise, this transformation is not applied and the value is considered a missing value. * z_score of log(value+1) when the value is greater than or equal to 0. Otherwise, this transformation is not applied and the value is considered a missing value. * A boolean value that indicates whether the value is valid.
type GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTablesInputsTransformationNumericTransformation struct { ColumnName string `json:"columnName,omitempty"` // InvalidValuesAllowed: If invalid values is allowed, the training pipeline // will create a boolean feature that indicated whether the value is valid. // Otherwise, the training pipeline will discard the input row from trainining // data. InvalidValuesAllowed bool `json:"invalidValuesAllowed,omitempty"` // ForceSendFields is a list of field names (e.g. "ColumnName") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ColumnName") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTablesInputsTransformationNumericTransformation) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTablesInputsTransform ationTextArrayTransformation: Treats the column as text array and performs following transformation functions. * Concatenate all text values in the array into a single text value using a space (" ") as a delimiter, and then treat the result as a single text value. Apply the transformations for Text columns. * Empty arrays treated as an empty text.
type GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTablesInputsTransformationTextArrayTransformation struct { ColumnName string `json:"columnName,omitempty"` // ForceSendFields is a list of field names (e.g. "ColumnName") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ColumnName") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTablesInputsTransformationTextArrayTransformation) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTablesInputsTransform ationTextTransformation: Training pipeline will perform following transformation functions. * The text as is--no change to case, punctuation, spelling, tense, and so on. * Tokenize text to words. Convert each words to a dictionary lookup index and generate an embedding for each index. Combine the embedding of all elements into a single embedding using the mean. * Tokenization is based on unicode script boundaries. * Missing values get their own lookup index and resulting embedding. * Stop-words receive no special treatment and are not removed.
type GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTablesInputsTransformationTextTransformation struct { ColumnName string `json:"columnName,omitempty"` // ForceSendFields is a list of field names (e.g. "ColumnName") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ColumnName") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTablesInputsTransformationTextTransformation) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTablesInputsTransform ationTimestampTransformation: Training pipeline will perform following transformation functions. * Apply the transformation functions for Numerical columns. * Determine the year, month, day,and weekday. Treat each value from the * timestamp as a Categorical column. * Invalid numerical values (for example, values that fall outside of a typical timestamp range, or are extreme values) receive no special treatment and are not removed.
type GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTablesInputsTransformationTimestampTransformation struct { ColumnName string `json:"columnName,omitempty"` // InvalidValuesAllowed: If invalid values is allowed, the training pipeline // will create a boolean feature that indicated whether the value is valid. // Otherwise, the training pipeline will discard the input row from trainining // data. InvalidValuesAllowed bool `json:"invalidValuesAllowed,omitempty"` // TimeFormat: The format in which that time field is expressed. The // time_format must either be one of: * `unix-seconds` * `unix-milliseconds` * // `unix-microseconds` * `unix-nanoseconds` (for respectively number of // seconds, milliseconds, microseconds and nanoseconds since start of the Unix // epoch); or be written in `strftime` syntax. If time_format is not set, then // the default format is RFC 3339 `date-time` format, where `time-offset` = // "Z" (e.g. 1985-04-12T23:20:50.52Z) TimeFormat string `json:"timeFormat,omitempty"` // ForceSendFields is a list of field names (e.g. "ColumnName") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ColumnName") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTablesInputsTransformationTimestampTransformation) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTablesMetadata: Model metadata specific to AutoML Tables.
type GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTablesMetadata struct { // EvaluatedDataItemsBigqueryUri: BigQuery destination uri for exported // evaluated examples. EvaluatedDataItemsBigqueryUri string `json:"evaluatedDataItemsBigqueryUri,omitempty"` // TrainCostMilliNodeHours: Output only. The actual training cost of the model, // expressed in milli node hours, i.e. 1,000 value in this field means 1 node // hour. Guaranteed to not exceed the train budget. TrainCostMilliNodeHours int64 `json:"trainCostMilliNodeHours,omitempty,string"` // ForceSendFields is a list of field names (e.g. // "EvaluatedDataItemsBigqueryUri") to unconditionally include in API requests. // By default, fields with empty or default values are omitted from API // requests. See https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields // for more details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "EvaluatedDataItemsBigqueryUri") // to include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTablesMetadata) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTextClassification: A TrainingJob that trains and uploads an AutoML Text Classification Model.
type GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTextClassification struct { // Inputs: The input parameters of this TrainingJob. Inputs *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTextClassificationInputs `json:"inputs,omitempty"` // ForceSendFields is a list of field names (e.g. "Inputs") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Inputs") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTextClassification) MarshalJSON() ([]byte, error)
type GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTextClassificationInputs struct { MultiLabel bool `json:"multiLabel,omitempty"` // ForceSendFields is a list of field names (e.g. "MultiLabel") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "MultiLabel") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTextClassificationInputs) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTextExtraction: A TrainingJob that trains and uploads an AutoML Text Extraction Model.
type GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTextExtraction struct { // Inputs: The input parameters of this TrainingJob. Inputs *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTextExtractionInputs `json:"inputs,omitempty"` // ForceSendFields is a list of field names (e.g. "Inputs") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Inputs") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTextExtraction) MarshalJSON() ([]byte, error)
type GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTextExtractionInputs struct { }
GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTextSentiment: A TrainingJob that trains and uploads an AutoML Text Sentiment Model.
type GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTextSentiment struct { // Inputs: The input parameters of this TrainingJob. Inputs *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTextSentimentInputs `json:"inputs,omitempty"` // ForceSendFields is a list of field names (e.g. "Inputs") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Inputs") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTextSentiment) MarshalJSON() ([]byte, error)
type GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTextSentimentInputs struct { // SentimentMax: A sentiment is expressed as an integer ordinal, where higher // value means a more positive sentiment. The range of sentiments that will be // used is between 0 and sentimentMax (inclusive on both ends), and all the // values in the range must be represented in the dataset before a model can be // created. Only the Annotations with this sentimentMax will be used for // training. sentimentMax value must be between 1 and 10 (inclusive). SentimentMax int64 `json:"sentimentMax,omitempty"` // ForceSendFields is a list of field names (e.g. "SentimentMax") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "SentimentMax") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTextSentimentInputs) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlVideoActionRecognitio n: A TrainingJob that trains and uploads an AutoML Video Action Recognition Model.
type GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlVideoActionRecognition struct { // Inputs: The input parameters of this TrainingJob. Inputs *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlVideoActionRecognitionInputs `json:"inputs,omitempty"` // ForceSendFields is a list of field names (e.g. "Inputs") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Inputs") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlVideoActionRecognition) MarshalJSON() ([]byte, error)
type GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlVideoActionRecognitionInputs struct { // Possible values: // "MODEL_TYPE_UNSPECIFIED" - Should not be set. // "CLOUD" - A model best tailored to be used within Google Cloud, and which // c annot be exported. Default. // "MOBILE_VERSATILE_1" - A model that, in addition to being available within // Google Cloud, can also be exported (see ModelService.ExportModel) as a // TensorFlow or TensorFlow Lite model and used on a mobile or edge device // afterwards. // "MOBILE_JETSON_VERSATILE_1" - A model that, in addition to being available // within Google Cloud, can also be exported (see ModelService.ExportModel) to // a Jetson device afterwards. // "MOBILE_CORAL_VERSATILE_1" - A model that, in addition to being available // within Google Cloud, can also be exported (see ModelService.ExportModel) as // a TensorFlow or TensorFlow Lite model and used on a Coral device afterwards. ModelType string `json:"modelType,omitempty"` // ForceSendFields is a list of field names (e.g. "ModelType") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ModelType") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlVideoActionRecognitionInputs) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlVideoClassification: A TrainingJob that trains and uploads an AutoML Video Classification Model.
type GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlVideoClassification struct { // Inputs: The input parameters of this TrainingJob. Inputs *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlVideoClassificationInputs `json:"inputs,omitempty"` // ForceSendFields is a list of field names (e.g. "Inputs") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Inputs") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlVideoClassification) MarshalJSON() ([]byte, error)
type GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlVideoClassificationInputs struct { // Possible values: // "MODEL_TYPE_UNSPECIFIED" - Should not be set. // "CLOUD" - A model best tailored to be used within Google Cloud, and which // cannot be exported. Default. // "MOBILE_VERSATILE_1" - A model that, in addition to being available within // Google Cloud, can also be exported (see ModelService.ExportModel) as a // TensorFlow or TensorFlow Lite model and used on a mobile or edge device // afterwards. // "MOBILE_JETSON_VERSATILE_1" - A model that, in addition to being available // within Google Cloud, can also be exported (see ModelService.ExportModel) to // a Jetson device afterwards. ModelType string `json:"modelType,omitempty"` // ForceSendFields is a list of field names (e.g. "ModelType") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ModelType") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlVideoClassificationInputs) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlVideoObjectTracking: A TrainingJob that trains and uploads an AutoML Video ObjectTracking Model.
type GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlVideoObjectTracking struct { // Inputs: The input parameters of this TrainingJob. Inputs *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlVideoObjectTrackingInputs `json:"inputs,omitempty"` // ForceSendFields is a list of field names (e.g. "Inputs") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Inputs") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlVideoObjectTracking) MarshalJSON() ([]byte, error)
type GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlVideoObjectTrackingInputs struct { // Possible values: // "MODEL_TYPE_UNSPECIFIED" - Should not be set. // "CLOUD" - A model best tailored to be used within Google Cloud, and which // c annot be exported. Default. // "MOBILE_VERSATILE_1" - A model that, in addition to being available within // Google Cloud, can also be exported (see ModelService.ExportModel) as a // TensorFlow or TensorFlow Lite model and used on a mobile or edge device // afterwards. // "MOBILE_CORAL_VERSATILE_1" - A versatile model that is meant to be // exported (see ModelService.ExportModel) and used on a Google Coral device. // "MOBILE_CORAL_LOW_LATENCY_1" - A model that trades off quality for low // latency, to be exported (see ModelService.ExportModel) and used on a Google // Coral device. // "MOBILE_JETSON_VERSATILE_1" - A versatile model that is meant to be // exported (see ModelService.ExportModel) and used on an NVIDIA Jetson device. // "MOBILE_JETSON_LOW_LATENCY_1" - A model that trades off quality for low // latency, to be exported (see ModelService.ExportModel) and used on an NVIDIA // Jetson device. ModelType string `json:"modelType,omitempty"` // ForceSendFields is a list of field names (e.g. "ModelType") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ModelType") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlVideoObjectTrackingInputs) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutomlImageTrainingTunableP arameter: A wrapper class which contains the tunable parameters in an AutoML Image training job.
type GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutomlImageTrainingTunableParameter struct { // CheckpointName: Optional. An unique name of pretrained model checkpoint // provided in model garden, it will be mapped to a GCS location internally. CheckpointName string `json:"checkpointName,omitempty"` // DatasetConfig: Customizable dataset settings, used in the // `model_garden_trainer`. DatasetConfig map[string]string `json:"datasetConfig,omitempty"` // StudySpec: Optioinal. StudySpec of hyperparameter tuning job. Required for // `model_garden_trainer`. StudySpec *GoogleCloudAiplatformV1StudySpec `json:"studySpec,omitempty"` // TrainerConfig: Customizable trainer settings, used in the // `model_garden_trainer`. TrainerConfig map[string]string `json:"trainerConfig,omitempty"` // Possible values: // "TRAINER_TYPE_UNSPECIFIED" - Default value. // "AUTOML_TRAINER" // "MODEL_GARDEN_TRAINER" TrainerType string `json:"trainerType,omitempty"` // ForceSendFields is a list of field names (e.g. "CheckpointName") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CheckpointName") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutomlImageTrainingTunableParameter) MarshalJSON() ([]byte, error)
type GoogleCloudAiplatformV1SchemaTrainingjobDefinitionCustomJobMetadata struct { // BackingCustomJob: The resource name of the CustomJob that has been created // to carry out this custom task. BackingCustomJob string `json:"backingCustomJob,omitempty"` // ForceSendFields is a list of field names (e.g. "BackingCustomJob") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BackingCustomJob") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionCustomJobMetadata) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1SchemaTrainingjobDefinitionCustomTask: A TrainingJob that trains a custom code Model.
type GoogleCloudAiplatformV1SchemaTrainingjobDefinitionCustomTask struct { // Inputs: The input parameters of this CustomTask. Inputs *GoogleCloudAiplatformV1CustomJobSpec `json:"inputs,omitempty"` // Metadata: The metadata information. Metadata *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionCustomJobMetadata `json:"metadata,omitempty"` // ForceSendFields is a list of field names (e.g. "Inputs") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Inputs") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionCustomTask) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1SchemaTrainingjobDefinitionExportEvaluatedDataItemsCon fig: Configuration for exporting test set predictions to a BigQuery table.
type GoogleCloudAiplatformV1SchemaTrainingjobDefinitionExportEvaluatedDataItemsConfig struct { // DestinationBigqueryUri: URI of desired destination BigQuery table. Expected // format: `bq://{project_id}:{dataset_id}:{table}` If not specified, then // results are exported to the following auto-created BigQuery table: // `{project_id}:export_evaluated_examples_{model_name}_{yyyy_MM_dd'T'HH_mm_ss_S // SS'Z'}.evaluated_examples` DestinationBigqueryUri string `json:"destinationBigqueryUri,omitempty"` // OverrideExistingTable: If true and an export destination is specified, then // the contents of the destination are overwritten. Otherwise, if the export // destination already exists, then the export operation fails. OverrideExistingTable bool `json:"overrideExistingTable,omitempty"` // ForceSendFields is a list of field names (e.g. "DestinationBigqueryUri") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DestinationBigqueryUri") to // include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionExportEvaluatedDataItemsConfig) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1SchemaTrainingjobDefinitionHierarchyConfig: Configuration that defines the hierarchical relationship of time series and parameters for hierarchical forecasting strategies.
type GoogleCloudAiplatformV1SchemaTrainingjobDefinitionHierarchyConfig struct { // GroupColumns: A list of time series attribute column names that define the // time series hierarchy. Only one level of hierarchy is supported, ex. // 'region' for a hierarchy of stores or 'department' for a hierarchy of // products. If multiple columns are specified, time series will be grouped by // their combined values, ex. ('blue', 'large') for 'color' and 'size', up to 5 // columns are accepted. If no group columns are specified, all time series are // considered to be part of the same group. GroupColumns []string `json:"groupColumns,omitempty"` // GroupTemporalTotalWeight: The weight of the loss for predictions aggregated // over both the horizon and time series in the same hierarchy group. GroupTemporalTotalWeight float64 `json:"groupTemporalTotalWeight,omitempty"` // GroupTotalWeight: The weight of the loss for predictions aggregated over // time series in the same group. GroupTotalWeight float64 `json:"groupTotalWeight,omitempty"` // TemporalTotalWeight: The weight of the loss for predictions aggregated over // the horizon for a single time series. TemporalTotalWeight float64 `json:"temporalTotalWeight,omitempty"` // ForceSendFields is a list of field names (e.g. "GroupColumns") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "GroupColumns") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionHierarchyConfig) MarshalJSON() ([]byte, error)
func (s *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionHierarchyConfig) UnmarshalJSON(data []byte) error
type GoogleCloudAiplatformV1SchemaTrainingjobDefinitionHyperparameterTuningJobMetadata struct { // BackingHyperparameterTuningJob: The resource name of the // HyperparameterTuningJob that has been created to carry out this // HyperparameterTuning task. BackingHyperparameterTuningJob string `json:"backingHyperparameterTuningJob,omitempty"` // BestTrialBackingCustomJob: The resource name of the CustomJob that has been // created to run the best Trial of this HyperparameterTuning task. BestTrialBackingCustomJob string `json:"bestTrialBackingCustomJob,omitempty"` // ForceSendFields is a list of field names (e.g. // "BackingHyperparameterTuningJob") to unconditionally include in API // requests. By default, fields with empty or default values are omitted from // API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BackingHyperparameterTuningJob") // to include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionHyperparameterTuningJobMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudAiplatformV1SchemaTrainingjobDefinitionHyperparameterTuningJobSpec struct { // MaxFailedTrialCount: The number of failed Trials that need to be seen before // failing the HyperparameterTuningJob. If set to 0, Vertex AI decides how many // Trials must fail before the whole job fails. MaxFailedTrialCount int64 `json:"maxFailedTrialCount,omitempty"` // MaxTrialCount: The desired total number of Trials. MaxTrialCount int64 `json:"maxTrialCount,omitempty"` // ParallelTrialCount: The desired number of Trials to run in parallel. ParallelTrialCount int64 `json:"parallelTrialCount,omitempty"` // StudySpec: Study configuration of the HyperparameterTuningJob. StudySpec *GoogleCloudAiplatformV1StudySpec `json:"studySpec,omitempty"` // TrialJobSpec: The spec of a trial job. The same spec applies to the // CustomJobs created in all the trials. TrialJobSpec *GoogleCloudAiplatformV1CustomJobSpec `json:"trialJobSpec,omitempty"` // ForceSendFields is a list of field names (e.g. "MaxFailedTrialCount") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "MaxFailedTrialCount") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionHyperparameterTuningJobSpec) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1SchemaTrainingjobDefinitionHyperparameterTuningTask: A TrainingJob that tunes Hypererparameters of a custom code Model.
type GoogleCloudAiplatformV1SchemaTrainingjobDefinitionHyperparameterTuningTask struct { // Inputs: The input parameters of this HyperparameterTuningTask. Inputs *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionHyperparameterTuningJobSpec `json:"inputs,omitempty"` // Metadata: The metadata information. Metadata *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionHyperparameterTuningJobMetadata `json:"metadata,omitempty"` // ForceSendFields is a list of field names (e.g. "Inputs") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Inputs") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionHyperparameterTuningTask) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1SchemaTrainingjobDefinitionSeq2SeqPlusForecasting: A TrainingJob that trains and uploads an AutoML Forecasting Model.
type GoogleCloudAiplatformV1SchemaTrainingjobDefinitionSeq2SeqPlusForecasting struct { // Inputs: The input parameters of this TrainingJob. Inputs *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionSeq2SeqPlusForecastingInputs `json:"inputs,omitempty"` // Metadata: The metadata information. Metadata *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionSeq2SeqPlusForecastingMetadata `json:"metadata,omitempty"` // ForceSendFields is a list of field names (e.g. "Inputs") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Inputs") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionSeq2SeqPlusForecasting) MarshalJSON() ([]byte, error)
type GoogleCloudAiplatformV1SchemaTrainingjobDefinitionSeq2SeqPlusForecastingInputs struct { // AdditionalExperiments: Additional experiment flags for the time series // forcasting training. AdditionalExperiments []string `json:"additionalExperiments,omitempty"` // AvailableAtForecastColumns: Names of columns that are available and provided // when a forecast is requested. These columns contain information for the // given entity (identified by the time_series_identifier_column column) that // is known at forecast. For example, predicted weather for a specific day. AvailableAtForecastColumns []string `json:"availableAtForecastColumns,omitempty"` // ContextWindow: The amount of time into the past training and prediction data // is used for model training and prediction respectively. Expressed in number // of units defined by the `data_granularity` field. ContextWindow int64 `json:"contextWindow,omitempty,string"` // DataGranularity: Expected difference in time granularity between rows in the // data. DataGranularity *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionSeq2SeqPlusForecastingInputsGranularity `json:"dataGranularity,omitempty"` // ExportEvaluatedDataItemsConfig: Configuration for exporting test set // predictions to a BigQuery table. If this configuration is absent, then the // export is not performed. ExportEvaluatedDataItemsConfig *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionExportEvaluatedDataItemsConfig `json:"exportEvaluatedDataItemsConfig,omitempty"` // ForecastHorizon: The amount of time into the future for which forecasted // values for the target are returned. Expressed in number of units defined by // the `data_granularity` field. ForecastHorizon int64 `json:"forecastHorizon,omitempty,string"` // HierarchyConfig: Configuration that defines the hierarchical relationship of // time series and parameters for hierarchical forecasting strategies. HierarchyConfig *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionHierarchyConfig `json:"hierarchyConfig,omitempty"` // HolidayRegions: The geographical region based on which the holiday effect is // applied in modeling by adding holiday categorical array feature that include // all holidays matching the date. This option only allowed when // data_granularity is day. By default, holiday effect modeling is disabled. To // turn it on, specify the holiday region using this option. HolidayRegions []string `json:"holidayRegions,omitempty"` // OptimizationObjective: Objective function the model is optimizing towards. // The training process creates a model that optimizes the value of the // objective function over the validation set. The supported optimization // objectives: * "minimize-rmse" (default) - Minimize root-mean-squared error // (RMSE). * "minimize-mae" - Minimize mean-absolute error (MAE). * // "minimize-rmsle" - Minimize root-mean-squared log error (RMSLE). * // "minimize-rmspe" - Minimize root-mean-squared percentage error (RMSPE). * // "minimize-wape-mae" - Minimize the combination of weighted absolute // percentage error (WAPE) and mean-absolute-error (MAE). * // "minimize-quantile-loss" - Minimize the quantile loss at the quantiles // defined in `quantiles`. * "minimize-mape" - Minimize the mean absolute // percentage error. OptimizationObjective string `json:"optimizationObjective,omitempty"` // Quantiles: Quantiles to use for minimize-quantile-loss // `optimization_objective`. Up to 5 quantiles are allowed of values between 0 // and 1, exclusive. Required if the value of optimization_objective is // minimize-quantile-loss. Represents the percent quantiles to use for that // objective. Quantiles must be unique. Quantiles []float64 `json:"quantiles,omitempty"` // TargetColumn: The name of the column that the Model is to predict values // for. This column must be unavailable at forecast. TargetColumn string `json:"targetColumn,omitempty"` // TimeColumn: The name of the column that identifies time order in the time // series. This column must be available at forecast. TimeColumn string `json:"timeColumn,omitempty"` // TimeSeriesAttributeColumns: Column names that should be used as attribute // columns. The value of these columns does not vary as a function of time. For // example, store ID or item color. TimeSeriesAttributeColumns []string `json:"timeSeriesAttributeColumns,omitempty"` // TimeSeriesIdentifierColumn: The name of the column that identifies the time // series. TimeSeriesIdentifierColumn string `json:"timeSeriesIdentifierColumn,omitempty"` // TrainBudgetMilliNodeHours: Required. The train budget of creating this // model, expressed in milli node hours i.e. 1,000 value in this field means 1 // node hour. The training cost of the model will not exceed this budget. The // final cost will be attempted to be close to the budget, though may end up // being (even) noticeably smaller - at the backend's discretion. This // especially may happen when further model training ceases to provide any // improvements. If the budget is set to a value known to be insufficient to // train a model for the given dataset, the training won't be attempted and // will error. The train budget must be between 1,000 and 72,000 milli node // hours, inclusive. TrainBudgetMilliNodeHours int64 `json:"trainBudgetMilliNodeHours,omitempty,string"` // Transformations: Each transformation will apply transform function to given // input column. And the result will be used for training. When creating // transformation for BigQuery Struct column, the column should be flattened // using "." as the delimiter. Transformations []*GoogleCloudAiplatformV1SchemaTrainingjobDefinitionSeq2SeqPlusForecastingInputsTransformation `json:"transformations,omitempty"` // UnavailableAtForecastColumns: Names of columns that are unavailable when a // forecast is requested. This column contains information for the given entity // (identified by the time_series_identifier_column) that is unknown before the // forecast For example, actual weather on a given day. UnavailableAtForecastColumns []string `json:"unavailableAtForecastColumns,omitempty"` // ValidationOptions: Validation options for the data validation component. The // available options are: * "fail-pipeline" - default, will validate against // the validation and fail the pipeline if it fails. * "ignore-validation" - // ignore the results of the validation and continue ValidationOptions string `json:"validationOptions,omitempty"` // WeightColumn: Column name that should be used as the weight column. Higher // values in this column give more importance to the row during model training. // The column must have numeric values between 0 and 10000 inclusively; 0 means // the row is ignored for training. If weight column field is not set, then all // rows are assumed to have equal weight of 1. This column must be available at // forecast. WeightColumn string `json:"weightColumn,omitempty"` // WindowConfig: Config containing strategy for generating sliding windows. WindowConfig *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionWindowConfig `json:"windowConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "AdditionalExperiments") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AdditionalExperiments") to // include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionSeq2SeqPlusForecastingInputs) MarshalJSON() ([]byte, error)
func (s *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionSeq2SeqPlusForecastingInputs) UnmarshalJSON(data []byte) error
GoogleCloudAiplatformV1SchemaTrainingjobDefinitionSeq2SeqPlusForecastingInput sGranularity: A duration of time expressed in time granularity units.
type GoogleCloudAiplatformV1SchemaTrainingjobDefinitionSeq2SeqPlusForecastingInputsGranularity struct { // Quantity: The number of granularity_units between data points in the // training data. If `granularity_unit` is `minute`, can be 1, 5, 10, 15, or // 30. For all other values of `granularity_unit`, must be 1. Quantity int64 `json:"quantity,omitempty,string"` // Unit: The time granularity unit of this time period. The supported units // are: * "minute" * "hour" * "day" * "week" * "month" * "year" Unit string `json:"unit,omitempty"` // ForceSendFields is a list of field names (e.g. "Quantity") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Quantity") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionSeq2SeqPlusForecastingInputsGranularity) MarshalJSON() ([]byte, error)
type GoogleCloudAiplatformV1SchemaTrainingjobDefinitionSeq2SeqPlusForecastingInputsTransformation struct { Auto *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionSeq2SeqPlusForecastingInputsTransformationAutoTransformation `json:"auto,omitempty"` Categorical *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionSeq2SeqPlusForecastingInputsTransformationCategoricalTransformation `json:"categorical,omitempty"` Numeric *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionSeq2SeqPlusForecastingInputsTransformationNumericTransformation `json:"numeric,omitempty"` Text *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionSeq2SeqPlusForecastingInputsTransformationTextTransformation `json:"text,omitempty"` Timestamp *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionSeq2SeqPlusForecastingInputsTransformationTimestampTransformation `json:"timestamp,omitempty"` // ForceSendFields is a list of field names (e.g. "Auto") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Auto") to include in API requests // with the JSON null value. By default, fields with empty values are omitted // from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionSeq2SeqPlusForecastingInputsTransformation) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1SchemaTrainingjobDefinitionSeq2SeqPlusForecastingInput sTransformationAutoTransformation: Training pipeline will infer the proper transformation based on the statistic of dataset.
type GoogleCloudAiplatformV1SchemaTrainingjobDefinitionSeq2SeqPlusForecastingInputsTransformationAutoTransformation struct { ColumnName string `json:"columnName,omitempty"` // ForceSendFields is a list of field names (e.g. "ColumnName") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ColumnName") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionSeq2SeqPlusForecastingInputsTransformationAutoTransformation) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1SchemaTrainingjobDefinitionSeq2SeqPlusForecastingInput sTransformationCategoricalTransformation: Training pipeline will perform following transformation functions. * The categorical string as is--no change to case, punctuation, spelling, tense, and so on. * Convert the category name to a dictionary lookup index and generate an embedding for each index. * Categories that appear less than 5 times in the training dataset are treated as the "unknown" category. The "unknown" category gets its own special lookup index and resulting embedding.
type GoogleCloudAiplatformV1SchemaTrainingjobDefinitionSeq2SeqPlusForecastingInputsTransformationCategoricalTransformation struct { ColumnName string `json:"columnName,omitempty"` // ForceSendFields is a list of field names (e.g. "ColumnName") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ColumnName") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionSeq2SeqPlusForecastingInputsTransformationCategoricalTransformation) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1SchemaTrainingjobDefinitionSeq2SeqPlusForecastingInput sTransformationNumericTransformation: Training pipeline will perform following transformation functions. * The value converted to float32. * The z_score of the value. * log(value+1) when the value is greater than or equal to 0. Otherwise, this transformation is not applied and the value is considered a missing value. * z_score of log(value+1) when the value is greater than or equal to 0. Otherwise, this transformation is not applied and the value is considered a missing value.
type GoogleCloudAiplatformV1SchemaTrainingjobDefinitionSeq2SeqPlusForecastingInputsTransformationNumericTransformation struct { ColumnName string `json:"columnName,omitempty"` // ForceSendFields is a list of field names (e.g. "ColumnName") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ColumnName") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionSeq2SeqPlusForecastingInputsTransformationNumericTransformation) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1SchemaTrainingjobDefinitionSeq2SeqPlusForecastingInput sTransformationTextTransformation: Training pipeline will perform following transformation functions. * The text as is--no change to case, punctuation, spelling, tense, and so on. * Convert the category name to a dictionary lookup index and generate an embedding for each index.
type GoogleCloudAiplatformV1SchemaTrainingjobDefinitionSeq2SeqPlusForecastingInputsTransformationTextTransformation struct { ColumnName string `json:"columnName,omitempty"` // ForceSendFields is a list of field names (e.g. "ColumnName") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ColumnName") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionSeq2SeqPlusForecastingInputsTransformationTextTransformation) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1SchemaTrainingjobDefinitionSeq2SeqPlusForecastingInput sTransformationTimestampTransformation: Training pipeline will perform following transformation functions. * Apply the transformation functions for Numerical columns. * Determine the year, month, day,and weekday. Treat each value from the timestamp as a Categorical column. * Invalid numerical values (for example, values that fall outside of a typical timestamp range, or are extreme values) receive no special treatment and are not removed.
type GoogleCloudAiplatformV1SchemaTrainingjobDefinitionSeq2SeqPlusForecastingInputsTransformationTimestampTransformation struct { ColumnName string `json:"columnName,omitempty"` // TimeFormat: The format in which that time field is expressed. The // time_format must either be one of: * `unix-seconds` * `unix-milliseconds` * // `unix-microseconds` * `unix-nanoseconds` (for respectively number of // seconds, milliseconds, microseconds and nanoseconds since start of the Unix // epoch); or be written in `strftime` syntax. If time_format is not set, then // the default format is RFC 3339 `date-time` format, where `time-offset` = // "Z" (e.g. 1985-04-12T23:20:50.52Z) TimeFormat string `json:"timeFormat,omitempty"` // ForceSendFields is a list of field names (e.g. "ColumnName") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ColumnName") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionSeq2SeqPlusForecastingInputsTransformationTimestampTransformation) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1SchemaTrainingjobDefinitionSeq2SeqPlusForecastingMetad ata: Model metadata specific to Seq2Seq Plus Forecasting.
type GoogleCloudAiplatformV1SchemaTrainingjobDefinitionSeq2SeqPlusForecastingMetadata struct { // EvaluatedDataItemsBigqueryUri: BigQuery destination uri for exported // evaluated examples. EvaluatedDataItemsBigqueryUri string `json:"evaluatedDataItemsBigqueryUri,omitempty"` // TrainCostMilliNodeHours: Output only. The actual training cost of the model, // expressed in milli node hours, i.e. 1,000 value in this field means 1 node // hour. Guaranteed to not exceed the train budget. TrainCostMilliNodeHours int64 `json:"trainCostMilliNodeHours,omitempty,string"` // ForceSendFields is a list of field names (e.g. // "EvaluatedDataItemsBigqueryUri") to unconditionally include in API requests. // By default, fields with empty or default values are omitted from API // requests. See https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields // for more details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "EvaluatedDataItemsBigqueryUri") // to include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionSeq2SeqPlusForecastingMetadata) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1SchemaTrainingjobDefinitionTftForecasting: A TrainingJob that trains and uploads an AutoML Forecasting Model.
type GoogleCloudAiplatformV1SchemaTrainingjobDefinitionTftForecasting struct { // Inputs: The input parameters of this TrainingJob. Inputs *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionTftForecastingInputs `json:"inputs,omitempty"` // Metadata: The metadata information. Metadata *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionTftForecastingMetadata `json:"metadata,omitempty"` // ForceSendFields is a list of field names (e.g. "Inputs") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Inputs") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionTftForecasting) MarshalJSON() ([]byte, error)
type GoogleCloudAiplatformV1SchemaTrainingjobDefinitionTftForecastingInputs struct { // AdditionalExperiments: Additional experiment flags for the time series // forcasting training. AdditionalExperiments []string `json:"additionalExperiments,omitempty"` // AvailableAtForecastColumns: Names of columns that are available and provided // when a forecast is requested. These columns contain information for the // given entity (identified by the time_series_identifier_column column) that // is known at forecast. For example, predicted weather for a specific day. AvailableAtForecastColumns []string `json:"availableAtForecastColumns,omitempty"` // ContextWindow: The amount of time into the past training and prediction data // is used for model training and prediction respectively. Expressed in number // of units defined by the `data_granularity` field. ContextWindow int64 `json:"contextWindow,omitempty,string"` // DataGranularity: Expected difference in time granularity between rows in the // data. DataGranularity *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionTftForecastingInputsGranularity `json:"dataGranularity,omitempty"` // ExportEvaluatedDataItemsConfig: Configuration for exporting test set // predictions to a BigQuery table. If this configuration is absent, then the // export is not performed. ExportEvaluatedDataItemsConfig *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionExportEvaluatedDataItemsConfig `json:"exportEvaluatedDataItemsConfig,omitempty"` // ForecastHorizon: The amount of time into the future for which forecasted // values for the target are returned. Expressed in number of units defined by // the `data_granularity` field. ForecastHorizon int64 `json:"forecastHorizon,omitempty,string"` // HierarchyConfig: Configuration that defines the hierarchical relationship of // time series and parameters for hierarchical forecasting strategies. HierarchyConfig *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionHierarchyConfig `json:"hierarchyConfig,omitempty"` // HolidayRegions: The geographical region based on which the holiday effect is // applied in modeling by adding holiday categorical array feature that include // all holidays matching the date. This option only allowed when // data_granularity is day. By default, holiday effect modeling is disabled. To // turn it on, specify the holiday region using this option. HolidayRegions []string `json:"holidayRegions,omitempty"` // OptimizationObjective: Objective function the model is optimizing towards. // The training process creates a model that optimizes the value of the // objective function over the validation set. The supported optimization // objectives: * "minimize-rmse" (default) - Minimize root-mean-squared error // (RMSE). * "minimize-mae" - Minimize mean-absolute error (MAE). * // "minimize-rmsle" - Minimize root-mean-squared log error (RMSLE). * // "minimize-rmspe" - Minimize root-mean-squared percentage error (RMSPE). * // "minimize-wape-mae" - Minimize the combination of weighted absolute // percentage error (WAPE) and mean-absolute-error (MAE). * // "minimize-quantile-loss" - Minimize the quantile loss at the quantiles // defined in `quantiles`. * "minimize-mape" - Minimize the mean absolute // percentage error. OptimizationObjective string `json:"optimizationObjective,omitempty"` // Quantiles: Quantiles to use for minimize-quantile-loss // `optimization_objective`. Up to 5 quantiles are allowed of values between 0 // and 1, exclusive. Required if the value of optimization_objective is // minimize-quantile-loss. Represents the percent quantiles to use for that // objective. Quantiles must be unique. Quantiles []float64 `json:"quantiles,omitempty"` // TargetColumn: The name of the column that the Model is to predict values // for. This column must be unavailable at forecast. TargetColumn string `json:"targetColumn,omitempty"` // TimeColumn: The name of the column that identifies time order in the time // series. This column must be available at forecast. TimeColumn string `json:"timeColumn,omitempty"` // TimeSeriesAttributeColumns: Column names that should be used as attribute // columns. The value of these columns does not vary as a function of time. For // example, store ID or item color. TimeSeriesAttributeColumns []string `json:"timeSeriesAttributeColumns,omitempty"` // TimeSeriesIdentifierColumn: The name of the column that identifies the time // series. TimeSeriesIdentifierColumn string `json:"timeSeriesIdentifierColumn,omitempty"` // TrainBudgetMilliNodeHours: Required. The train budget of creating this // model, expressed in milli node hours i.e. 1,000 value in this field means 1 // node hour. The training cost of the model will not exceed this budget. The // final cost will be attempted to be close to the budget, though may end up // being (even) noticeably smaller - at the backend's discretion. This // especially may happen when further model training ceases to provide any // improvements. If the budget is set to a value known to be insufficient to // train a model for the given dataset, the training won't be attempted and // will error. The train budget must be between 1,000 and 72,000 milli node // hours, inclusive. TrainBudgetMilliNodeHours int64 `json:"trainBudgetMilliNodeHours,omitempty,string"` // Transformations: Each transformation will apply transform function to given // input column. And the result will be used for training. When creating // transformation for BigQuery Struct column, the column should be flattened // using "." as the delimiter. Transformations []*GoogleCloudAiplatformV1SchemaTrainingjobDefinitionTftForecastingInputsTransformation `json:"transformations,omitempty"` // UnavailableAtForecastColumns: Names of columns that are unavailable when a // forecast is requested. This column contains information for the given entity // (identified by the time_series_identifier_column) that is unknown before the // forecast For example, actual weather on a given day. UnavailableAtForecastColumns []string `json:"unavailableAtForecastColumns,omitempty"` // ValidationOptions: Validation options for the data validation component. The // available options are: * "fail-pipeline" - default, will validate against // the validation and fail the pipeline if it fails. * "ignore-validation" - // ignore the results of the validation and continue ValidationOptions string `json:"validationOptions,omitempty"` // WeightColumn: Column name that should be used as the weight column. Higher // values in this column give more importance to the row during model training. // The column must have numeric values between 0 and 10000 inclusively; 0 means // the row is ignored for training. If weight column field is not set, then all // rows are assumed to have equal weight of 1. This column must be available at // forecast. WeightColumn string `json:"weightColumn,omitempty"` // WindowConfig: Config containing strategy for generating sliding windows. WindowConfig *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionWindowConfig `json:"windowConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "AdditionalExperiments") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AdditionalExperiments") to // include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionTftForecastingInputs) MarshalJSON() ([]byte, error)
func (s *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionTftForecastingInputs) UnmarshalJSON(data []byte) error
GoogleCloudAiplatformV1SchemaTrainingjobDefinitionTftForecastingInputsGranula rity: A duration of time expressed in time granularity units.
type GoogleCloudAiplatformV1SchemaTrainingjobDefinitionTftForecastingInputsGranularity struct { // Quantity: The number of granularity_units between data points in the // training data. If `granularity_unit` is `minute`, can be 1, 5, 10, 15, or // 30. For all other values of `granularity_unit`, must be 1. Quantity int64 `json:"quantity,omitempty,string"` // Unit: The time granularity unit of this time period. The supported units // are: * "minute" * "hour" * "day" * "week" * "month" * "year" Unit string `json:"unit,omitempty"` // ForceSendFields is a list of field names (e.g. "Quantity") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Quantity") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionTftForecastingInputsGranularity) MarshalJSON() ([]byte, error)
type GoogleCloudAiplatformV1SchemaTrainingjobDefinitionTftForecastingInputsTransformation struct { Auto *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionTftForecastingInputsTransformationAutoTransformation `json:"auto,omitempty"` Categorical *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionTftForecastingInputsTransformationCategoricalTransformation `json:"categorical,omitempty"` Numeric *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionTftForecastingInputsTransformationNumericTransformation `json:"numeric,omitempty"` Text *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionTftForecastingInputsTransformationTextTransformation `json:"text,omitempty"` Timestamp *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionTftForecastingInputsTransformationTimestampTransformation `json:"timestamp,omitempty"` // ForceSendFields is a list of field names (e.g. "Auto") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Auto") to include in API requests // with the JSON null value. By default, fields with empty values are omitted // from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionTftForecastingInputsTransformation) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1SchemaTrainingjobDefinitionTftForecastingInputsTransfo rmationAutoTransformation: Training pipeline will infer the proper transformation based on the statistic of dataset.
type GoogleCloudAiplatformV1SchemaTrainingjobDefinitionTftForecastingInputsTransformationAutoTransformation struct { ColumnName string `json:"columnName,omitempty"` // ForceSendFields is a list of field names (e.g. "ColumnName") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ColumnName") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionTftForecastingInputsTransformationAutoTransformation) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1SchemaTrainingjobDefinitionTftForecastingInputsTransfo rmationCategoricalTransformation: Training pipeline will perform following transformation functions. * The categorical string as is--no change to case, punctuation, spelling, tense, and so on. * Convert the category name to a dictionary lookup index and generate an embedding for each index. * Categories that appear less than 5 times in the training dataset are treated as the "unknown" category. The "unknown" category gets its own special lookup index and resulting embedding.
type GoogleCloudAiplatformV1SchemaTrainingjobDefinitionTftForecastingInputsTransformationCategoricalTransformation struct { ColumnName string `json:"columnName,omitempty"` // ForceSendFields is a list of field names (e.g. "ColumnName") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ColumnName") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionTftForecastingInputsTransformationCategoricalTransformation) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1SchemaTrainingjobDefinitionTftForecastingInputsTransfo rmationNumericTransformation: Training pipeline will perform following transformation functions. * The value converted to float32. * The z_score of the value. * log(value+1) when the value is greater than or equal to 0. Otherwise, this transformation is not applied and the value is considered a missing value. * z_score of log(value+1) when the value is greater than or equal to 0. Otherwise, this transformation is not applied and the value is considered a missing value.
type GoogleCloudAiplatformV1SchemaTrainingjobDefinitionTftForecastingInputsTransformationNumericTransformation struct { ColumnName string `json:"columnName,omitempty"` // ForceSendFields is a list of field names (e.g. "ColumnName") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ColumnName") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionTftForecastingInputsTransformationNumericTransformation) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1SchemaTrainingjobDefinitionTftForecastingInputsTransfo rmationTextTransformation: Training pipeline will perform following transformation functions. * The text as is--no change to case, punctuation, spelling, tense, and so on. * Convert the category name to a dictionary lookup index and generate an embedding for each index.
type GoogleCloudAiplatformV1SchemaTrainingjobDefinitionTftForecastingInputsTransformationTextTransformation struct { ColumnName string `json:"columnName,omitempty"` // ForceSendFields is a list of field names (e.g. "ColumnName") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ColumnName") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionTftForecastingInputsTransformationTextTransformation) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1SchemaTrainingjobDefinitionTftForecastingInputsTransfo rmationTimestampTransformation: Training pipeline will perform following transformation functions. * Apply the transformation functions for Numerical columns. * Determine the year, month, day,and weekday. Treat each value from the timestamp as a Categorical column. * Invalid numerical values (for example, values that fall outside of a typical timestamp range, or are extreme values) receive no special treatment and are not removed.
type GoogleCloudAiplatformV1SchemaTrainingjobDefinitionTftForecastingInputsTransformationTimestampTransformation struct { ColumnName string `json:"columnName,omitempty"` // TimeFormat: The format in which that time field is expressed. The // time_format must either be one of: * `unix-seconds` * `unix-milliseconds` * // `unix-microseconds` * `unix-nanoseconds` (for respectively number of // seconds, milliseconds, microseconds and nanoseconds since start of the Unix // epoch); or be written in `strftime` syntax. If time_format is not set, then // the default format is RFC 3339 `date-time` format, where `time-offset` = // "Z" (e.g. 1985-04-12T23:20:50.52Z) TimeFormat string `json:"timeFormat,omitempty"` // ForceSendFields is a list of field names (e.g. "ColumnName") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ColumnName") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionTftForecastingInputsTransformationTimestampTransformation) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1SchemaTrainingjobDefinitionTftForecastingMetadata: Model metadata specific to TFT Forecasting.
type GoogleCloudAiplatformV1SchemaTrainingjobDefinitionTftForecastingMetadata struct { // EvaluatedDataItemsBigqueryUri: BigQuery destination uri for exported // evaluated examples. EvaluatedDataItemsBigqueryUri string `json:"evaluatedDataItemsBigqueryUri,omitempty"` // TrainCostMilliNodeHours: Output only. The actual training cost of the model, // expressed in milli node hours, i.e. 1,000 value in this field means 1 node // hour. Guaranteed to not exceed the train budget. TrainCostMilliNodeHours int64 `json:"trainCostMilliNodeHours,omitempty,string"` // ForceSendFields is a list of field names (e.g. // "EvaluatedDataItemsBigqueryUri") to unconditionally include in API requests. // By default, fields with empty or default values are omitted from API // requests. See https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields // for more details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "EvaluatedDataItemsBigqueryUri") // to include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionTftForecastingMetadata) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1SchemaTrainingjobDefinitionWindowConfig: Config that contains the strategy used to generate sliding windows in time series training. A window is a series of rows that comprise the context up to the time of prediction, and the horizon following. The corresponding row for each window marks the start of the forecast horizon. Each window is used as an input example for training/evaluation.
type GoogleCloudAiplatformV1SchemaTrainingjobDefinitionWindowConfig struct { // Column: Name of the column that should be used to generate sliding windows. // The column should contain either booleans or string booleans; if the value // of the row is True, generate a sliding window with the horizon starting at // that row. The column will not be used as a feature in training. Column string `json:"column,omitempty"` // MaxCount: Maximum number of windows that should be generated across all time // series. MaxCount int64 `json:"maxCount,omitempty,string"` // StrideLength: Stride length used to generate input examples. Within one time // series, every {$STRIDE_LENGTH} rows will be used to generate a sliding // window. StrideLength int64 `json:"strideLength,omitempty,string"` // ForceSendFields is a list of field names (e.g. "Column") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Column") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaTrainingjobDefinitionWindowConfig) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1SchemaVertex: A vertex represents a 2D point in the image. NOTE: the normalized vertex coordinates are relative to the original image and range from 0 to 1.
type GoogleCloudAiplatformV1SchemaVertex struct { // X: X coordinate. X float64 `json:"x,omitempty"` // Y: Y coordinate. Y float64 `json:"y,omitempty"` // ForceSendFields is a list of field names (e.g. "X") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "X") to include in API requests // with the JSON null value. By default, fields with empty values are omitted // from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaVertex) MarshalJSON() ([]byte, error)
func (s *GoogleCloudAiplatformV1SchemaVertex) UnmarshalJSON(data []byte) error
GoogleCloudAiplatformV1SchemaVideoActionRecognitionAnnotation: Annotation details specific to video action recognition.
type GoogleCloudAiplatformV1SchemaVideoActionRecognitionAnnotation struct { // AnnotationSpecId: The resource Id of the AnnotationSpec that this Annotation // pertains to. AnnotationSpecId string `json:"annotationSpecId,omitempty"` // DisplayName: The display name of the AnnotationSpec that this Annotation // pertains to. DisplayName string `json:"displayName,omitempty"` // TimeSegment: This Annotation applies to the time period represented by the // TimeSegment. If it's not set, the Annotation applies to the whole video. TimeSegment *GoogleCloudAiplatformV1SchemaTimeSegment `json:"timeSegment,omitempty"` // ForceSendFields is a list of field names (e.g. "AnnotationSpecId") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AnnotationSpecId") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaVideoActionRecognitionAnnotation) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1SchemaVideoClassificationAnnotation: Annotation details specific to video classification.
type GoogleCloudAiplatformV1SchemaVideoClassificationAnnotation struct { // AnnotationSpecId: The resource Id of the AnnotationSpec that this Annotation // pertains to. AnnotationSpecId string `json:"annotationSpecId,omitempty"` // DisplayName: The display name of the AnnotationSpec that this Annotation // pertains to. DisplayName string `json:"displayName,omitempty"` // TimeSegment: This Annotation applies to the time period represented by the // TimeSegment. If it's not set, the Annotation applies to the whole video. TimeSegment *GoogleCloudAiplatformV1SchemaTimeSegment `json:"timeSegment,omitempty"` // ForceSendFields is a list of field names (e.g. "AnnotationSpecId") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AnnotationSpecId") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaVideoClassificationAnnotation) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1SchemaVideoDataItem: Payload of Video DataItem.
type GoogleCloudAiplatformV1SchemaVideoDataItem struct { // GcsUri: Required. Google Cloud Storage URI points to the original video in // user's bucket. The video is up to 50 GB in size and up to 3 hour in // duration. GcsUri string `json:"gcsUri,omitempty"` // MimeType: Output only. The mime type of the content of the video. Only the // videos in below listed mime types are supported. Supported mime_type: - // video/mp4 - video/avi - video/quicktime MimeType string `json:"mimeType,omitempty"` // ForceSendFields is a list of field names (e.g. "GcsUri") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "GcsUri") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaVideoDataItem) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1SchemaVideoDatasetMetadata: The metadata of Datasets that contain Video DataItems.
type GoogleCloudAiplatformV1SchemaVideoDatasetMetadata struct { // DataItemSchemaUri: Points to a YAML file stored on Google Cloud Storage // describing payload of the Video DataItems that belong to this Dataset. DataItemSchemaUri string `json:"dataItemSchemaUri,omitempty"` // GcsBucket: Google Cloud Storage Bucket name that contains the blob data of // this Dataset. GcsBucket string `json:"gcsBucket,omitempty"` // ForceSendFields is a list of field names (e.g. "DataItemSchemaUri") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DataItemSchemaUri") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaVideoDatasetMetadata) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1SchemaVideoObjectTrackingAnnotation: Annotation details specific to video object tracking.
type GoogleCloudAiplatformV1SchemaVideoObjectTrackingAnnotation struct { // AnnotationSpecId: The resource Id of the AnnotationSpec that this Annotation // pertains to. AnnotationSpecId string `json:"annotationSpecId,omitempty"` // DisplayName: The display name of the AnnotationSpec that this Annotation // pertains to. DisplayName string `json:"displayName,omitempty"` // InstanceId: The instance of the object, expressed as a positive integer. // Used to track the same object across different frames. InstanceId int64 `json:"instanceId,omitempty,string"` // TimeOffset: A time (frame) of a video to which this annotation pertains. // Represented as the duration since the video's start. TimeOffset string `json:"timeOffset,omitempty"` // XMax: The rightmost coordinate of the bounding box. XMax float64 `json:"xMax,omitempty"` // XMin: The leftmost coordinate of the bounding box. XMin float64 `json:"xMin,omitempty"` // YMax: The bottommost coordinate of the bounding box. YMax float64 `json:"yMax,omitempty"` // YMin: The topmost coordinate of the bounding box. YMin float64 `json:"yMin,omitempty"` // ForceSendFields is a list of field names (e.g. "AnnotationSpecId") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AnnotationSpecId") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaVideoObjectTrackingAnnotation) MarshalJSON() ([]byte, error)
func (s *GoogleCloudAiplatformV1SchemaVideoObjectTrackingAnnotation) UnmarshalJSON(data []byte) error
type GoogleCloudAiplatformV1SchemaVisualInspectionClassificationLabelSavedQueryMetadata struct { // MultiLabel: Whether or not the classification label is multi_label. MultiLabel bool `json:"multiLabel,omitempty"` // ForceSendFields is a list of field names (e.g. "MultiLabel") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "MultiLabel") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SchemaVisualInspectionClassificationLabelSavedQueryMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudAiplatformV1SchemaVisualInspectionMaskSavedQueryMetadata struct { }
GoogleCloudAiplatformV1SearchDataItemsResponse: Response message for DatasetService.SearchDataItems.
type GoogleCloudAiplatformV1SearchDataItemsResponse struct { // DataItemViews: The DataItemViews read. DataItemViews []*GoogleCloudAiplatformV1DataItemView `json:"dataItemViews,omitempty"` // NextPageToken: A token to retrieve next page of results. Pass to // SearchDataItemsRequest.page_token to obtain that page. NextPageToken string `json:"nextPageToken,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "DataItemViews") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DataItemViews") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SearchDataItemsResponse) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1SearchEntryPoint: Google search entry point.
type GoogleCloudAiplatformV1SearchEntryPoint struct { // RenderedContent: Optional. Web content snippet that can be embedded in a web // page or an app webview. RenderedContent string `json:"renderedContent,omitempty"` // SdkBlob: Optional. Base64 encoded JSON representing array of tuple. SdkBlob string `json:"sdkBlob,omitempty"` // ForceSendFields is a list of field names (e.g. "RenderedContent") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "RenderedContent") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SearchEntryPoint) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1SearchFeaturesResponse: Response message for FeaturestoreService.SearchFeatures.
type GoogleCloudAiplatformV1SearchFeaturesResponse struct { // Features: The Features matching the request. Fields returned: * `name` * // `description` * `labels` * `create_time` * `update_time` Features []*GoogleCloudAiplatformV1Feature `json:"features,omitempty"` // NextPageToken: A token, which can be sent as // SearchFeaturesRequest.page_token to retrieve the next page. If this field is // omitted, there are no subsequent pages. NextPageToken string `json:"nextPageToken,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Features") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Features") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SearchFeaturesResponse) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1SearchMigratableResourcesRequest: Request message for MigrationService.SearchMigratableResources.
type GoogleCloudAiplatformV1SearchMigratableResourcesRequest struct { // Filter: A filter for your search. You can use the following types of // filters: * Resource type filters. The following strings filter for a // specific type of MigratableResource: * `ml_engine_model_version:*` * // `automl_model:*` * `automl_dataset:*` * `data_labeling_dataset:*` * // "Migrated or not" filters. The following strings filter for resources that // either have or have not already been migrated: * `last_migrate_time:*` // filters for migrated resources. * `NOT last_migrate_time:*` filters for not // yet migrated resources. Filter string `json:"filter,omitempty"` // PageSize: The standard page size. The default and maximum value is 100. PageSize int64 `json:"pageSize,omitempty"` // PageToken: The standard page token. PageToken string `json:"pageToken,omitempty"` // ForceSendFields is a list of field names (e.g. "Filter") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Filter") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SearchMigratableResourcesRequest) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1SearchMigratableResourcesResponse: Response message for MigrationService.SearchMigratableResources.
type GoogleCloudAiplatformV1SearchMigratableResourcesResponse struct { // MigratableResources: All migratable resources that can be migrated to the // location specified in the request. MigratableResources []*GoogleCloudAiplatformV1MigratableResource `json:"migratableResources,omitempty"` // NextPageToken: The standard next-page token. The migratable_resources may // not fill page_size in SearchMigratableResourcesRequest even when there are // subsequent pages. NextPageToken string `json:"nextPageToken,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "MigratableResources") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "MigratableResources") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SearchMigratableResourcesResponse) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1SearchModelDeploymentMonitoringStatsAnomaliesRequest: Request message for JobService.SearchModelDeploymentMonitoringStatsAnomalies.
type GoogleCloudAiplatformV1SearchModelDeploymentMonitoringStatsAnomaliesRequest struct { // DeployedModelId: Required. The DeployedModel ID of the // [ModelDeploymentMonitoringObjectiveConfig.deployed_model_id]. DeployedModelId string `json:"deployedModelId,omitempty"` // EndTime: The latest timestamp of stats being generated. If not set, // indicates feching stats till the latest possible one. EndTime string `json:"endTime,omitempty"` // FeatureDisplayName: The feature display name. If specified, only return the // stats belonging to this feature. Format: // ModelMonitoringStatsAnomalies.FeatureHistoricStatsAnomalies.feature_display_n // ame, example: "user_destination". FeatureDisplayName string `json:"featureDisplayName,omitempty"` // Objectives: Required. Objectives of the stats to retrieve. Objectives []*GoogleCloudAiplatformV1SearchModelDeploymentMonitoringStatsAnomaliesRequestStatsAnomaliesObjective `json:"objectives,omitempty"` // PageSize: The standard list page size. PageSize int64 `json:"pageSize,omitempty"` // PageToken: A page token received from a previous // JobService.SearchModelDeploymentMonitoringStatsAnomalies call. PageToken string `json:"pageToken,omitempty"` // StartTime: The earliest timestamp of stats being generated. If not set, // indicates fetching stats till the earliest possible one. StartTime string `json:"startTime,omitempty"` // ForceSendFields is a list of field names (e.g. "DeployedModelId") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DeployedModelId") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SearchModelDeploymentMonitoringStatsAnomaliesRequest) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1SearchModelDeploymentMonitoringStatsAnomaliesRequestSt atsAnomaliesObjective: Stats requested for specific objective.
type GoogleCloudAiplatformV1SearchModelDeploymentMonitoringStatsAnomaliesRequestStatsAnomaliesObjective struct { // TopFeatureCount: If set, all attribution scores between // SearchModelDeploymentMonitoringStatsAnomaliesRequest.start_time and // SearchModelDeploymentMonitoringStatsAnomaliesRequest.end_time are fetched, // and page token doesn't take effect in this case. Only used to retrieve // attribution score for the top Features which has the highest attribution // score in the latest monitoring run. TopFeatureCount int64 `json:"topFeatureCount,omitempty"` // Possible values: // "MODEL_DEPLOYMENT_MONITORING_OBJECTIVE_TYPE_UNSPECIFIED" - Default value, // should not be set. // "RAW_FEATURE_SKEW" - Raw feature values' stats to detect skew between // Training-Prediction datasets. // "RAW_FEATURE_DRIFT" - Raw feature values' stats to detect drift between // Serving-Prediction datasets. // "FEATURE_ATTRIBUTION_SKEW" - Feature attribution scores to detect skew // between Training-Prediction datasets. // "FEATURE_ATTRIBUTION_DRIFT" - Feature attribution scores to detect skew // between Prediction datasets collected within different time windows. Type string `json:"type,omitempty"` // ForceSendFields is a list of field names (e.g. "TopFeatureCount") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "TopFeatureCount") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SearchModelDeploymentMonitoringStatsAnomaliesRequestStatsAnomaliesObjective) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1SearchModelDeploymentMonitoringStatsAnomaliesResponse:
Response message for
JobService.SearchModelDeploymentMonitoringStatsAnomalies.
type GoogleCloudAiplatformV1SearchModelDeploymentMonitoringStatsAnomaliesResponse struct { // MonitoringStats: Stats retrieved for requested objectives. There are at most // 1000 // ModelMonitoringStatsAnomalies.FeatureHistoricStatsAnomalies.prediction_stats // in the response. MonitoringStats []*GoogleCloudAiplatformV1ModelMonitoringStatsAnomalies `json:"monitoringStats,omitempty"` // NextPageToken: The page token that can be used by the next // JobService.SearchModelDeploymentMonitoringStatsAnomalies call. NextPageToken string `json:"nextPageToken,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "MonitoringStats") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "MonitoringStats") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SearchModelDeploymentMonitoringStatsAnomaliesResponse) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1SearchNearestEntitiesRequest: The request message for FeatureOnlineStoreService.SearchNearestEntities.
type GoogleCloudAiplatformV1SearchNearestEntitiesRequest struct { // Query: Required. The query. Query *GoogleCloudAiplatformV1NearestNeighborQuery `json:"query,omitempty"` // ReturnFullEntity: Optional. If set to true, the full entities (including all // vector values and metadata) of the nearest neighbors are returned; otherwise // only entity id of the nearest neighbors will be returned. Note that // returning full entities will significantly increase the latency and cost of // the query. ReturnFullEntity bool `json:"returnFullEntity,omitempty"` // ForceSendFields is a list of field names (e.g. "Query") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Query") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SearchNearestEntitiesRequest) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1SearchNearestEntitiesResponse: Response message for FeatureOnlineStoreService.SearchNearestEntities
type GoogleCloudAiplatformV1SearchNearestEntitiesResponse struct { // NearestNeighbors: The nearest neighbors of the query entity. NearestNeighbors *GoogleCloudAiplatformV1NearestNeighbors `json:"nearestNeighbors,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "NearestNeighbors") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "NearestNeighbors") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SearchNearestEntitiesResponse) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ServiceAccountSpec: Configuration for the use of custom service account to run the workloads.
type GoogleCloudAiplatformV1ServiceAccountSpec struct { // EnableCustomServiceAccount: Required. If true, custom user-managed service // account is enforced to run any workloads (for example, Vertex Jobs) on the // resource. Otherwise, uses the Vertex AI Custom Code Service Agent // (https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents). EnableCustomServiceAccount bool `json:"enableCustomServiceAccount,omitempty"` // ServiceAccount: Optional. Required when all below conditions are met * // `enable_custom_service_account` is true; * any runtime is specified via // `ResourceRuntimeSpec` on creation time, for example, Ray The users must have // `iam.serviceAccounts.actAs` permission on this service account and then the // specified runtime containers will run as it. Do not set this field if you // want to submit jobs using custom service account to this PersistentResource // after creation, but only specify the `service_account` inside the job. ServiceAccount string `json:"serviceAccount,omitempty"` // ForceSendFields is a list of field names (e.g. "EnableCustomServiceAccount") // to unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "EnableCustomServiceAccount") to // include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ServiceAccountSpec) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ShieldedVmConfig: A set of Shielded Instance options. See Images using supported Shielded VM features (https://cloud.google.com/compute/docs/instances/modifying-shielded-vm).
type GoogleCloudAiplatformV1ShieldedVmConfig struct { // EnableSecureBoot: Defines whether the instance has Secure Boot // (https://cloud.google.com/compute/shielded-vm/docs/shielded-vm#secure-boot) // enabled. Secure Boot helps ensure that the system only runs authentic // software by verifying the digital signature of all boot components, and // halting the boot process if signature verification fails. EnableSecureBoot bool `json:"enableSecureBoot,omitempty"` // ForceSendFields is a list of field names (e.g. "EnableSecureBoot") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "EnableSecureBoot") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ShieldedVmConfig) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1SmoothGradConfig: Config for SmoothGrad approximation of gradients. When enabled, the gradients are approximated by averaging the gradients from noisy samples in the vicinity of the inputs. Adding noise can help improve the computed gradients. Refer to this paper for more details: https://arxiv.org/pdf/1706.03825.pdf
type GoogleCloudAiplatformV1SmoothGradConfig struct { // FeatureNoiseSigma: This is similar to noise_sigma, but provides additional // flexibility. A separate noise sigma can be provided for each feature, which // is useful if their distributions are different. No noise is added to // features that are not set. If this field is unset, noise_sigma will be used // for all features. FeatureNoiseSigma *GoogleCloudAiplatformV1FeatureNoiseSigma `json:"featureNoiseSigma,omitempty"` // NoiseSigma: This is a single float value and will be used to add noise to // all the features. Use this field when all features are normalized to have // the same distribution: scale to range [0, 1], [-1, 1] or z-scoring, where // features are normalized to have 0-mean and 1-variance. Learn more about // normalization // (https://developers.google.com/machine-learning/data-prep/transform/normalization). // For best results the recommended value is about 10% - 20% of the standard // deviation of the input feature. Refer to section 3.2 of the SmoothGrad // paper: https://arxiv.org/pdf/1706.03825.pdf. Defaults to 0.1. If the // distribution is different per feature, set feature_noise_sigma instead for // each feature. NoiseSigma float64 `json:"noiseSigma,omitempty"` // NoisySampleCount: The number of gradient samples to use for approximation. // The higher this number, the more accurate the gradient is, but the runtime // complexity increases by this factor as well. Valid range of its value is [1, // 50]. Defaults to 3. NoisySampleCount int64 `json:"noisySampleCount,omitempty"` // ForceSendFields is a list of field names (e.g. "FeatureNoiseSigma") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "FeatureNoiseSigma") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SmoothGradConfig) MarshalJSON() ([]byte, error)
func (s *GoogleCloudAiplatformV1SmoothGradConfig) UnmarshalJSON(data []byte) error
GoogleCloudAiplatformV1SpecialistPool: SpecialistPool represents customers' own workforce to work on their data labeling jobs. It includes a group of specialist managers and workers. Managers are responsible for managing the workers in this pool as well as customers' data labeling jobs associated with this pool. Customers create specialist pool as well as start data labeling jobs on Cloud, managers and workers handle the jobs using CrowdCompute console.
type GoogleCloudAiplatformV1SpecialistPool struct { // DisplayName: Required. The user-defined name of the SpecialistPool. The name // can be up to 128 characters long and can consist of any UTF-8 characters. // This field should be unique on project-level. DisplayName string `json:"displayName,omitempty"` // Name: Required. The resource name of the SpecialistPool. Name string `json:"name,omitempty"` // PendingDataLabelingJobs: Output only. The resource name of the pending data // labeling jobs. PendingDataLabelingJobs []string `json:"pendingDataLabelingJobs,omitempty"` // SpecialistManagerEmails: The email addresses of the managers in the // SpecialistPool. SpecialistManagerEmails []string `json:"specialistManagerEmails,omitempty"` // SpecialistManagersCount: Output only. The number of managers in this // SpecialistPool. SpecialistManagersCount int64 `json:"specialistManagersCount,omitempty"` // SpecialistWorkerEmails: The email addresses of workers in the // SpecialistPool. SpecialistWorkerEmails []string `json:"specialistWorkerEmails,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "DisplayName") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DisplayName") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SpecialistPool) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1StartNotebookRuntimeOperationMetadata: Metadata information for NotebookService.StartNotebookRuntime.
type GoogleCloudAiplatformV1StartNotebookRuntimeOperationMetadata struct { // GenericMetadata: The operation generic information. GenericMetadata *GoogleCloudAiplatformV1GenericOperationMetadata `json:"genericMetadata,omitempty"` // ProgressMessage: A human-readable message that shows the intermediate // progress details of NotebookRuntime. ProgressMessage string `json:"progressMessage,omitempty"` // ForceSendFields is a list of field names (e.g. "GenericMetadata") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "GenericMetadata") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1StartNotebookRuntimeOperationMetadata) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1StartNotebookRuntimeRequest: Request message for NotebookService.StartNotebookRuntime.
type GoogleCloudAiplatformV1StartNotebookRuntimeRequest struct { }
GoogleCloudAiplatformV1StopTrialRequest: Request message for VizierService.StopTrial.
type GoogleCloudAiplatformV1StopTrialRequest struct { }
GoogleCloudAiplatformV1StratifiedSplit: Assigns input data to the training, validation, and test sets so that the distribution of values found in the categorical column (as specified by the `key` field) is mirrored within each split. The fraction values determine the relative sizes of the splits. For example, if the specified column has three values, with 50% of the rows having value "A", 25% value "B", and 25% value "C", and the split fractions are specified as 80/10/10, then the training set will constitute 80% of the training data, with about 50% of the training set rows having the value "A" for the specified column, about 25% having the value "B", and about 25% having the value "C". Only the top 500 occurring values are used; any values not in the top 500 values are randomly assigned to a split. If less than three rows contain a specific value, those rows are randomly assigned. Supported only for tabular Datasets.
type GoogleCloudAiplatformV1StratifiedSplit struct { // Key: Required. The key is a name of one of the Dataset's data columns. The // key provided must be for a categorical column. Key string `json:"key,omitempty"` // TestFraction: The fraction of the input data that is to be used to evaluate // the Model. TestFraction float64 `json:"testFraction,omitempty"` // TrainingFraction: The fraction of the input data that is to be used to train // the Model. TrainingFraction float64 `json:"trainingFraction,omitempty"` // ValidationFraction: The fraction of the input data that is to be used to // validate the Model. ValidationFraction float64 `json:"validationFraction,omitempty"` // ForceSendFields is a list of field names (e.g. "Key") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Key") to include in API requests // with the JSON null value. By default, fields with empty values are omitted // from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1StratifiedSplit) MarshalJSON() ([]byte, error)
func (s *GoogleCloudAiplatformV1StratifiedSplit) UnmarshalJSON(data []byte) error
GoogleCloudAiplatformV1StreamRawPredictRequest: Request message for PredictionService.StreamRawPredict.
type GoogleCloudAiplatformV1StreamRawPredictRequest struct { // HttpBody: The prediction input. Supports HTTP headers and arbitrary data // payload. HttpBody *GoogleApiHttpBody `json:"httpBody,omitempty"` // ForceSendFields is a list of field names (e.g. "HttpBody") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "HttpBody") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1StreamRawPredictRequest) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1StreamingPredictRequest: Request message for PredictionService.StreamingPredict. The first message must contain endpoint field and optionally input. The subsequent messages must contain input.
type GoogleCloudAiplatformV1StreamingPredictRequest struct { // Inputs: The prediction input. Inputs []*GoogleCloudAiplatformV1Tensor `json:"inputs,omitempty"` // Parameters: The parameters that govern the prediction. Parameters *GoogleCloudAiplatformV1Tensor `json:"parameters,omitempty"` // ForceSendFields is a list of field names (e.g. "Inputs") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Inputs") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1StreamingPredictRequest) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1StreamingPredictResponse: Response message for PredictionService.StreamingPredict.
type GoogleCloudAiplatformV1StreamingPredictResponse struct { // Outputs: The prediction output. Outputs []*GoogleCloudAiplatformV1Tensor `json:"outputs,omitempty"` // Parameters: The parameters that govern the prediction. Parameters *GoogleCloudAiplatformV1Tensor `json:"parameters,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Outputs") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Outputs") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1StreamingPredictResponse) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1StreamingReadFeatureValuesRequest: Request message for FeaturestoreOnlineServingService.StreamingFeatureValuesRead.
type GoogleCloudAiplatformV1StreamingReadFeatureValuesRequest struct { // EntityIds: Required. IDs of entities to read Feature values of. The maximum // number of IDs is 100. For example, for a machine learning model predicting // user clicks on a website, an entity ID could be `user_123`. EntityIds []string `json:"entityIds,omitempty"` // FeatureSelector: Required. Selector choosing Features of the target // EntityType. Feature IDs will be deduplicated. FeatureSelector *GoogleCloudAiplatformV1FeatureSelector `json:"featureSelector,omitempty"` // ForceSendFields is a list of field names (e.g. "EntityIds") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "EntityIds") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1StreamingReadFeatureValuesRequest) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1StringArray: A list of string values.
type GoogleCloudAiplatformV1StringArray struct { // Values: A list of string values. Values []string `json:"values,omitempty"` // ForceSendFields is a list of field names (e.g. "Values") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Values") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1StringArray) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1Study: A message representing a Study.
type GoogleCloudAiplatformV1Study struct { // CreateTime: Output only. Time at which the study was created. CreateTime string `json:"createTime,omitempty"` // DisplayName: Required. Describes the Study, default value is empty string. DisplayName string `json:"displayName,omitempty"` // InactiveReason: Output only. A human readable reason why the Study is // inactive. This should be empty if a study is ACTIVE or COMPLETED. InactiveReason string `json:"inactiveReason,omitempty"` // Name: Output only. The name of a study. The study's globally unique // identifier. Format: // `projects/{project}/locations/{location}/studies/{study}` Name string `json:"name,omitempty"` // State: Output only. The detailed state of a Study. // // Possible values: // "STATE_UNSPECIFIED" - The study state is unspecified. // "ACTIVE" - The study is active. // "INACTIVE" - The study is stopped due to an internal error. // "COMPLETED" - The study is done when the service exhausts the parameter // search space or max_trial_count is reached. State string `json:"state,omitempty"` // StudySpec: Required. Configuration of the Study. StudySpec *GoogleCloudAiplatformV1StudySpec `json:"studySpec,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "CreateTime") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CreateTime") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1Study) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1StudySpec: Represents specification of a Study.
type GoogleCloudAiplatformV1StudySpec struct { // Algorithm: The search algorithm specified for the Study. // // Possible values: // "ALGORITHM_UNSPECIFIED" - The default algorithm used by Vertex AI for // [hyperparameter // tuning](https://cloud.google.com/vertex-ai/docs/training/hyperparameter-tunin // g-overview) and [Vertex AI // Vizier](https://cloud.google.com/vertex-ai/docs/vizier). // "GRID_SEARCH" - Simple grid search within the feasible space. To use grid // search, all parameters must be `INTEGER`, `CATEGORICAL`, or `DISCRETE`. // "RANDOM_SEARCH" - Simple random search within the feasible space. Algorithm string `json:"algorithm,omitempty"` // ConvexAutomatedStoppingSpec: The automated early stopping spec using convex // stopping rule. ConvexAutomatedStoppingSpec *GoogleCloudAiplatformV1StudySpecConvexAutomatedStoppingSpec `json:"convexAutomatedStoppingSpec,omitempty"` // DecayCurveStoppingSpec: The automated early stopping spec using decay curve // rule. DecayCurveStoppingSpec *GoogleCloudAiplatformV1StudySpecDecayCurveAutomatedStoppingSpec `json:"decayCurveStoppingSpec,omitempty"` // MeasurementSelectionType: Describe which measurement selection type will be // used // // Possible values: // "MEASUREMENT_SELECTION_TYPE_UNSPECIFIED" - Will be treated as // LAST_MEASUREMENT. // "LAST_MEASUREMENT" - Use the last measurement reported. // "BEST_MEASUREMENT" - Use the best measurement reported. MeasurementSelectionType string `json:"measurementSelectionType,omitempty"` // MedianAutomatedStoppingSpec: The automated early stopping spec using median // rule. MedianAutomatedStoppingSpec *GoogleCloudAiplatformV1StudySpecMedianAutomatedStoppingSpec `json:"medianAutomatedStoppingSpec,omitempty"` // Metrics: Required. Metric specs for the Study. Metrics []*GoogleCloudAiplatformV1StudySpecMetricSpec `json:"metrics,omitempty"` // ObservationNoise: The observation noise level of the study. Currently only // supported by the Vertex AI Vizier service. Not supported by // HyperparameterTuningJob or TrainingPipeline. // // Possible values: // "OBSERVATION_NOISE_UNSPECIFIED" - The default noise level chosen by Vertex // AI. // "LOW" - Vertex AI assumes that the objective function is (nearly) // perfectly reproducible, and will never repeat the same Trial parameters. // "HIGH" - Vertex AI will estimate the amount of noise in metric // evaluations, it may repeat the same Trial parameters more than once. ObservationNoise string `json:"observationNoise,omitempty"` // Parameters: Required. The set of parameters to tune. Parameters []*GoogleCloudAiplatformV1StudySpecParameterSpec `json:"parameters,omitempty"` // StudyStoppingConfig: Conditions for automated stopping of a Study. Enable // automated stopping by configuring at least one condition. StudyStoppingConfig *GoogleCloudAiplatformV1StudySpecStudyStoppingConfig `json:"studyStoppingConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "Algorithm") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Algorithm") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1StudySpec) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1StudySpecConvexAutomatedStoppingSpec: Configuration for ConvexAutomatedStoppingSpec. When there are enough completed trials (configured by min_measurement_count), for pending trials with enough measurements and steps, the policy first computes an overestimate of the objective value at max_num_steps according to the slope of the incomplete objective value curve. No prediction can be made if the curve is completely flat. If the overestimation is worse than the best objective value of the completed trials, this pending trial will be early-stopped, but a last measurement will be added to the pending trial with max_num_steps and predicted objective value from the autoregression model.
type GoogleCloudAiplatformV1StudySpecConvexAutomatedStoppingSpec struct { // LearningRateParameterName: The hyper-parameter name used in the tuning job // that stands for learning rate. Leave it blank if learning rate is not in a // parameter in tuning. The learning_rate is used to estimate the objective // value of the ongoing trial. LearningRateParameterName string `json:"learningRateParameterName,omitempty"` // MaxStepCount: Steps used in predicting the final objective for early stopped // trials. In general, it's set to be the same as the defined steps in training // / tuning. If not defined, it will learn it from the completed trials. When // use_steps is false, this field is set to the maximum elapsed seconds. MaxStepCount int64 `json:"maxStepCount,omitempty,string"` // MinMeasurementCount: The minimal number of measurements in a Trial. // Early-stopping checks will not trigger if less than min_measurement_count+1 // completed trials or pending trials with less than min_measurement_count // measurements. If not defined, the default value is 5. MinMeasurementCount int64 `json:"minMeasurementCount,omitempty,string"` // MinStepCount: Minimum number of steps for a trial to complete. Trials which // do not have a measurement with step_count > min_step_count won't be // considered for early stopping. It's ok to set it to 0, and a trial can be // early stopped at any stage. By default, min_step_count is set to be // one-tenth of the max_step_count. When use_elapsed_duration is true, this // field is set to the minimum elapsed seconds. MinStepCount int64 `json:"minStepCount,omitempty,string"` // UpdateAllStoppedTrials: ConvexAutomatedStoppingSpec by default only updates // the trials that needs to be early stopped using a newly trained // auto-regressive model. When this flag is set to True, all stopped trials // from the beginning are potentially updated in terms of their // `final_measurement`. Also, note that the training logic of autoregressive // models is different in this case. Enabling this option has shown better // results and this may be the default option in the future. UpdateAllStoppedTrials bool `json:"updateAllStoppedTrials,omitempty"` // UseElapsedDuration: This bool determines whether or not the rule is applied // based on elapsed_secs or steps. If use_elapsed_duration==false, the early // stopping decision is made according to the predicted objective values // according to the target steps. If use_elapsed_duration==true, elapsed_secs // is used instead of steps. Also, in this case, the parameters max_num_steps // and min_num_steps are overloaded to contain max_elapsed_seconds and // min_elapsed_seconds. UseElapsedDuration bool `json:"useElapsedDuration,omitempty"` // ForceSendFields is a list of field names (e.g. "LearningRateParameterName") // to unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "LearningRateParameterName") to // include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1StudySpecConvexAutomatedStoppingSpec) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1StudySpecDecayCurveAutomatedStoppingSpec: The decay curve automated stopping rule builds a Gaussian Process Regressor to predict the final objective value of a Trial based on the already completed Trials and the intermediate measurements of the current Trial. Early stopping is requested for the current Trial if there is very low probability to exceed the optimal value found so far.
type GoogleCloudAiplatformV1StudySpecDecayCurveAutomatedStoppingSpec struct { // UseElapsedDuration: True if Measurement.elapsed_duration is used as the // x-axis of each Trials Decay Curve. Otherwise, Measurement.step_count will be // used as the x-axis. UseElapsedDuration bool `json:"useElapsedDuration,omitempty"` // ForceSendFields is a list of field names (e.g. "UseElapsedDuration") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "UseElapsedDuration") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1StudySpecDecayCurveAutomatedStoppingSpec) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1StudySpecMedianAutomatedStoppingSpec: The median automated stopping rule stops a pending Trial if the Trial's best objective_value is strictly below the median 'performance' of all completed Trials reported up to the Trial's last measurement. Currently, 'performance' refers to the running average of the objective values reported by the Trial in each measurement.
type GoogleCloudAiplatformV1StudySpecMedianAutomatedStoppingSpec struct { // UseElapsedDuration: True if median automated stopping rule applies on // Measurement.elapsed_duration. It means that elapsed_duration field of latest // measurement of current Trial is used to compute median objective value for // each completed Trials. UseElapsedDuration bool `json:"useElapsedDuration,omitempty"` // ForceSendFields is a list of field names (e.g. "UseElapsedDuration") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "UseElapsedDuration") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1StudySpecMedianAutomatedStoppingSpec) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1StudySpecMetricSpec: Represents a metric to optimize.
type GoogleCloudAiplatformV1StudySpecMetricSpec struct { // Goal: Required. The optimization goal of the metric. // // Possible values: // "GOAL_TYPE_UNSPECIFIED" - Goal Type will default to maximize. // "MAXIMIZE" - Maximize the goal metric. // "MINIMIZE" - Minimize the goal metric. Goal string `json:"goal,omitempty"` // MetricId: Required. The ID of the metric. Must not contain whitespaces and // must be unique amongst all MetricSpecs. MetricId string `json:"metricId,omitempty"` // SafetyConfig: Used for safe search. In the case, the metric will be a safety // metric. You must provide a separate metric for objective metric. SafetyConfig *GoogleCloudAiplatformV1StudySpecMetricSpecSafetyMetricConfig `json:"safetyConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "Goal") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Goal") to include in API requests // with the JSON null value. By default, fields with empty values are omitted // from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1StudySpecMetricSpec) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1StudySpecMetricSpecSafetyMetricConfig: Used in safe optimization to specify threshold levels and risk tolerance.
type GoogleCloudAiplatformV1StudySpecMetricSpecSafetyMetricConfig struct { // DesiredMinSafeTrialsFraction: Desired minimum fraction of safe trials (over // total number of trials) that should be targeted by the algorithm at any time // during the study (best effort). This should be between 0.0 and 1.0 and a // value of 0.0 means that there is no minimum and an algorithm proceeds // without targeting any specific fraction. A value of 1.0 means that the // algorithm attempts to only Suggest safe Trials. DesiredMinSafeTrialsFraction float64 `json:"desiredMinSafeTrialsFraction,omitempty"` // SafetyThreshold: Safety threshold (boundary value between safe and unsafe). // NOTE that if you leave SafetyMetricConfig unset, a default value of 0 will // be used. SafetyThreshold float64 `json:"safetyThreshold,omitempty"` // ForceSendFields is a list of field names (e.g. // "DesiredMinSafeTrialsFraction") to unconditionally include in API requests. // By default, fields with empty or default values are omitted from API // requests. See https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields // for more details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DesiredMinSafeTrialsFraction") to // include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1StudySpecMetricSpecSafetyMetricConfig) MarshalJSON() ([]byte, error)
func (s *GoogleCloudAiplatformV1StudySpecMetricSpecSafetyMetricConfig) UnmarshalJSON(data []byte) error
GoogleCloudAiplatformV1StudySpecParameterSpec: Represents a single parameter to optimize.
type GoogleCloudAiplatformV1StudySpecParameterSpec struct { // CategoricalValueSpec: The value spec for a 'CATEGORICAL' parameter. CategoricalValueSpec *GoogleCloudAiplatformV1StudySpecParameterSpecCategoricalValueSpec `json:"categoricalValueSpec,omitempty"` // ConditionalParameterSpecs: A conditional parameter node is active if the // parameter's value matches the conditional node's parent_value_condition. If // two items in conditional_parameter_specs have the same name, they must have // disjoint parent_value_condition. ConditionalParameterSpecs []*GoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpec `json:"conditionalParameterSpecs,omitempty"` // DiscreteValueSpec: The value spec for a 'DISCRETE' parameter. DiscreteValueSpec *GoogleCloudAiplatformV1StudySpecParameterSpecDiscreteValueSpec `json:"discreteValueSpec,omitempty"` // DoubleValueSpec: The value spec for a 'DOUBLE' parameter. DoubleValueSpec *GoogleCloudAiplatformV1StudySpecParameterSpecDoubleValueSpec `json:"doubleValueSpec,omitempty"` // IntegerValueSpec: The value spec for an 'INTEGER' parameter. IntegerValueSpec *GoogleCloudAiplatformV1StudySpecParameterSpecIntegerValueSpec `json:"integerValueSpec,omitempty"` // ParameterId: Required. The ID of the parameter. Must not contain whitespaces // and must be unique amongst all ParameterSpecs. ParameterId string `json:"parameterId,omitempty"` // ScaleType: How the parameter should be scaled. Leave unset for `CATEGORICAL` // parameters. // // Possible values: // "SCALE_TYPE_UNSPECIFIED" - By default, no scaling is applied. // "UNIT_LINEAR_SCALE" - Scales the feasible space to (0, 1) linearly. // "UNIT_LOG_SCALE" - Scales the feasible space logarithmically to (0, 1). // The entire feasible space must be strictly positive. // "UNIT_REVERSE_LOG_SCALE" - Scales the feasible space "reverse" // logarithmically to (0, 1). The result is that values close to the top of the // feasible space are spread out more than points near the bottom. The entire // feasible space must be strictly positive. ScaleType string `json:"scaleType,omitempty"` // ForceSendFields is a list of field names (e.g. "CategoricalValueSpec") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CategoricalValueSpec") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1StudySpecParameterSpec) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1StudySpecParameterSpecCategoricalValueSpec: Value specification for a parameter in `CATEGORICAL` type.
type GoogleCloudAiplatformV1StudySpecParameterSpecCategoricalValueSpec struct { // DefaultValue: A default value for a `CATEGORICAL` parameter that is assumed // to be a relatively good starting point. Unset value signals that there is no // offered starting point. Currently only supported by the Vertex AI Vizier // service. Not supported by HyperparameterTuningJob or TrainingPipeline. DefaultValue string `json:"defaultValue,omitempty"` // Values: Required. The list of possible categories. Values []string `json:"values,omitempty"` // ForceSendFields is a list of field names (e.g. "DefaultValue") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DefaultValue") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1StudySpecParameterSpecCategoricalValueSpec) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpec: Represents a parameter spec with condition from its parent parameter.
type GoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpec struct { // ParameterSpec: Required. The spec for a conditional parameter. ParameterSpec *GoogleCloudAiplatformV1StudySpecParameterSpec `json:"parameterSpec,omitempty"` // ParentCategoricalValues: The spec for matching values from a parent // parameter of `CATEGORICAL` type. ParentCategoricalValues *GoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpecCategoricalValueCondition `json:"parentCategoricalValues,omitempty"` // ParentDiscreteValues: The spec for matching values from a parent parameter // of `DISCRETE` type. ParentDiscreteValues *GoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpecDiscreteValueCondition `json:"parentDiscreteValues,omitempty"` // ParentIntValues: The spec for matching values from a parent parameter of // `INTEGER` type. ParentIntValues *GoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpecIntValueCondition `json:"parentIntValues,omitempty"` // ForceSendFields is a list of field names (e.g. "ParameterSpec") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ParameterSpec") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpec) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpecCategori calValueCondition: Represents the spec to match categorical values from parent parameter.
type GoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpecCategoricalValueCondition struct { // Values: Required. Matches values of the parent parameter of 'CATEGORICAL' // type. All values must exist in `categorical_value_spec` of parent parameter. Values []string `json:"values,omitempty"` // ForceSendFields is a list of field names (e.g. "Values") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Values") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpecCategoricalValueCondition) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpecDiscrete ValueCondition: Represents the spec to match discrete values from parent parameter.
type GoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpecDiscreteValueCondition struct { // Values: Required. Matches values of the parent parameter of 'DISCRETE' type. // All values must exist in `discrete_value_spec` of parent parameter. The // Epsilon of the value matching is 1e-10. Values []float64 `json:"values,omitempty"` // ForceSendFields is a list of field names (e.g. "Values") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Values") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpecDiscreteValueCondition) MarshalJSON() ([]byte, error)
func (s *GoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpecDiscreteValueCondition) UnmarshalJSON(data []byte) error
GoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpecIntValue Condition: Represents the spec to match integer values from parent parameter.
type GoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpecIntValueCondition struct { // Values: Required. Matches values of the parent parameter of 'INTEGER' type. // All values must lie in `integer_value_spec` of parent parameter. Values googleapi.Int64s `json:"values,omitempty"` // ForceSendFields is a list of field names (e.g. "Values") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Values") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpecIntValueCondition) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1StudySpecParameterSpecDiscreteValueSpec: Value specification for a parameter in `DISCRETE` type.
type GoogleCloudAiplatformV1StudySpecParameterSpecDiscreteValueSpec struct { // DefaultValue: A default value for a `DISCRETE` parameter that is assumed to // be a relatively good starting point. Unset value signals that there is no // offered starting point. It automatically rounds to the nearest feasible // discrete point. Currently only supported by the Vertex AI Vizier service. // Not supported by HyperparameterTuningJob or TrainingPipeline. DefaultValue float64 `json:"defaultValue,omitempty"` // Values: Required. A list of possible values. The list should be in // increasing order and at least 1e-10 apart. For instance, this parameter // might have possible settings of 1.5, 2.5, and 4.0. This list should not // contain more than 1,000 values. Values []float64 `json:"values,omitempty"` // ForceSendFields is a list of field names (e.g. "DefaultValue") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DefaultValue") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1StudySpecParameterSpecDiscreteValueSpec) MarshalJSON() ([]byte, error)
func (s *GoogleCloudAiplatformV1StudySpecParameterSpecDiscreteValueSpec) UnmarshalJSON(data []byte) error
GoogleCloudAiplatformV1StudySpecParameterSpecDoubleValueSpec: Value specification for a parameter in `DOUBLE` type.
type GoogleCloudAiplatformV1StudySpecParameterSpecDoubleValueSpec struct { // DefaultValue: A default value for a `DOUBLE` parameter that is assumed to be // a relatively good starting point. Unset value signals that there is no // offered starting point. Currently only supported by the Vertex AI Vizier // service. Not supported by HyperparameterTuningJob or TrainingPipeline. DefaultValue float64 `json:"defaultValue,omitempty"` // MaxValue: Required. Inclusive maximum value of the parameter. MaxValue float64 `json:"maxValue,omitempty"` // MinValue: Required. Inclusive minimum value of the parameter. MinValue float64 `json:"minValue,omitempty"` // ForceSendFields is a list of field names (e.g. "DefaultValue") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DefaultValue") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1StudySpecParameterSpecDoubleValueSpec) MarshalJSON() ([]byte, error)
func (s *GoogleCloudAiplatformV1StudySpecParameterSpecDoubleValueSpec) UnmarshalJSON(data []byte) error
GoogleCloudAiplatformV1StudySpecParameterSpecIntegerValueSpec: Value specification for a parameter in `INTEGER` type.
type GoogleCloudAiplatformV1StudySpecParameterSpecIntegerValueSpec struct { // DefaultValue: A default value for an `INTEGER` parameter that is assumed to // be a relatively good starting point. Unset value signals that there is no // offered starting point. Currently only supported by the Vertex AI Vizier // service. Not supported by HyperparameterTuningJob or TrainingPipeline. DefaultValue int64 `json:"defaultValue,omitempty,string"` // MaxValue: Required. Inclusive maximum value of the parameter. MaxValue int64 `json:"maxValue,omitempty,string"` // MinValue: Required. Inclusive minimum value of the parameter. MinValue int64 `json:"minValue,omitempty,string"` // ForceSendFields is a list of field names (e.g. "DefaultValue") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DefaultValue") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1StudySpecParameterSpecIntegerValueSpec) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1StudySpecStudyStoppingConfig: The configuration (stopping conditions) for automated stopping of a Study. Conditions include trial budgets, time budgets, and convergence detection.
type GoogleCloudAiplatformV1StudySpecStudyStoppingConfig struct { // MaxDurationNoProgress: If the objective value has not improved for this much // time, stop the study. WARNING: Effective only for single-objective studies. MaxDurationNoProgress string `json:"maxDurationNoProgress,omitempty"` // MaxNumTrials: If there are more than this many trials, stop the study. MaxNumTrials int64 `json:"maxNumTrials,omitempty"` // MaxNumTrialsNoProgress: If the objective value has not improved for this // many consecutive trials, stop the study. WARNING: Effective only for // single-objective studies. MaxNumTrialsNoProgress int64 `json:"maxNumTrialsNoProgress,omitempty"` // MaximumRuntimeConstraint: If the specified time or duration has passed, stop // the study. MaximumRuntimeConstraint *GoogleCloudAiplatformV1StudyTimeConstraint `json:"maximumRuntimeConstraint,omitempty"` // MinNumTrials: If there are fewer than this many COMPLETED trials, do not // stop the study. MinNumTrials int64 `json:"minNumTrials,omitempty"` // MinimumRuntimeConstraint: Each "stopping rule" in this proto specifies an // "if" condition. Before Vizier would generate a new suggestion, it first // checks each specified stopping rule, from top to bottom in this list. Note // that the first few rules (e.g. minimum_runtime_constraint, min_num_trials) // will prevent other stopping rules from being evaluated until they are met. // For example, setting `min_num_trials=5` and `always_stop_after= 1 hour` // means that the Study will ONLY stop after it has 5 COMPLETED trials, even if // more than an hour has passed since its creation. It follows the first // applicable rule (whose "if" condition is satisfied) to make a stopping // decision. If none of the specified rules are applicable, then Vizier decides // that the study should not stop. If Vizier decides that the study should // stop, the study enters STOPPING state (or STOPPING_ASAP if should_stop_asap // = true). IMPORTANT: The automatic study state transition happens precisely // as described above; that is, deleting trials or updating StudyConfig NEVER // automatically moves the study state back to ACTIVE. If you want to _resume_ // a Study that was stopped, 1) change the stopping conditions if necessary, 2) // activate the study, and then 3) ask for suggestions. If the specified time // or duration has not passed, do not stop the study. MinimumRuntimeConstraint *GoogleCloudAiplatformV1StudyTimeConstraint `json:"minimumRuntimeConstraint,omitempty"` // ShouldStopAsap: If true, a Study enters STOPPING_ASAP whenever it would // normally enters STOPPING state. The bottom line is: set to true if you want // to interrupt on-going evaluations of Trials as soon as the study stopping // condition is met. (Please see Study.State documentation for the source of // truth). ShouldStopAsap bool `json:"shouldStopAsap,omitempty"` // ForceSendFields is a list of field names (e.g. "MaxDurationNoProgress") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "MaxDurationNoProgress") to // include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1StudySpecStudyStoppingConfig) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1StudyTimeConstraint: Time-based Constraint for Study
type GoogleCloudAiplatformV1StudyTimeConstraint struct { // EndTime: Compares the wallclock time to this time. Must use UTC timezone. EndTime string `json:"endTime,omitempty"` // MaxDuration: Counts the wallclock time passed since the creation of this // Study. MaxDuration string `json:"maxDuration,omitempty"` // ForceSendFields is a list of field names (e.g. "EndTime") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "EndTime") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1StudyTimeConstraint) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1SuggestTrialsMetadata: Details of operations that perform Trials suggestion.
type GoogleCloudAiplatformV1SuggestTrialsMetadata struct { // ClientId: The identifier of the client that is requesting the suggestion. If // multiple SuggestTrialsRequests have the same `client_id`, the service will // return the identical suggested Trial if the Trial is pending, and provide a // new Trial if the last suggested Trial was completed. ClientId string `json:"clientId,omitempty"` // GenericMetadata: Operation metadata for suggesting Trials. GenericMetadata *GoogleCloudAiplatformV1GenericOperationMetadata `json:"genericMetadata,omitempty"` // ForceSendFields is a list of field names (e.g. "ClientId") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ClientId") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SuggestTrialsMetadata) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1SuggestTrialsRequest: Request message for VizierService.SuggestTrials.
type GoogleCloudAiplatformV1SuggestTrialsRequest struct { // ClientId: Required. The identifier of the client that is requesting the // suggestion. If multiple SuggestTrialsRequests have the same `client_id`, the // service will return the identical suggested Trial if the Trial is pending, // and provide a new Trial if the last suggested Trial was completed. ClientId string `json:"clientId,omitempty"` // Contexts: Optional. This allows you to specify the "context" for a Trial; a // context is a slice (a subspace) of the search space. Typical uses for // contexts: 1) You are using Vizier to tune a server for best performance, but // there's a strong weekly cycle. The context specifies the day-of-week. This // allows Tuesday to generalize from Wednesday without assuming that everything // is identical. 2) Imagine you're optimizing some medical treatment for // people. As they walk in the door, you know certain facts about them (e.g. // sex, weight, height, blood-pressure). Put that information in the context, // and Vizier will adapt its suggestions to the patient. 3) You want to do a // fair A/B test efficiently. Specify the "A" and "B" conditions as contexts, // and Vizier will generalize between "A" and "B" conditions. If they are // similar, this will allow Vizier to converge to the optimum faster than if // "A" and "B" were separate Studies. NOTE: You can also enter contexts as // REQUESTED Trials, e.g. via the CreateTrial() RPC; that's the asynchronous // option where you don't need a close association between contexts and // suggestions. NOTE: All the Parameters you set in a context MUST be defined // in the Study. NOTE: You must supply 0 or $suggestion_count contexts. If you // don't supply any contexts, Vizier will make suggestions from the full search // space specified in the StudySpec; if you supply a full set of context, each // suggestion will match the corresponding context. NOTE: A Context with no // features set matches anything, and allows suggestions from the full search // space. NOTE: Contexts MUST lie within the search space specified in the // StudySpec. It's an error if they don't. NOTE: Contexts preferentially match // ACTIVE then REQUESTED trials before new suggestions are generated. NOTE: // Generation of suggestions involves a match between a Context and // (optionally) a REQUESTED trial; if that match is not fully specified, a // suggestion will be geneated in the merged subspace. Contexts []*GoogleCloudAiplatformV1TrialContext `json:"contexts,omitempty"` // SuggestionCount: Required. The number of suggestions requested. It must be // positive. SuggestionCount int64 `json:"suggestionCount,omitempty"` // ForceSendFields is a list of field names (e.g. "ClientId") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ClientId") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SuggestTrialsRequest) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1SuggestTrialsResponse: Response message for VizierService.SuggestTrials.
type GoogleCloudAiplatformV1SuggestTrialsResponse struct { // EndTime: The time at which operation processing completed. EndTime string `json:"endTime,omitempty"` // StartTime: The time at which the operation was started. StartTime string `json:"startTime,omitempty"` // StudyState: The state of the Study. // // Possible values: // "STATE_UNSPECIFIED" - The study state is unspecified. // "ACTIVE" - The study is active. // "INACTIVE" - The study is stopped due to an internal error. // "COMPLETED" - The study is done when the service exhausts the parameter // search space or max_trial_count is reached. StudyState string `json:"studyState,omitempty"` // Trials: A list of Trials. Trials []*GoogleCloudAiplatformV1Trial `json:"trials,omitempty"` // ForceSendFields is a list of field names (e.g. "EndTime") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "EndTime") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SuggestTrialsResponse) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1SupervisedHyperParameters: Hyperparameters for SFT.
type GoogleCloudAiplatformV1SupervisedHyperParameters struct { // AdapterSize: Optional. Adapter size for tuning. // // Possible values: // "ADAPTER_SIZE_UNSPECIFIED" - Adapter size is unspecified. // "ADAPTER_SIZE_ONE" - Adapter size 1. // "ADAPTER_SIZE_FOUR" - Adapter size 4. // "ADAPTER_SIZE_EIGHT" - Adapter size 8. // "ADAPTER_SIZE_SIXTEEN" - Adapter size 16. AdapterSize string `json:"adapterSize,omitempty"` // EpochCount: Optional. Number of complete passes the model makes over the // entire training dataset during training. EpochCount int64 `json:"epochCount,omitempty,string"` // LearningRateMultiplier: Optional. Multiplier for adjusting the default // learning rate. LearningRateMultiplier float64 `json:"learningRateMultiplier,omitempty"` // ForceSendFields is a list of field names (e.g. "AdapterSize") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AdapterSize") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SupervisedHyperParameters) MarshalJSON() ([]byte, error)
func (s *GoogleCloudAiplatformV1SupervisedHyperParameters) UnmarshalJSON(data []byte) error
GoogleCloudAiplatformV1SupervisedTuningDataStats: Tuning data statistics for Supervised Tuning.
type GoogleCloudAiplatformV1SupervisedTuningDataStats struct { // TotalBillableCharacterCount: Output only. Number of billable characters in // the tuning dataset. TotalBillableCharacterCount int64 `json:"totalBillableCharacterCount,omitempty,string"` // TotalTuningCharacterCount: Output only. Number of tuning characters in the // tuning dataset. TotalTuningCharacterCount int64 `json:"totalTuningCharacterCount,omitempty,string"` // TuningDatasetExampleCount: Output only. Number of examples in the tuning // dataset. TuningDatasetExampleCount int64 `json:"tuningDatasetExampleCount,omitempty,string"` // TuningStepCount: Output only. Number of tuning steps for this Tuning Job. TuningStepCount int64 `json:"tuningStepCount,omitempty,string"` // UserDatasetExamples: Output only. Sample user messages in the training // dataset uri. UserDatasetExamples []*GoogleCloudAiplatformV1Content `json:"userDatasetExamples,omitempty"` // UserInputTokenDistribution: Output only. Dataset distributions for the user // input tokens. UserInputTokenDistribution *GoogleCloudAiplatformV1SupervisedTuningDatasetDistribution `json:"userInputTokenDistribution,omitempty"` // UserMessagePerExampleDistribution: Output only. Dataset distributions for // the messages per example. UserMessagePerExampleDistribution *GoogleCloudAiplatformV1SupervisedTuningDatasetDistribution `json:"userMessagePerExampleDistribution,omitempty"` // UserOutputTokenDistribution: Output only. Dataset distributions for the user // output tokens. UserOutputTokenDistribution *GoogleCloudAiplatformV1SupervisedTuningDatasetDistribution `json:"userOutputTokenDistribution,omitempty"` // ForceSendFields is a list of field names (e.g. // "TotalBillableCharacterCount") to unconditionally include in API requests. // By default, fields with empty or default values are omitted from API // requests. See https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields // for more details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "TotalBillableCharacterCount") to // include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SupervisedTuningDataStats) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1SupervisedTuningDatasetDistribution: Dataset distribution for Supervised Tuning.
type GoogleCloudAiplatformV1SupervisedTuningDatasetDistribution struct { // Buckets: Output only. Defines the histogram bucket. Buckets []*GoogleCloudAiplatformV1SupervisedTuningDatasetDistributionDatasetBucket `json:"buckets,omitempty"` // Max: Output only. The maximum of the population values. Max float64 `json:"max,omitempty"` // Mean: Output only. The arithmetic mean of the values in the population. Mean float64 `json:"mean,omitempty"` // Median: Output only. The median of the values in the population. Median float64 `json:"median,omitempty"` // Min: Output only. The minimum of the population values. Min float64 `json:"min,omitempty"` // P5: Output only. The 5th percentile of the values in the population. P5 float64 `json:"p5,omitempty"` // P95: Output only. The 95th percentile of the values in the population. P95 float64 `json:"p95,omitempty"` // Sum: Output only. Sum of a given population of values. Sum int64 `json:"sum,omitempty,string"` // ForceSendFields is a list of field names (e.g. "Buckets") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Buckets") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SupervisedTuningDatasetDistribution) MarshalJSON() ([]byte, error)
func (s *GoogleCloudAiplatformV1SupervisedTuningDatasetDistribution) UnmarshalJSON(data []byte) error
GoogleCloudAiplatformV1SupervisedTuningDatasetDistributionDatasetBucket: Dataset bucket used to create a histogram for the distribution given a population of values.
type GoogleCloudAiplatformV1SupervisedTuningDatasetDistributionDatasetBucket struct { // Count: Output only. Number of values in the bucket. Count float64 `json:"count,omitempty"` // Left: Output only. Left bound of the bucket. Left float64 `json:"left,omitempty"` // Right: Output only. Right bound of the bucket. Right float64 `json:"right,omitempty"` // ForceSendFields is a list of field names (e.g. "Count") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Count") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SupervisedTuningDatasetDistributionDatasetBucket) MarshalJSON() ([]byte, error)
func (s *GoogleCloudAiplatformV1SupervisedTuningDatasetDistributionDatasetBucket) UnmarshalJSON(data []byte) error
GoogleCloudAiplatformV1SupervisedTuningSpec: Tuning Spec for Supervised Tuning.
type GoogleCloudAiplatformV1SupervisedTuningSpec struct { // HyperParameters: Optional. Hyperparameters for SFT. HyperParameters *GoogleCloudAiplatformV1SupervisedHyperParameters `json:"hyperParameters,omitempty"` // TrainingDatasetUri: Required. Cloud Storage path to file containing training // dataset for tuning. The dataset must be formatted as a JSONL file. TrainingDatasetUri string `json:"trainingDatasetUri,omitempty"` // ValidationDatasetUri: Optional. Cloud Storage path to file containing // validation dataset for tuning. The dataset must be formatted as a JSONL // file. ValidationDatasetUri string `json:"validationDatasetUri,omitempty"` // ForceSendFields is a list of field names (e.g. "HyperParameters") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "HyperParameters") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SupervisedTuningSpec) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1SyncFeatureViewRequest: Request message for FeatureOnlineStoreAdminService.SyncFeatureView.
type GoogleCloudAiplatformV1SyncFeatureViewRequest struct { }
GoogleCloudAiplatformV1SyncFeatureViewResponse: Respose message for FeatureOnlineStoreAdminService.SyncFeatureView.
type GoogleCloudAiplatformV1SyncFeatureViewResponse struct { // FeatureViewSync: Format: // `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_ // store}/featureViews/{feature_view}/featureViewSyncs/{feature_view_sync}` FeatureViewSync string `json:"featureViewSync,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "FeatureViewSync") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "FeatureViewSync") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1SyncFeatureViewResponse) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1TFRecordDestination: The storage details for TFRecord output content.
type GoogleCloudAiplatformV1TFRecordDestination struct { // GcsDestination: Required. Google Cloud Storage location. GcsDestination *GoogleCloudAiplatformV1GcsDestination `json:"gcsDestination,omitempty"` // ForceSendFields is a list of field names (e.g. "GcsDestination") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "GcsDestination") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1TFRecordDestination) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1Tensor: A tensor value type.
type GoogleCloudAiplatformV1Tensor struct { // BoolVal: Type specific representations that make it easy to create tensor // protos in all languages. Only the representation corresponding to "dtype" // can be set. The values hold the flattened representation of the tensor in // row major order. BOOL BoolVal []bool `json:"boolVal,omitempty"` // BytesVal: STRING BytesVal []string `json:"bytesVal,omitempty"` // DoubleVal: DOUBLE DoubleVal []float64 `json:"doubleVal,omitempty"` // Dtype: The data type of tensor. // // Possible values: // "DATA_TYPE_UNSPECIFIED" - Not a legal value for DataType. Used to indicate // a DataType field has not been set. // "BOOL" - Data types that all computation devices are expected to be // capable to support. // "STRING" // "FLOAT" // "DOUBLE" // "INT8" // "INT16" // "INT32" // "INT64" // "UINT8" // "UINT16" // "UINT32" // "UINT64" Dtype string `json:"dtype,omitempty"` // FloatVal: FLOAT FloatVal []float64 `json:"floatVal,omitempty"` // Int64Val: INT64 Int64Val googleapi.Int64s `json:"int64Val,omitempty"` // IntVal: INT_8 INT_16 INT_32 IntVal []int64 `json:"intVal,omitempty"` // ListVal: A list of tensor values. ListVal []*GoogleCloudAiplatformV1Tensor `json:"listVal,omitempty"` // Shape: Shape of the tensor. Shape googleapi.Int64s `json:"shape,omitempty"` // StringVal: STRING StringVal []string `json:"stringVal,omitempty"` // StructVal: A map of string to tensor. StructVal map[string]GoogleCloudAiplatformV1Tensor `json:"structVal,omitempty"` // TensorVal: Serialized raw tensor content. TensorVal string `json:"tensorVal,omitempty"` // Uint64Val: UINT64 Uint64Val googleapi.Uint64s `json:"uint64Val,omitempty"` // UintVal: UINT8 UINT16 UINT32 UintVal []int64 `json:"uintVal,omitempty"` // ForceSendFields is a list of field names (e.g. "BoolVal") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BoolVal") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1Tensor) MarshalJSON() ([]byte, error)
func (s *GoogleCloudAiplatformV1Tensor) UnmarshalJSON(data []byte) error
GoogleCloudAiplatformV1Tensorboard: Tensorboard is a physical database that stores users' training metrics. A default Tensorboard is provided in each region of a Google Cloud project. If needed users can also create extra Tensorboards in their projects.
type GoogleCloudAiplatformV1Tensorboard struct { // BlobStoragePathPrefix: Output only. Consumer project Cloud Storage path // prefix used to store blob data, which can either be a bucket or directory. // Does not end with a '/'. BlobStoragePathPrefix string `json:"blobStoragePathPrefix,omitempty"` // CreateTime: Output only. Timestamp when this Tensorboard was created. CreateTime string `json:"createTime,omitempty"` // Description: Description of this Tensorboard. Description string `json:"description,omitempty"` // DisplayName: Required. User provided name of this Tensorboard. DisplayName string `json:"displayName,omitempty"` // EncryptionSpec: Customer-managed encryption key spec for a Tensorboard. If // set, this Tensorboard and all sub-resources of this Tensorboard will be // secured by this key. EncryptionSpec *GoogleCloudAiplatformV1EncryptionSpec `json:"encryptionSpec,omitempty"` // Etag: Used to perform a consistent read-modify-write updates. If not set, a // blind "overwrite" update happens. Etag string `json:"etag,omitempty"` // IsDefault: Used to indicate if the TensorBoard instance is the default one. // Each project & region can have at most one default TensorBoard instance. // Creation of a default TensorBoard instance and updating an existing // TensorBoard instance to be default will mark all other TensorBoard instances // (if any) as non default. IsDefault bool `json:"isDefault,omitempty"` // Labels: The labels with user-defined metadata to organize your Tensorboards. // Label keys and values can be no longer than 64 characters (Unicode // codepoints), can only contain lowercase letters, numeric characters, // underscores and dashes. International characters are allowed. No more than // 64 user labels can be associated with one Tensorboard (System labels are // excluded). See https://goo.gl/xmQnxf for more information and examples of // labels. System reserved label keys are prefixed with // "aiplatform.googleapis.com/" and are immutable. Labels map[string]string `json:"labels,omitempty"` // Name: Output only. Name of the Tensorboard. Format: // `projects/{project}/locations/{location}/tensorboards/{tensorboard}` Name string `json:"name,omitempty"` // RunCount: Output only. The number of Runs stored in this Tensorboard. RunCount int64 `json:"runCount,omitempty"` // UpdateTime: Output only. Timestamp when this Tensorboard was last updated. UpdateTime string `json:"updateTime,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "BlobStoragePathPrefix") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BlobStoragePathPrefix") to // include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1Tensorboard) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1TensorboardBlob: One blob (e.g, image, graph) viewable on a blob metric plot.
type GoogleCloudAiplatformV1TensorboardBlob struct { // Data: Optional. The bytes of the blob is not present unless it's returned by // the ReadTensorboardBlobData endpoint. Data string `json:"data,omitempty"` // Id: Output only. A URI safe key uniquely identifying a blob. Can be used to // locate the blob stored in the Cloud Storage bucket of the consumer project. Id string `json:"id,omitempty"` // ForceSendFields is a list of field names (e.g. "Data") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Data") to include in API requests // with the JSON null value. By default, fields with empty values are omitted // from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1TensorboardBlob) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1TensorboardBlobSequence: One point viewable on a blob metric plot, but mostly just a wrapper message to work around repeated fields can't be used directly within `oneof` fields.
type GoogleCloudAiplatformV1TensorboardBlobSequence struct { // Values: List of blobs contained within the sequence. Values []*GoogleCloudAiplatformV1TensorboardBlob `json:"values,omitempty"` // ForceSendFields is a list of field names (e.g. "Values") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Values") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1TensorboardBlobSequence) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1TensorboardExperiment: A TensorboardExperiment is a group of TensorboardRuns, that are typically the results of a training job run, in a Tensorboard.
type GoogleCloudAiplatformV1TensorboardExperiment struct { // CreateTime: Output only. Timestamp when this TensorboardExperiment was // created. CreateTime string `json:"createTime,omitempty"` // Description: Description of this TensorboardExperiment. Description string `json:"description,omitempty"` // DisplayName: User provided name of this TensorboardExperiment. DisplayName string `json:"displayName,omitempty"` // Etag: Used to perform consistent read-modify-write updates. If not set, a // blind "overwrite" update happens. Etag string `json:"etag,omitempty"` // Labels: The labels with user-defined metadata to organize your // TensorboardExperiment. Label keys and values cannot be longer than 64 // characters (Unicode codepoints), can only contain lowercase letters, numeric // characters, underscores and dashes. International characters are allowed. No // more than 64 user labels can be associated with one Dataset (System labels // are excluded). See https://goo.gl/xmQnxf for more information and examples // of labels. System reserved label keys are prefixed with // `aiplatform.googleapis.com/` and are immutable. The following system labels // exist for each Dataset: * // `aiplatform.googleapis.com/dataset_metadata_schema`: output only. Its value // is the metadata_schema's title. Labels map[string]string `json:"labels,omitempty"` // Name: Output only. Name of the TensorboardExperiment. Format: // `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experimen // ts/{experiment}` Name string `json:"name,omitempty"` // Source: Immutable. Source of the TensorboardExperiment. Example: a custom // training job. Source string `json:"source,omitempty"` // UpdateTime: Output only. Timestamp when this TensorboardExperiment was last // updated. UpdateTime string `json:"updateTime,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "CreateTime") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CreateTime") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1TensorboardExperiment) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1TensorboardRun: TensorboardRun maps to a specific execution of a training job with a given set of hyperparameter values, model definition, dataset, etc
type GoogleCloudAiplatformV1TensorboardRun struct { // CreateTime: Output only. Timestamp when this TensorboardRun was created. CreateTime string `json:"createTime,omitempty"` // Description: Description of this TensorboardRun. Description string `json:"description,omitempty"` // DisplayName: Required. User provided name of this TensorboardRun. This value // must be unique among all TensorboardRuns belonging to the same parent // TensorboardExperiment. DisplayName string `json:"displayName,omitempty"` // Etag: Used to perform a consistent read-modify-write updates. If not set, a // blind "overwrite" update happens. Etag string `json:"etag,omitempty"` // Labels: The labels with user-defined metadata to organize your // TensorboardRuns. This field will be used to filter and visualize Runs in the // Tensorboard UI. For example, a Vertex AI training job can set a label // aiplatform.googleapis.com/training_job_id=xxxxx to all the runs created // within that job. An end user can set a label experiment_id=xxxxx for all the // runs produced in a Jupyter notebook. These runs can be grouped by a label // value and visualized together in the Tensorboard UI. Label keys and values // can be no longer than 64 characters (Unicode codepoints), can only contain // lowercase letters, numeric characters, underscores and dashes. International // characters are allowed. No more than 64 user labels can be associated with // one TensorboardRun (System labels are excluded). See https://goo.gl/xmQnxf // for more information and examples of labels. System reserved label keys are // prefixed with "aiplatform.googleapis.com/" and are immutable. Labels map[string]string `json:"labels,omitempty"` // Name: Output only. Name of the TensorboardRun. Format: // `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experimen // ts/{experiment}/runs/{run}` Name string `json:"name,omitempty"` // UpdateTime: Output only. Timestamp when this TensorboardRun was last // updated. UpdateTime string `json:"updateTime,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "CreateTime") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CreateTime") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1TensorboardRun) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1TensorboardTensor: One point viewable on a tensor metric plot.
type GoogleCloudAiplatformV1TensorboardTensor struct { // Value: Required. Serialized form of // https://github.com/tensorflow/tensorflow/blob/master/tensorflow/core/framework/tensor.proto Value string `json:"value,omitempty"` // VersionNumber: Optional. Version number of TensorProto used to serialize // value. VersionNumber int64 `json:"versionNumber,omitempty"` // ForceSendFields is a list of field names (e.g. "Value") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Value") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1TensorboardTensor) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1TensorboardTimeSeries: TensorboardTimeSeries maps to times series produced in training runs
type GoogleCloudAiplatformV1TensorboardTimeSeries struct { // CreateTime: Output only. Timestamp when this TensorboardTimeSeries was // created. CreateTime string `json:"createTime,omitempty"` // Description: Description of this TensorboardTimeSeries. Description string `json:"description,omitempty"` // DisplayName: Required. User provided name of this TensorboardTimeSeries. // This value should be unique among all TensorboardTimeSeries resources // belonging to the same TensorboardRun resource (parent resource). DisplayName string `json:"displayName,omitempty"` // Etag: Used to perform a consistent read-modify-write updates. If not set, a // blind "overwrite" update happens. Etag string `json:"etag,omitempty"` // Metadata: Output only. Scalar, Tensor, or Blob metadata for this // TensorboardTimeSeries. Metadata *GoogleCloudAiplatformV1TensorboardTimeSeriesMetadata `json:"metadata,omitempty"` // Name: Output only. Name of the TensorboardTimeSeries. Name string `json:"name,omitempty"` // PluginData: Data of the current plugin, with the size limited to 65KB. PluginData string `json:"pluginData,omitempty"` // PluginName: Immutable. Name of the plugin this time series pertain to. Such // as Scalar, Tensor, Blob PluginName string `json:"pluginName,omitempty"` // UpdateTime: Output only. Timestamp when this TensorboardTimeSeries was last // updated. UpdateTime string `json:"updateTime,omitempty"` // ValueType: Required. Immutable. Type of TensorboardTimeSeries value. // // Possible values: // "VALUE_TYPE_UNSPECIFIED" - The value type is unspecified. // "SCALAR" - Used for TensorboardTimeSeries that is a list of scalars. E.g. // accuracy of a model over epochs/time. // "TENSOR" - Used for TensorboardTimeSeries that is a list of tensors. E.g. // histograms of weights of layer in a model over epoch/time. // "BLOB_SEQUENCE" - Used for TensorboardTimeSeries that is a list of blob // sequences. E.g. set of sample images with labels over epochs/time. ValueType string `json:"valueType,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "CreateTime") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CreateTime") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1TensorboardTimeSeries) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1TensorboardTimeSeriesMetadata: Describes metadata for a TensorboardTimeSeries.
type GoogleCloudAiplatformV1TensorboardTimeSeriesMetadata struct { // MaxBlobSequenceLength: Output only. The largest blob sequence length (number // of blobs) of all data points in this time series, if its ValueType is // BLOB_SEQUENCE. MaxBlobSequenceLength int64 `json:"maxBlobSequenceLength,omitempty,string"` // MaxStep: Output only. Max step index of all data points within a // TensorboardTimeSeries. MaxStep int64 `json:"maxStep,omitempty,string"` // MaxWallTime: Output only. Max wall clock timestamp of all data points within // a TensorboardTimeSeries. MaxWallTime string `json:"maxWallTime,omitempty"` // ForceSendFields is a list of field names (e.g. "MaxBlobSequenceLength") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "MaxBlobSequenceLength") to // include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1TensorboardTimeSeriesMetadata) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1ThresholdConfig: The config for feature monitoring threshold.
type GoogleCloudAiplatformV1ThresholdConfig struct { // Value: Specify a threshold value that can trigger the alert. If this // threshold config is for feature distribution distance: 1. For categorical // feature, the distribution distance is calculated by L-inifinity norm. 2. For // numerical feature, the distribution distance is calculated by // Jensen–Shannon divergence. Each feature must have a non-zero threshold if // they need to be monitored. Otherwise no alert will be triggered for that // feature. Value float64 `json:"value,omitempty"` // ForceSendFields is a list of field names (e.g. "Value") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Value") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1ThresholdConfig) MarshalJSON() ([]byte, error)
func (s *GoogleCloudAiplatformV1ThresholdConfig) UnmarshalJSON(data []byte) error
GoogleCloudAiplatformV1TimeSeriesData: All the data stored in a TensorboardTimeSeries.
type GoogleCloudAiplatformV1TimeSeriesData struct { // TensorboardTimeSeriesId: Required. The ID of the TensorboardTimeSeries, // which will become the final component of the TensorboardTimeSeries' resource // name TensorboardTimeSeriesId string `json:"tensorboardTimeSeriesId,omitempty"` // ValueType: Required. Immutable. The value type of this time series. All the // values in this time series data must match this value type. // // Possible values: // "VALUE_TYPE_UNSPECIFIED" - The value type is unspecified. // "SCALAR" - Used for TensorboardTimeSeries that is a list of scalars. E.g. // accuracy of a model over epochs/time. // "TENSOR" - Used for TensorboardTimeSeries that is a list of tensors. E.g. // histograms of weights of layer in a model over epoch/time. // "BLOB_SEQUENCE" - Used for TensorboardTimeSeries that is a list of blob // sequences. E.g. set of sample images with labels over epochs/time. ValueType string `json:"valueType,omitempty"` // Values: Required. Data points in this time series. Values []*GoogleCloudAiplatformV1TimeSeriesDataPoint `json:"values,omitempty"` // ForceSendFields is a list of field names (e.g. "TensorboardTimeSeriesId") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "TensorboardTimeSeriesId") to // include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1TimeSeriesData) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1TimeSeriesDataPoint: A TensorboardTimeSeries data point.
type GoogleCloudAiplatformV1TimeSeriesDataPoint struct { // Blobs: A blob sequence value. Blobs *GoogleCloudAiplatformV1TensorboardBlobSequence `json:"blobs,omitempty"` // Scalar: A scalar value. Scalar *GoogleCloudAiplatformV1Scalar `json:"scalar,omitempty"` // Step: Step index of this data point within the run. Step int64 `json:"step,omitempty,string"` // Tensor: A tensor value. Tensor *GoogleCloudAiplatformV1TensorboardTensor `json:"tensor,omitempty"` // WallTime: Wall clock timestamp when this data point is generated by the end // user. WallTime string `json:"wallTime,omitempty"` // ForceSendFields is a list of field names (e.g. "Blobs") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Blobs") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1TimeSeriesDataPoint) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1TimestampSplit: Assigns input data to training, validation, and test sets based on a provided timestamps. The youngest data pieces are assigned to training set, next to validation set, and the oldest to the test set. Supported only for tabular Datasets.
type GoogleCloudAiplatformV1TimestampSplit struct { // Key: Required. The key is a name of one of the Dataset's data columns. The // values of the key (the values in the column) must be in RFC 3339 `date-time` // format, where `time-offset` = "Z" (e.g. 1985-04-12T23:20:50.52Z). If for a // piece of data the key is not present or has an invalid value, that piece is // ignored by the pipeline. Key string `json:"key,omitempty"` // TestFraction: The fraction of the input data that is to be used to evaluate // the Model. TestFraction float64 `json:"testFraction,omitempty"` // TrainingFraction: The fraction of the input data that is to be used to train // the Model. TrainingFraction float64 `json:"trainingFraction,omitempty"` // ValidationFraction: The fraction of the input data that is to be used to // validate the Model. ValidationFraction float64 `json:"validationFraction,omitempty"` // ForceSendFields is a list of field names (e.g. "Key") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Key") to include in API requests // with the JSON null value. By default, fields with empty values are omitted // from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1TimestampSplit) MarshalJSON() ([]byte, error)
func (s *GoogleCloudAiplatformV1TimestampSplit) UnmarshalJSON(data []byte) error
GoogleCloudAiplatformV1TokensInfo: Tokens info with a list of tokens and the corresponding list of token ids.
type GoogleCloudAiplatformV1TokensInfo struct { // TokenIds: A list of token ids from the input. TokenIds googleapi.Int64s `json:"tokenIds,omitempty"` // Tokens: A list of tokens from the input. Tokens []string `json:"tokens,omitempty"` // ForceSendFields is a list of field names (e.g. "TokenIds") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "TokenIds") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1TokensInfo) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1Tool: Tool details that the model may use to generate response. A `Tool` is a piece of code that enables the system to interact with external systems to perform an action, or set of actions, outside of knowledge and scope of the model. A Tool object should contain exactly one type of Tool (e.g FunctionDeclaration, Retrieval or GoogleSearchRetrieval).
type GoogleCloudAiplatformV1Tool struct { // FunctionDeclarations: Optional. Function tool type. One or more function // declarations to be passed to the model along with the current user query. // Model may decide to call a subset of these functions by populating // FunctionCall in the response. User should provide a FunctionResponse for // each function call in the next turn. Based on the function responses, Model // will generate the final response back to the user. Maximum 64 function // declarations can be provided. FunctionDeclarations []*GoogleCloudAiplatformV1FunctionDeclaration `json:"functionDeclarations,omitempty"` // Retrieval: Optional. Retrieval tool type. System will always execute the // provided retrieval tool(s) to get external knowledge to answer the prompt. // Retrieval results are presented to the model for generation. Retrieval *GoogleCloudAiplatformV1Retrieval `json:"retrieval,omitempty"` // ForceSendFields is a list of field names (e.g. "FunctionDeclarations") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "FunctionDeclarations") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1Tool) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1TrainingConfig: CMLE training config. For every active learning labeling iteration, system will train a machine learning model on CMLE. The trained model will be used by data sampling algorithm to select DataItems.
type GoogleCloudAiplatformV1TrainingConfig struct { // TimeoutTrainingMilliHours: The timeout hours for the CMLE training job, // expressed in milli hours i.e. 1,000 value in this field means 1 hour. TimeoutTrainingMilliHours int64 `json:"timeoutTrainingMilliHours,omitempty,string"` // ForceSendFields is a list of field names (e.g. "TimeoutTrainingMilliHours") // to unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "TimeoutTrainingMilliHours") to // include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1TrainingConfig) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1TrainingPipeline: The TrainingPipeline orchestrates tasks associated with training a Model. It always executes the training task, and optionally may also export data from Vertex AI's Dataset which becomes the training input, upload the Model to Vertex AI, and evaluate the Model.
type GoogleCloudAiplatformV1TrainingPipeline struct { // CreateTime: Output only. Time when the TrainingPipeline was created. CreateTime string `json:"createTime,omitempty"` // DisplayName: Required. The user-defined name of this TrainingPipeline. DisplayName string `json:"displayName,omitempty"` // EncryptionSpec: Customer-managed encryption key spec for a TrainingPipeline. // If set, this TrainingPipeline will be secured by this key. Note: Model // trained by this TrainingPipeline is also secured by this key if // model_to_upload is not set separately. EncryptionSpec *GoogleCloudAiplatformV1EncryptionSpec `json:"encryptionSpec,omitempty"` // EndTime: Output only. Time when the TrainingPipeline entered any of the // following states: `PIPELINE_STATE_SUCCEEDED`, `PIPELINE_STATE_FAILED`, // `PIPELINE_STATE_CANCELLED`. EndTime string `json:"endTime,omitempty"` // Error: Output only. Only populated when the pipeline's state is // `PIPELINE_STATE_FAILED` or `PIPELINE_STATE_CANCELLED`. Error *GoogleRpcStatus `json:"error,omitempty"` // InputDataConfig: Specifies Vertex AI owned input data that may be used for // training the Model. The TrainingPipeline's training_task_definition should // make clear whether this config is used and if there are any special // requirements on how it should be filled. If nothing about this config is // mentioned in the training_task_definition, then it should be assumed that // the TrainingPipeline does not depend on this configuration. InputDataConfig *GoogleCloudAiplatformV1InputDataConfig `json:"inputDataConfig,omitempty"` // Labels: The labels with user-defined metadata to organize TrainingPipelines. // Label keys and values can be no longer than 64 characters (Unicode // codepoints), can only contain lowercase letters, numeric characters, // underscores and dashes. International characters are allowed. See // https://goo.gl/xmQnxf for more information and examples of labels. Labels map[string]string `json:"labels,omitempty"` // ModelId: Optional. The ID to use for the uploaded Model, which will become // the final component of the model resource name. This value may be up to 63 // characters, and valid characters are `[a-z0-9_-]`. The first character // cannot be a number or hyphen. ModelId string `json:"modelId,omitempty"` // ModelToUpload: Describes the Model that may be uploaded (via // ModelService.UploadModel) by this TrainingPipeline. The TrainingPipeline's // training_task_definition should make clear whether this Model description // should be populated, and if there are any special requirements regarding how // it should be filled. If nothing is mentioned in the // training_task_definition, then it should be assumed that this field should // not be filled and the training task either uploads the Model without a need // of this information, or that training task does not support uploading a // Model as part of the pipeline. When the Pipeline's state becomes // `PIPELINE_STATE_SUCCEEDED` and the trained Model had been uploaded into // Vertex AI, then the model_to_upload's resource name is populated. The Model // is always uploaded into the Project and Location in which this pipeline is. ModelToUpload *GoogleCloudAiplatformV1Model `json:"modelToUpload,omitempty"` // Name: Output only. Resource name of the TrainingPipeline. Name string `json:"name,omitempty"` // ParentModel: Optional. When specify this field, the `model_to_upload` will // not be uploaded as a new model, instead, it will become a new version of // this `parent_model`. ParentModel string `json:"parentModel,omitempty"` // StartTime: Output only. Time when the TrainingPipeline for the first time // entered the `PIPELINE_STATE_RUNNING` state. StartTime string `json:"startTime,omitempty"` // State: Output only. The detailed state of the pipeline. // // Possible values: // "PIPELINE_STATE_UNSPECIFIED" - The pipeline state is unspecified. // "PIPELINE_STATE_QUEUED" - The pipeline has been created or resumed, and // processing has not yet begun. // "PIPELINE_STATE_PENDING" - The service is preparing to run the pipeline. // "PIPELINE_STATE_RUNNING" - The pipeline is in progress. // "PIPELINE_STATE_SUCCEEDED" - The pipeline completed successfully. // "PIPELINE_STATE_FAILED" - The pipeline failed. // "PIPELINE_STATE_CANCELLING" - The pipeline is being cancelled. From this // state, the pipeline may only go to either PIPELINE_STATE_SUCCEEDED, // PIPELINE_STATE_FAILED or PIPELINE_STATE_CANCELLED. // "PIPELINE_STATE_CANCELLED" - The pipeline has been cancelled. // "PIPELINE_STATE_PAUSED" - The pipeline has been stopped, and can be // resumed. State string `json:"state,omitempty"` // TrainingTaskDefinition: Required. A Google Cloud Storage path to the YAML // file that defines the training task which is responsible for producing the // model artifact, and may also include additional auxiliary work. The // definition files that can be used here are found in // gs://google-cloud-aiplatform/schema/trainingjob/definition/. Note: The URI // given on output will be immutable and probably different, including the URI // scheme, than the one given on input. The output URI will point to a location // where the user only has a read access. TrainingTaskDefinition string `json:"trainingTaskDefinition,omitempty"` // TrainingTaskInputs: Required. The training task's parameter(s), as specified // in the training_task_definition's `inputs`. TrainingTaskInputs interface{} `json:"trainingTaskInputs,omitempty"` // TrainingTaskMetadata: Output only. The metadata information as specified in // the training_task_definition's `metadata`. This metadata is an auxiliary // runtime and final information about the training task. While the pipeline is // running this information is populated only at a best effort basis. Only // present if the pipeline's training_task_definition contains `metadata` // object. TrainingTaskMetadata interface{} `json:"trainingTaskMetadata,omitempty"` // UpdateTime: Output only. Time when the TrainingPipeline was most recently // updated. UpdateTime string `json:"updateTime,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "CreateTime") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CreateTime") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1TrainingPipeline) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1Trial: A message representing a Trial. A Trial contains a unique set of Parameters that has been or will be evaluated, along with the objective metrics got by running the Trial.
type GoogleCloudAiplatformV1Trial struct { // ClientId: Output only. The identifier of the client that originally // requested this Trial. Each client is identified by a unique client_id. When // a client asks for a suggestion, Vertex AI Vizier will assign it a Trial. The // client should evaluate the Trial, complete it, and report back to Vertex AI // Vizier. If suggestion is asked again by same client_id before the Trial is // completed, the same Trial will be returned. Multiple clients with different // client_ids can ask for suggestions simultaneously, each of them will get // their own Trial. ClientId string `json:"clientId,omitempty"` // CustomJob: Output only. The CustomJob name linked to the Trial. It's set for // a HyperparameterTuningJob's Trial. CustomJob string `json:"customJob,omitempty"` // EndTime: Output only. Time when the Trial's status changed to `SUCCEEDED` or // `INFEASIBLE`. EndTime string `json:"endTime,omitempty"` // FinalMeasurement: Output only. The final measurement containing the // objective value. FinalMeasurement *GoogleCloudAiplatformV1Measurement `json:"finalMeasurement,omitempty"` // Id: Output only. The identifier of the Trial assigned by the service. Id string `json:"id,omitempty"` // InfeasibleReason: Output only. A human readable string describing why the // Trial is infeasible. This is set only if Trial state is `INFEASIBLE`. InfeasibleReason string `json:"infeasibleReason,omitempty"` // Measurements: Output only. A list of measurements that are strictly // lexicographically ordered by their induced tuples (steps, elapsed_duration). // These are used for early stopping computations. Measurements []*GoogleCloudAiplatformV1Measurement `json:"measurements,omitempty"` // Name: Output only. Resource name of the Trial assigned by the service. Name string `json:"name,omitempty"` // Parameters: Output only. The parameters of the Trial. Parameters []*GoogleCloudAiplatformV1TrialParameter `json:"parameters,omitempty"` // StartTime: Output only. Time when the Trial was started. StartTime string `json:"startTime,omitempty"` // State: Output only. The detailed state of the Trial. // // Possible values: // "STATE_UNSPECIFIED" - The Trial state is unspecified. // "REQUESTED" - Indicates that a specific Trial has been requested, but it // has not yet been suggested by the service. // "ACTIVE" - Indicates that the Trial has been suggested. // "STOPPING" - Indicates that the Trial should stop according to the // service. // "SUCCEEDED" - Indicates that the Trial is completed successfully. // "INFEASIBLE" - Indicates that the Trial should not be attempted again. The // service will set a Trial to INFEASIBLE when it's done but missing the // final_measurement. State string `json:"state,omitempty"` // WebAccessUris: Output only. URIs for accessing interactive shells // (https://cloud.google.com/vertex-ai/docs/training/monitor-debug-interactive-shell) // (one URI for each training node). Only available if this trial is part of a // HyperparameterTuningJob and the job's trial_job_spec.enable_web_access field // is `true`. The keys are names of each node used for the trial; for example, // `workerpool0-0` for the primary node, `workerpool1-0` for the first node in // the second worker pool, and `workerpool1-1` for the second node in the // second worker pool. The values are the URIs for each node's interactive // shell. WebAccessUris map[string]string `json:"webAccessUris,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "ClientId") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ClientId") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1Trial) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1TrialContext: Next ID: 3
type GoogleCloudAiplatformV1TrialContext struct { // Description: A human-readable field which can store a description of this // context. This will become part of the resulting Trial's description field. Description string `json:"description,omitempty"` // Parameters: If/when a Trial is generated or selected from this Context, its // Parameters will match any parameters specified here. (I.e. if this context // specifies parameter name:'a' int_value:3, then a resulting Trial will have // int_value:3 for its parameter named 'a'.) Note that we first attempt to // match existing REQUESTED Trials with contexts, and if there are no matches, // we generate suggestions in the subspace defined by the parameters specified // here. NOTE: a Context without any Parameters matches the entire feasible // search space. Parameters []*GoogleCloudAiplatformV1TrialParameter `json:"parameters,omitempty"` // ForceSendFields is a list of field names (e.g. "Description") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Description") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1TrialContext) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1TrialParameter: A message representing a parameter to be tuned.
type GoogleCloudAiplatformV1TrialParameter struct { // ParameterId: Output only. The ID of the parameter. The parameter should be // defined in StudySpec's Parameters. ParameterId string `json:"parameterId,omitempty"` // Value: Output only. The value of the parameter. `number_value` will be set // if a parameter defined in StudySpec is in type 'INTEGER', 'DOUBLE' or // 'DISCRETE'. `string_value` will be set if a parameter defined in StudySpec // is in type 'CATEGORICAL'. Value interface{} `json:"value,omitempty"` // ForceSendFields is a list of field names (e.g. "ParameterId") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ParameterId") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1TrialParameter) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1TunedModel: The Model Registry Model and Online Prediction Endpoint assiociated with this TuningJob.
type GoogleCloudAiplatformV1TunedModel struct { // Endpoint: Output only. A resource name of an Endpoint. Format: // `projects/{project}/locations/{location}/endpoints/{endpoint}`. Endpoint string `json:"endpoint,omitempty"` // Model: Output only. The resource name of the TunedModel. Format: // `projects/{project}/locations/{location}/models/{model}`. Model string `json:"model,omitempty"` // ForceSendFields is a list of field names (e.g. "Endpoint") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Endpoint") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1TunedModel) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1TuningDataStats: The tuning data statistic values for TuningJob.
type GoogleCloudAiplatformV1TuningDataStats struct { // SupervisedTuningDataStats: The SFT Tuning data stats. SupervisedTuningDataStats *GoogleCloudAiplatformV1SupervisedTuningDataStats `json:"supervisedTuningDataStats,omitempty"` // ForceSendFields is a list of field names (e.g. "SupervisedTuningDataStats") // to unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "SupervisedTuningDataStats") to // include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1TuningDataStats) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1TuningJob: Represents a TuningJob that runs with Google owned models.
type GoogleCloudAiplatformV1TuningJob struct { // BaseModel: The base model that is being tuned, e.g., "gemini-1.0-pro-002". BaseModel string `json:"baseModel,omitempty"` // CreateTime: Output only. Time when the TuningJob was created. CreateTime string `json:"createTime,omitempty"` // Description: Optional. The description of the TuningJob. Description string `json:"description,omitempty"` // EncryptionSpec: Customer-managed encryption key options for a TuningJob. If // this is set, then all resources created by the TuningJob will be encrypted // with the provided encryption key. EncryptionSpec *GoogleCloudAiplatformV1EncryptionSpec `json:"encryptionSpec,omitempty"` // EndTime: Output only. Time when the TuningJob entered any of the following // JobStates: `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED`, `JOB_STATE_CANCELLED`, // `JOB_STATE_EXPIRED`. EndTime string `json:"endTime,omitempty"` // Error: Output only. Only populated when job's state is `JOB_STATE_FAILED` or // `JOB_STATE_CANCELLED`. Error *GoogleRpcStatus `json:"error,omitempty"` // Experiment: Output only. The Experiment associated with this TuningJob. Experiment string `json:"experiment,omitempty"` // Labels: Optional. The labels with user-defined metadata to organize // TuningJob and generated resources such as Model and Endpoint. Label keys and // values can be no longer than 64 characters (Unicode codepoints), can only // contain lowercase letters, numeric characters, underscores and dashes. // International characters are allowed. See https://goo.gl/xmQnxf for more // information and examples of labels. Labels map[string]string `json:"labels,omitempty"` // Name: Output only. Identifier. Resource name of a TuningJob. Format: // `projects/{project}/locations/{location}/tuningJobs/{tuning_job}` Name string `json:"name,omitempty"` // StartTime: Output only. Time when the TuningJob for the first time entered // the `JOB_STATE_RUNNING` state. StartTime string `json:"startTime,omitempty"` // State: Output only. The detailed state of the job. // // Possible values: // "JOB_STATE_UNSPECIFIED" - The job state is unspecified. // "JOB_STATE_QUEUED" - The job has been just created or resumed and // processing has not yet begun. // "JOB_STATE_PENDING" - The service is preparing to run the job. // "JOB_STATE_RUNNING" - The job is in progress. // "JOB_STATE_SUCCEEDED" - The job completed successfully. // "JOB_STATE_FAILED" - The job failed. // "JOB_STATE_CANCELLING" - The job is being cancelled. From this state the // job may only go to either `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED` or // `JOB_STATE_CANCELLED`. // "JOB_STATE_CANCELLED" - The job has been cancelled. // "JOB_STATE_PAUSED" - The job has been stopped, and can be resumed. // "JOB_STATE_EXPIRED" - The job has expired. // "JOB_STATE_UPDATING" - The job is being updated. Only jobs in the // `RUNNING` state can be updated. After updating, the job goes back to the // `RUNNING` state. // "JOB_STATE_PARTIALLY_SUCCEEDED" - The job is partially succeeded, some // results may be missing due to errors. State string `json:"state,omitempty"` // SupervisedTuningSpec: Tuning Spec for Supervised Fine Tuning. SupervisedTuningSpec *GoogleCloudAiplatformV1SupervisedTuningSpec `json:"supervisedTuningSpec,omitempty"` // TunedModel: Output only. The tuned model resources assiociated with this // TuningJob. TunedModel *GoogleCloudAiplatformV1TunedModel `json:"tunedModel,omitempty"` // TunedModelDisplayName: Optional. The display name of the TunedModel. The // name can be up to 128 characters long and can consist of any UTF-8 // characters. TunedModelDisplayName string `json:"tunedModelDisplayName,omitempty"` // TuningDataStats: Output only. The tuning data statistics associated with // this TuningJob. TuningDataStats *GoogleCloudAiplatformV1TuningDataStats `json:"tuningDataStats,omitempty"` // UpdateTime: Output only. Time when the TuningJob was most recently updated. UpdateTime string `json:"updateTime,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "BaseModel") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BaseModel") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1TuningJob) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1UndeployIndexOperationMetadata: Runtime operation information for IndexEndpointService.UndeployIndex.
type GoogleCloudAiplatformV1UndeployIndexOperationMetadata struct { // GenericMetadata: The operation generic information. GenericMetadata *GoogleCloudAiplatformV1GenericOperationMetadata `json:"genericMetadata,omitempty"` // ForceSendFields is a list of field names (e.g. "GenericMetadata") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "GenericMetadata") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1UndeployIndexOperationMetadata) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1UndeployIndexRequest: Request message for IndexEndpointService.UndeployIndex.
type GoogleCloudAiplatformV1UndeployIndexRequest struct { // DeployedIndexId: Required. The ID of the DeployedIndex to be undeployed from // the IndexEndpoint. DeployedIndexId string `json:"deployedIndexId,omitempty"` // ForceSendFields is a list of field names (e.g. "DeployedIndexId") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DeployedIndexId") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1UndeployIndexRequest) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1UndeployIndexResponse: Response message for IndexEndpointService.UndeployIndex.
type GoogleCloudAiplatformV1UndeployIndexResponse struct { }
GoogleCloudAiplatformV1UndeployModelOperationMetadata: Runtime operation information for EndpointService.UndeployModel.
type GoogleCloudAiplatformV1UndeployModelOperationMetadata struct { // GenericMetadata: The operation generic information. GenericMetadata *GoogleCloudAiplatformV1GenericOperationMetadata `json:"genericMetadata,omitempty"` // ForceSendFields is a list of field names (e.g. "GenericMetadata") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "GenericMetadata") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1UndeployModelOperationMetadata) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1UndeployModelRequest: Request message for EndpointService.UndeployModel.
type GoogleCloudAiplatformV1UndeployModelRequest struct { // DeployedModelId: Required. The ID of the DeployedModel to be undeployed from // the Endpoint. DeployedModelId string `json:"deployedModelId,omitempty"` // TrafficSplit: If this field is provided, then the Endpoint's traffic_split // will be overwritten with it. If last DeployedModel is being undeployed from // the Endpoint, the [Endpoint.traffic_split] will always end up empty when // this call returns. A DeployedModel will be successfully undeployed only if // it doesn't have any traffic assigned to it when this method executes, or if // this field unassigns any traffic to it. TrafficSplit map[string]int64 `json:"trafficSplit,omitempty"` // ForceSendFields is a list of field names (e.g. "DeployedModelId") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DeployedModelId") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1UndeployModelRequest) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1UndeployModelResponse: Response message for EndpointService.UndeployModel.
type GoogleCloudAiplatformV1UndeployModelResponse struct { }
GoogleCloudAiplatformV1UnmanagedContainerModel: Contains model information necessary to perform batch prediction without requiring a full model import.
type GoogleCloudAiplatformV1UnmanagedContainerModel struct { // ArtifactUri: The path to the directory containing the Model artifact and any // of its supporting files. ArtifactUri string `json:"artifactUri,omitempty"` // ContainerSpec: Input only. The specification of the container that is to be // used when deploying this Model. ContainerSpec *GoogleCloudAiplatformV1ModelContainerSpec `json:"containerSpec,omitempty"` // PredictSchemata: Contains the schemata used in Model's predictions and // explanations PredictSchemata *GoogleCloudAiplatformV1PredictSchemata `json:"predictSchemata,omitempty"` // ForceSendFields is a list of field names (e.g. "ArtifactUri") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ArtifactUri") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1UnmanagedContainerModel) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1UpdateDeploymentResourcePoolOperationMetadata: Runtime operation information for UpdateDeploymentResourcePool method.
type GoogleCloudAiplatformV1UpdateDeploymentResourcePoolOperationMetadata struct { // GenericMetadata: The operation generic information. GenericMetadata *GoogleCloudAiplatformV1GenericOperationMetadata `json:"genericMetadata,omitempty"` // ForceSendFields is a list of field names (e.g. "GenericMetadata") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "GenericMetadata") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1UpdateDeploymentResourcePoolOperationMetadata) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1UpdateExplanationDatasetOperationMetadata: Runtime operation information for ModelService.UpdateExplanationDataset.
type GoogleCloudAiplatformV1UpdateExplanationDatasetOperationMetadata struct { // GenericMetadata: The common part of the operation metadata. GenericMetadata *GoogleCloudAiplatformV1GenericOperationMetadata `json:"genericMetadata,omitempty"` // ForceSendFields is a list of field names (e.g. "GenericMetadata") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "GenericMetadata") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1UpdateExplanationDatasetOperationMetadata) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1UpdateExplanationDatasetRequest: Request message for ModelService.UpdateExplanationDataset.
type GoogleCloudAiplatformV1UpdateExplanationDatasetRequest struct { // Examples: The example config containing the location of the dataset. Examples *GoogleCloudAiplatformV1Examples `json:"examples,omitempty"` // ForceSendFields is a list of field names (e.g. "Examples") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Examples") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1UpdateExplanationDatasetRequest) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1UpdateExplanationDatasetResponse: Response message of ModelService.UpdateExplanationDataset operation.
type GoogleCloudAiplatformV1UpdateExplanationDatasetResponse struct { }
GoogleCloudAiplatformV1UpdateFeatureGroupOperationMetadata: Details of operations that perform update FeatureGroup.
type GoogleCloudAiplatformV1UpdateFeatureGroupOperationMetadata struct { // GenericMetadata: Operation metadata for FeatureGroup. GenericMetadata *GoogleCloudAiplatformV1GenericOperationMetadata `json:"genericMetadata,omitempty"` // ForceSendFields is a list of field names (e.g. "GenericMetadata") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "GenericMetadata") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1UpdateFeatureGroupOperationMetadata) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1UpdateFeatureOnlineStoreOperationMetadata: Details of operations that perform update FeatureOnlineStore.
type GoogleCloudAiplatformV1UpdateFeatureOnlineStoreOperationMetadata struct { // GenericMetadata: Operation metadata for FeatureOnlineStore. GenericMetadata *GoogleCloudAiplatformV1GenericOperationMetadata `json:"genericMetadata,omitempty"` // ForceSendFields is a list of field names (e.g. "GenericMetadata") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "GenericMetadata") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1UpdateFeatureOnlineStoreOperationMetadata) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1UpdateFeatureOperationMetadata: Details of operations that perform update Feature.
type GoogleCloudAiplatformV1UpdateFeatureOperationMetadata struct { // GenericMetadata: Operation metadata for Feature Update. GenericMetadata *GoogleCloudAiplatformV1GenericOperationMetadata `json:"genericMetadata,omitempty"` // ForceSendFields is a list of field names (e.g. "GenericMetadata") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "GenericMetadata") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1UpdateFeatureOperationMetadata) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1UpdateFeatureViewOperationMetadata: Details of operations that perform update FeatureView.
type GoogleCloudAiplatformV1UpdateFeatureViewOperationMetadata struct { // GenericMetadata: Operation metadata for FeatureView Update. GenericMetadata *GoogleCloudAiplatformV1GenericOperationMetadata `json:"genericMetadata,omitempty"` // ForceSendFields is a list of field names (e.g. "GenericMetadata") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "GenericMetadata") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1UpdateFeatureViewOperationMetadata) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1UpdateFeaturestoreOperationMetadata: Details of operations that perform update Featurestore.
type GoogleCloudAiplatformV1UpdateFeaturestoreOperationMetadata struct { // GenericMetadata: Operation metadata for Featurestore. GenericMetadata *GoogleCloudAiplatformV1GenericOperationMetadata `json:"genericMetadata,omitempty"` // ForceSendFields is a list of field names (e.g. "GenericMetadata") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "GenericMetadata") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1UpdateFeaturestoreOperationMetadata) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1UpdateIndexOperationMetadata: Runtime operation information for IndexService.UpdateIndex.
type GoogleCloudAiplatformV1UpdateIndexOperationMetadata struct { // GenericMetadata: The operation generic information. GenericMetadata *GoogleCloudAiplatformV1GenericOperationMetadata `json:"genericMetadata,omitempty"` // NearestNeighborSearchOperationMetadata: The operation metadata with regard // to Matching Engine Index operation. NearestNeighborSearchOperationMetadata *GoogleCloudAiplatformV1NearestNeighborSearchOperationMetadata `json:"nearestNeighborSearchOperationMetadata,omitempty"` // ForceSendFields is a list of field names (e.g. "GenericMetadata") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "GenericMetadata") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1UpdateIndexOperationMetadata) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1UpdateModelDeploymentMonitoringJobOperationMetadata: Runtime operation information for JobService.UpdateModelDeploymentMonitoringJob.
type GoogleCloudAiplatformV1UpdateModelDeploymentMonitoringJobOperationMetadata struct { // GenericMetadata: The operation generic information. GenericMetadata *GoogleCloudAiplatformV1GenericOperationMetadata `json:"genericMetadata,omitempty"` // ForceSendFields is a list of field names (e.g. "GenericMetadata") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "GenericMetadata") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1UpdateModelDeploymentMonitoringJobOperationMetadata) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1UpdatePersistentResourceOperationMetadata: Details of operations that perform update PersistentResource.
type GoogleCloudAiplatformV1UpdatePersistentResourceOperationMetadata struct { // GenericMetadata: Operation metadata for PersistentResource. GenericMetadata *GoogleCloudAiplatformV1GenericOperationMetadata `json:"genericMetadata,omitempty"` // ProgressMessage: Progress Message for Update LRO ProgressMessage string `json:"progressMessage,omitempty"` // ForceSendFields is a list of field names (e.g. "GenericMetadata") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "GenericMetadata") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1UpdatePersistentResourceOperationMetadata) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1UpdateSpecialistPoolOperationMetadata: Runtime operation metadata for SpecialistPoolService.UpdateSpecialistPool.
type GoogleCloudAiplatformV1UpdateSpecialistPoolOperationMetadata struct { // GenericMetadata: The operation generic information. GenericMetadata *GoogleCloudAiplatformV1GenericOperationMetadata `json:"genericMetadata,omitempty"` // SpecialistPool: Output only. The name of the SpecialistPool to which the // specialists are being added. Format: // `projects/{project_id}/locations/{location_id}/specialistPools/{specialist_po // ol}` SpecialistPool string `json:"specialistPool,omitempty"` // ForceSendFields is a list of field names (e.g. "GenericMetadata") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "GenericMetadata") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1UpdateSpecialistPoolOperationMetadata) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1UpdateTensorboardOperationMetadata: Details of operations that perform update Tensorboard.
type GoogleCloudAiplatformV1UpdateTensorboardOperationMetadata struct { // GenericMetadata: Operation metadata for Tensorboard. GenericMetadata *GoogleCloudAiplatformV1GenericOperationMetadata `json:"genericMetadata,omitempty"` // ForceSendFields is a list of field names (e.g. "GenericMetadata") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "GenericMetadata") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1UpdateTensorboardOperationMetadata) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1UpgradeNotebookRuntimeOperationMetadata: Metadata information for NotebookService.UpgradeNotebookRuntime.
type GoogleCloudAiplatformV1UpgradeNotebookRuntimeOperationMetadata struct { // GenericMetadata: The operation generic information. GenericMetadata *GoogleCloudAiplatformV1GenericOperationMetadata `json:"genericMetadata,omitempty"` // ProgressMessage: A human-readable message that shows the intermediate // progress details of NotebookRuntime. ProgressMessage string `json:"progressMessage,omitempty"` // ForceSendFields is a list of field names (e.g. "GenericMetadata") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "GenericMetadata") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1UpgradeNotebookRuntimeOperationMetadata) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1UpgradeNotebookRuntimeRequest: Request message for NotebookService.UpgradeNotebookRuntime.
type GoogleCloudAiplatformV1UpgradeNotebookRuntimeRequest struct { }
GoogleCloudAiplatformV1UploadModelOperationMetadata: Details of ModelService.UploadModel operation.
type GoogleCloudAiplatformV1UploadModelOperationMetadata struct { // GenericMetadata: The common part of the operation metadata. GenericMetadata *GoogleCloudAiplatformV1GenericOperationMetadata `json:"genericMetadata,omitempty"` // ForceSendFields is a list of field names (e.g. "GenericMetadata") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "GenericMetadata") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1UploadModelOperationMetadata) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1UploadModelRequest: Request message for ModelService.UploadModel.
type GoogleCloudAiplatformV1UploadModelRequest struct { // Model: Required. The Model to create. Model *GoogleCloudAiplatformV1Model `json:"model,omitempty"` // ModelId: Optional. The ID to use for the uploaded Model, which will become // the final component of the model resource name. This value may be up to 63 // characters, and valid characters are `[a-z0-9_-]`. The first character // cannot be a number or hyphen. ModelId string `json:"modelId,omitempty"` // ParentModel: Optional. The resource name of the model into which to upload // the version. Only specify this field when uploading a new version. ParentModel string `json:"parentModel,omitempty"` // ServiceAccount: Optional. The user-provided custom service account to use to // do the model upload. If empty, Vertex AI Service Agent // (https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents) // will be used to access resources needed to upload the model. This account // must belong to the target project where the model is uploaded to, i.e., the // project specified in the `parent` field of this request and have necessary // read permissions (to Google Cloud Storage, Artifact Registry, etc.). ServiceAccount string `json:"serviceAccount,omitempty"` // ForceSendFields is a list of field names (e.g. "Model") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Model") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1UploadModelRequest) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1UploadModelResponse: Response message of ModelService.UploadModel operation.
type GoogleCloudAiplatformV1UploadModelResponse struct { // Model: The name of the uploaded Model resource. Format: // `projects/{project}/locations/{location}/models/{model}` Model string `json:"model,omitempty"` // ModelVersionId: Output only. The version ID of the model that is uploaded. ModelVersionId string `json:"modelVersionId,omitempty"` // ForceSendFields is a list of field names (e.g. "Model") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Model") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1UploadModelResponse) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1UpsertDatapointsRequest: Request message for IndexService.UpsertDatapoints
type GoogleCloudAiplatformV1UpsertDatapointsRequest struct { // Datapoints: A list of datapoints to be created/updated. Datapoints []*GoogleCloudAiplatformV1IndexDatapoint `json:"datapoints,omitempty"` // UpdateMask: Optional. Update mask is used to specify the fields to be // overwritten in the datapoints by the update. The fields specified in the // update_mask are relative to each IndexDatapoint inside datapoints, not the // full request. Updatable fields: * Use `all_restricts` to update both // restricts and numeric_restricts. UpdateMask string `json:"updateMask,omitempty"` // ForceSendFields is a list of field names (e.g. "Datapoints") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Datapoints") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1UpsertDatapointsRequest) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1UpsertDatapointsResponse: Response message for IndexService.UpsertDatapoints
type GoogleCloudAiplatformV1UpsertDatapointsResponse struct { // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` }
GoogleCloudAiplatformV1UserActionReference: References an API call. It contains more information about long running operation and Jobs that are triggered by the API call.
type GoogleCloudAiplatformV1UserActionReference struct { // DataLabelingJob: For API calls that start a LabelingJob. Resource name of // the LabelingJob. Format: // `projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job} // ` DataLabelingJob string `json:"dataLabelingJob,omitempty"` // Method: The method name of the API RPC call. For example, // "/google.cloud.aiplatform.{apiVersion}.DatasetService.CreateDataset" Method string `json:"method,omitempty"` // Operation: For API calls that return a long running operation. Resource name // of the long running operation. Format: // `projects/{project}/locations/{location}/operations/{operation}` Operation string `json:"operation,omitempty"` // ForceSendFields is a list of field names (e.g. "DataLabelingJob") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DataLabelingJob") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1UserActionReference) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1Value: Value is the value of the field.
type GoogleCloudAiplatformV1Value struct { // DoubleValue: A double value. DoubleValue float64 `json:"doubleValue,omitempty"` // IntValue: An integer value. IntValue int64 `json:"intValue,omitempty,string"` // StringValue: A string value. StringValue string `json:"stringValue,omitempty"` // ForceSendFields is a list of field names (e.g. "DoubleValue") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DoubleValue") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1Value) MarshalJSON() ([]byte, error)
func (s *GoogleCloudAiplatformV1Value) UnmarshalJSON(data []byte) error
GoogleCloudAiplatformV1VertexAISearch: Retrieve from Vertex AI Search datastore for grounding. See https://cloud.google.com/vertex-ai-search-and-conversation
type GoogleCloudAiplatformV1VertexAISearch struct { // Datastore: Required. Fully-qualified Vertex AI Search's datastore resource // ID. Format: // `projects/{project}/locations/{location}/collections/{collection}/dataStores/ // {dataStore}` Datastore string `json:"datastore,omitempty"` // ForceSendFields is a list of field names (e.g. "Datastore") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Datastore") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1VertexAISearch) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1VideoMetadata: Metadata describes the input video content.
type GoogleCloudAiplatformV1VideoMetadata struct { // EndOffset: Optional. The end offset of the video. EndOffset string `json:"endOffset,omitempty"` // StartOffset: Optional. The start offset of the video. StartOffset string `json:"startOffset,omitempty"` // ForceSendFields is a list of field names (e.g. "EndOffset") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "EndOffset") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1VideoMetadata) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1WorkerPoolSpec: Represents the spec of a worker pool in a job.
type GoogleCloudAiplatformV1WorkerPoolSpec struct { // ContainerSpec: The custom container task. ContainerSpec *GoogleCloudAiplatformV1ContainerSpec `json:"containerSpec,omitempty"` // DiskSpec: Disk spec. DiskSpec *GoogleCloudAiplatformV1DiskSpec `json:"diskSpec,omitempty"` // MachineSpec: Optional. Immutable. The specification of a single machine. MachineSpec *GoogleCloudAiplatformV1MachineSpec `json:"machineSpec,omitempty"` // NfsMounts: Optional. List of NFS mount spec. NfsMounts []*GoogleCloudAiplatformV1NfsMount `json:"nfsMounts,omitempty"` // PythonPackageSpec: The Python packaged task. PythonPackageSpec *GoogleCloudAiplatformV1PythonPackageSpec `json:"pythonPackageSpec,omitempty"` // ReplicaCount: Optional. The number of worker replicas to use for this worker // pool. ReplicaCount int64 `json:"replicaCount,omitempty,string"` // ForceSendFields is a list of field names (e.g. "ContainerSpec") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ContainerSpec") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1WorkerPoolSpec) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1WriteFeatureValuesPayload: Contains Feature values to be written for a specific entity.
type GoogleCloudAiplatformV1WriteFeatureValuesPayload struct { // EntityId: Required. The ID of the entity. EntityId string `json:"entityId,omitempty"` // FeatureValues: Required. Feature values to be written, mapping from Feature // ID to value. Up to 100,000 `feature_values` entries may be written across // all payloads. The feature generation time, aligned by days, must be no older // than five years (1825 days) and no later than one year (366 days) in the // future. FeatureValues map[string]GoogleCloudAiplatformV1FeatureValue `json:"featureValues,omitempty"` // ForceSendFields is a list of field names (e.g. "EntityId") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "EntityId") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1WriteFeatureValuesPayload) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1WriteFeatureValuesRequest: Request message for FeaturestoreOnlineServingService.WriteFeatureValues.
type GoogleCloudAiplatformV1WriteFeatureValuesRequest struct { // Payloads: Required. The entities to be written. Up to 100,000 feature values // can be written across all `payloads`. Payloads []*GoogleCloudAiplatformV1WriteFeatureValuesPayload `json:"payloads,omitempty"` // ForceSendFields is a list of field names (e.g. "Payloads") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Payloads") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1WriteFeatureValuesRequest) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1WriteFeatureValuesResponse: Response message for FeaturestoreOnlineServingService.WriteFeatureValues.
type GoogleCloudAiplatformV1WriteFeatureValuesResponse struct { // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` }
GoogleCloudAiplatformV1WriteTensorboardExperimentDataRequest: Request message for TensorboardService.WriteTensorboardExperimentData.
type GoogleCloudAiplatformV1WriteTensorboardExperimentDataRequest struct { // WriteRunDataRequests: Required. Requests containing per-run // TensorboardTimeSeries data to write. WriteRunDataRequests []*GoogleCloudAiplatformV1WriteTensorboardRunDataRequest `json:"writeRunDataRequests,omitempty"` // ForceSendFields is a list of field names (e.g. "WriteRunDataRequests") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "WriteRunDataRequests") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1WriteTensorboardExperimentDataRequest) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1WriteTensorboardExperimentDataResponse: Response message for TensorboardService.WriteTensorboardExperimentData.
type GoogleCloudAiplatformV1WriteTensorboardExperimentDataResponse struct { // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` }
GoogleCloudAiplatformV1WriteTensorboardRunDataRequest: Request message for TensorboardService.WriteTensorboardRunData.
type GoogleCloudAiplatformV1WriteTensorboardRunDataRequest struct { // TensorboardRun: Required. The resource name of the TensorboardRun to write // data to. Format: // `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experimen // ts/{experiment}/runs/{run}` TensorboardRun string `json:"tensorboardRun,omitempty"` // TimeSeriesData: Required. The TensorboardTimeSeries data to write. Values // with in a time series are indexed by their step value. Repeated writes to // the same step will overwrite the existing value for that step. The upper // limit of data points per write request is 5000. TimeSeriesData []*GoogleCloudAiplatformV1TimeSeriesData `json:"timeSeriesData,omitempty"` // ForceSendFields is a list of field names (e.g. "TensorboardRun") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "TensorboardRun") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1WriteTensorboardRunDataRequest) MarshalJSON() ([]byte, error)
GoogleCloudAiplatformV1WriteTensorboardRunDataResponse: Response message for TensorboardService.WriteTensorboardRunData.
type GoogleCloudAiplatformV1WriteTensorboardRunDataResponse struct { // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` }
GoogleCloudAiplatformV1XraiAttribution: An explanation method that redistributes Integrated Gradients attributions to segmented regions, taking advantage of the model's fully differentiable structure. Refer to this paper for more details: https://arxiv.org/abs/1906.02825 Supported only by image Models.
type GoogleCloudAiplatformV1XraiAttribution struct { // BlurBaselineConfig: Config for XRAI with blur baseline. When enabled, a // linear path from the maximally blurred image to the input image is created. // Using a blurred baseline instead of zero (black image) is motivated by the // BlurIG approach explained here: https://arxiv.org/abs/2004.03383 BlurBaselineConfig *GoogleCloudAiplatformV1BlurBaselineConfig `json:"blurBaselineConfig,omitempty"` // SmoothGradConfig: Config for SmoothGrad approximation of gradients. When // enabled, the gradients are approximated by averaging the gradients from // noisy samples in the vicinity of the inputs. Adding noise can help improve // the computed gradients. Refer to this paper for more details: // https://arxiv.org/pdf/1706.03825.pdf SmoothGradConfig *GoogleCloudAiplatformV1SmoothGradConfig `json:"smoothGradConfig,omitempty"` // StepCount: Required. The number of steps for approximating the path // integral. A good value to start is 50 and gradually increase until the sum // to diff property is met within the desired error range. Valid range of its // value is [1, 100], inclusively. StepCount int64 `json:"stepCount,omitempty"` // ForceSendFields is a list of field names (e.g. "BlurBaselineConfig") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BlurBaselineConfig") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudAiplatformV1XraiAttribution) MarshalJSON() ([]byte, error)
GoogleCloudLocationListLocationsResponse: The response message for Locations.ListLocations.
type GoogleCloudLocationListLocationsResponse struct { // Locations: A list of locations that matches the specified filter in the // request. Locations []*GoogleCloudLocationLocation `json:"locations,omitempty"` // NextPageToken: The standard List next-page token. NextPageToken string `json:"nextPageToken,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Locations") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Locations") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudLocationListLocationsResponse) MarshalJSON() ([]byte, error)
GoogleCloudLocationLocation: A resource that represents a Google Cloud location.
type GoogleCloudLocationLocation struct { // DisplayName: The friendly name for this location, typically a nearby city // name. For example, "Tokyo". DisplayName string `json:"displayName,omitempty"` // Labels: Cross-service attributes for the location. For example // {"cloud.googleapis.com/region": "us-east1"} Labels map[string]string `json:"labels,omitempty"` // LocationId: The canonical id for this location. For example: "us-east1". LocationId string `json:"locationId,omitempty"` // Metadata: Service-specific metadata. For example the available capacity at // the given location. Metadata googleapi.RawMessage `json:"metadata,omitempty"` // Name: Resource name for the location, which may vary between // implementations. For example: // "projects/example-project/locations/us-east1" Name string `json:"name,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "DisplayName") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DisplayName") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleCloudLocationLocation) MarshalJSON() ([]byte, error)
GoogleIamV1Binding: Associates `members`, or principals, with a `role`.
type GoogleIamV1Binding struct { // Condition: The condition that is associated with this binding. If the // condition evaluates to `true`, then this binding applies to the current // request. If the condition evaluates to `false`, then this binding does not // apply to the current request. However, a different role binding might grant // the same role to one or more of the principals in this binding. To learn // which resources support conditions in their IAM policies, see the IAM // documentation // (https://cloud.google.com/iam/help/conditions/resource-policies). Condition *GoogleTypeExpr `json:"condition,omitempty"` // Members: Specifies the principals requesting access for a Google Cloud // resource. `members` can have the following values: * `allUsers`: A special // identifier that represents anyone who is on the internet; with or without a // Google account. * `allAuthenticatedUsers`: A special identifier that // represents anyone who is authenticated with a Google account or a service // account. Does not include identities that come from external identity // providers (IdPs) through identity federation. * `user:{emailid}`: An email // address that represents a specific Google account. For example, // `alice@example.com` . * `serviceAccount:{emailid}`: An email address that // represents a Google service account. For example, // `my-other-app@appspot.gserviceaccount.com`. * // `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An // identifier for a Kubernetes service account // (https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). // For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * // `group:{emailid}`: An email address that represents a Google group. For // example, `admins@example.com`. * `domain:{domain}`: The G Suite domain // (primary) that represents all the users of that domain. For example, // `google.com` or `example.com`. * // `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/sub // ject/{subject_attribute_value}`: A single identity in a workforce identity // pool. * // `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/ // group/{group_id}`: All workforce identities in a group. * // `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/ // attribute.{attribute_name}/{attribute_value}`: All workforce identities with // a specific attribute value. * // `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/ // *`: All identities in a workforce identity pool. * // `principal://iam.googleapis.com/projects/{project_number}/locations/global/wo // rkloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single // identity in a workload identity pool. * // `principalSet://iam.googleapis.com/projects/{project_number}/locations/global // /workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool // group. * // `principalSet://iam.googleapis.com/projects/{project_number}/locations/global // /workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value} // `: All identities in a workload identity pool with a certain attribute. * // `principalSet://iam.googleapis.com/projects/{project_number}/locations/global // /workloadIdentityPools/{pool_id}/*`: All identities in a workload identity // pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus // unique identifier) representing a user that has been recently deleted. For // example, `alice@example.com?uid=123456789012345678901`. If the user is // recovered, this value reverts to `user:{emailid}` and the recovered user // retains the role in the binding. * // `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus // unique identifier) representing a service account that has been recently // deleted. For example, // `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the // service account is undeleted, this value reverts to // `serviceAccount:{emailid}` and the undeleted service account retains the // role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email // address (plus unique identifier) representing a Google group that has been // recently deleted. For example, // `admins@example.com?uid=123456789012345678901`. If the group is recovered, // this value reverts to `group:{emailid}` and the recovered group retains the // role in the binding. * // `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool // _id}/subject/{subject_attribute_value}`: Deleted single identity in a // workforce identity pool. For example, // `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-po // ol-id/subject/my-subject-attribute-value`. Members []string `json:"members,omitempty"` // Role: Role that is assigned to the list of `members`, or principals. For // example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview // of the IAM roles and permissions, see the IAM documentation // (https://cloud.google.com/iam/docs/roles-overview). For a list of the // available pre-defined roles, see here // (https://cloud.google.com/iam/docs/understanding-roles). Role string `json:"role,omitempty"` // ForceSendFields is a list of field names (e.g. "Condition") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Condition") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleIamV1Binding) MarshalJSON() ([]byte, error)
GoogleIamV1Policy: An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { "bindings": [ { "role": "roles/resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@appspot.gserviceaccount.com" ] }, { "role": "roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com" ], "condition": { "title": "expirable access", "description": "Does not grant access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", } } ], "etag": "BwWWja0YfJA=", "version": 3 } ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the IAM documentation (https://cloud.google.com/iam/docs/).
type GoogleIamV1Policy struct { // Bindings: Associates a list of `members`, or principals, with a `role`. // Optionally, may specify a `condition` that determines how and when the // `bindings` are applied. Each of the `bindings` must contain at least one // principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; // up to 250 of these principals can be Google groups. Each occurrence of a // principal counts towards these limits. For example, if the `bindings` grant // 50 different roles to `user:alice@example.com`, and not to any other // principal, then you can add another 1,450 principals to the `bindings` in // the `Policy`. Bindings []*GoogleIamV1Binding `json:"bindings,omitempty"` // Etag: `etag` is used for optimistic concurrency control as a way to help // prevent simultaneous updates of a policy from overwriting each other. It is // strongly suggested that systems make use of the `etag` in the // read-modify-write cycle to perform policy updates in order to avoid race // conditions: An `etag` is returned in the response to `getIamPolicy`, and // systems are expected to put that etag in the request to `setIamPolicy` to // ensure that their change will be applied to the same version of the policy. // **Important:** If you use IAM Conditions, you must include the `etag` field // whenever you call `setIamPolicy`. If you omit this field, then IAM allows // you to overwrite a version `3` policy with a version `1` policy, and all of // the conditions in the version `3` policy are lost. Etag string `json:"etag,omitempty"` // Version: Specifies the format of the policy. Valid values are `0`, `1`, and // `3`. Requests that specify an invalid value are rejected. Any operation that // affects conditional role bindings must specify version `3`. This requirement // applies to the following operations: * Getting a policy that includes a // conditional role binding * Adding a conditional role binding to a policy * // Changing a conditional role binding in a policy * Removing any role binding, // with or without a condition, from a policy that includes conditions // **Important:** If you use IAM Conditions, you must include the `etag` field // whenever you call `setIamPolicy`. If you omit this field, then IAM allows // you to overwrite a version `3` policy with a version `1` policy, and all of // the conditions in the version `3` policy are lost. If a policy does not // include any conditions, operations on that policy may specify any valid // version or leave the field unset. To learn which resources support // conditions in their IAM policies, see the IAM documentation // (https://cloud.google.com/iam/help/conditions/resource-policies). Version int64 `json:"version,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Bindings") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Bindings") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleIamV1Policy) MarshalJSON() ([]byte, error)
GoogleIamV1SetIamPolicyRequest: Request message for `SetIamPolicy` method.
type GoogleIamV1SetIamPolicyRequest struct { // Policy: REQUIRED: The complete policy to be applied to the `resource`. The // size of the policy is limited to a few 10s of KB. An empty policy is a valid // policy but certain Google Cloud services (such as Projects) might reject // them. Policy *GoogleIamV1Policy `json:"policy,omitempty"` // ForceSendFields is a list of field names (e.g. "Policy") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Policy") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleIamV1SetIamPolicyRequest) MarshalJSON() ([]byte, error)
GoogleIamV1TestIamPermissionsResponse: Response message for `TestIamPermissions` method.
type GoogleIamV1TestIamPermissionsResponse struct { // Permissions: A subset of `TestPermissionsRequest.permissions` that the // caller is allowed. Permissions []string `json:"permissions,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Permissions") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Permissions") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleIamV1TestIamPermissionsResponse) MarshalJSON() ([]byte, error)
GoogleLongrunningListOperationsResponse: The response message for Operations.ListOperations.
type GoogleLongrunningListOperationsResponse struct { // NextPageToken: The standard List next-page token. NextPageToken string `json:"nextPageToken,omitempty"` // Operations: A list of operations that matches the specified filter in the // request. Operations []*GoogleLongrunningOperation `json:"operations,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "NextPageToken") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "NextPageToken") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleLongrunningListOperationsResponse) MarshalJSON() ([]byte, error)
GoogleLongrunningOperation: This resource represents a long-running operation that is the result of a network API call.
type GoogleLongrunningOperation struct { // Done: If the value is `false`, it means the operation is still in progress. // If `true`, the operation is completed, and either `error` or `response` is // available. Done bool `json:"done,omitempty"` // Error: The error result of the operation in case of failure or cancellation. Error *GoogleRpcStatus `json:"error,omitempty"` // Metadata: Service-specific metadata associated with the operation. It // typically contains progress information and common metadata such as create // time. Some services might not provide such metadata. Any method that returns // a long-running operation should document the metadata type, if any. Metadata googleapi.RawMessage `json:"metadata,omitempty"` // Name: The server-assigned name, which is only unique within the same service // that originally returns it. If you use the default HTTP mapping, the `name` // should be a resource name ending with `operations/{unique_id}`. Name string `json:"name,omitempty"` // Response: The normal, successful response of the operation. If the original // method returns no data on success, such as `Delete`, the response is // `google.protobuf.Empty`. If the original method is standard // `Get`/`Create`/`Update`, the response should be the resource. For other // methods, the response should have the type `XxxResponse`, where `Xxx` is the // original method name. For example, if the original method name is // `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`. Response googleapi.RawMessage `json:"response,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Done") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Done") to include in API requests // with the JSON null value. By default, fields with empty values are omitted // from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleLongrunningOperation) MarshalJSON() ([]byte, error)
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); }
type GoogleProtobufEmpty struct { // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` }
GoogleRpcStatus: The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC (https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the API Design Guide (https://cloud.google.com/apis/design/errors).
type GoogleRpcStatus struct { // Code: The status code, which should be an enum value of google.rpc.Code. Code int64 `json:"code,omitempty"` // Details: A list of messages that carry the error details. There is a common // set of message types for APIs to use. Details []googleapi.RawMessage `json:"details,omitempty"` // Message: A developer-facing error message, which should be in English. Any // user-facing error message should be localized and sent in the // google.rpc.Status.details field, or localized by the client. Message string `json:"message,omitempty"` // ForceSendFields is a list of field names (e.g. "Code") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Code") to include in API requests // with the JSON null value. By default, fields with empty values are omitted // from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleRpcStatus) MarshalJSON() ([]byte, error)
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(”); }; // ...
type GoogleTypeColor struct { // Alpha: The fraction of this color that should be applied to the pixel. That // is, the final pixel color is defined by the equation: `pixel color = alpha * // (this color) + (1.0 - alpha) * (background color)` This means that a value // of 1.0 corresponds to a solid color, whereas a value of 0.0 corresponds to a // completely transparent color. This uses a wrapper message rather than a // simple float scalar so that it is possible to distinguish between a default // value and the value being unset. If omitted, this color object is rendered // as a solid color (as if the alpha value had been explicitly given a value of // 1.0). Alpha float64 `json:"alpha,omitempty"` // Blue: The amount of blue in the color as a value in the interval [0, 1]. Blue float64 `json:"blue,omitempty"` // Green: The amount of green in the color as a value in the interval [0, 1]. Green float64 `json:"green,omitempty"` // Red: The amount of red in the color as a value in the interval [0, 1]. Red float64 `json:"red,omitempty"` // ForceSendFields is a list of field names (e.g. "Alpha") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Alpha") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleTypeColor) MarshalJSON() ([]byte, error)
func (s *GoogleTypeColor) UnmarshalJSON(data []byte) error
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
type GoogleTypeDate struct { // Day: Day of a month. Must be from 1 to 31 and valid for the year and month, // or 0 to specify a year by itself or a year and month where the day isn't // significant. Day int64 `json:"day,omitempty"` // Month: Month of a year. Must be from 1 to 12, or 0 to specify a year without // a month and day. Month int64 `json:"month,omitempty"` // Year: Year of the date. Must be from 1 to 9999, or 0 to specify a date // without a year. Year int64 `json:"year,omitempty"` // ForceSendFields is a list of field names (e.g. "Day") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Day") to include in API requests // with the JSON null value. By default, fields with empty values are omitted // from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleTypeDate) MarshalJSON() ([]byte, error)
GoogleTypeExpr: Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.
type GoogleTypeExpr struct { // Description: Optional. Description of the expression. This is a longer text // which describes the expression, e.g. when hovered over it in a UI. Description string `json:"description,omitempty"` // Expression: Textual representation of an expression in Common Expression // Language syntax. Expression string `json:"expression,omitempty"` // Location: Optional. String indicating the location of the expression for // error reporting, e.g. a file name and a position in the file. Location string `json:"location,omitempty"` // Title: Optional. Title for the expression, i.e. a short string describing // its purpose. This can be used e.g. in UIs which allow to enter the // expression. Title string `json:"title,omitempty"` // ForceSendFields is a list of field names (e.g. "Description") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Description") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleTypeExpr) MarshalJSON() ([]byte, error)
GoogleTypeInterval: Represents a time interval, encoded as a Timestamp start (inclusive) and a Timestamp end (exclusive). The start must be less than or equal to the end. When the start equals the end, the interval is empty (matches no time). When both start and end are unspecified, the interval matches any time.
type GoogleTypeInterval struct { // EndTime: Optional. Exclusive end of the interval. If specified, a Timestamp // matching this interval will have to be before the end. EndTime string `json:"endTime,omitempty"` // StartTime: Optional. Inclusive start of the interval. If specified, a // Timestamp matching this interval will have to be the same or after the // start. StartTime string `json:"startTime,omitempty"` // ForceSendFields is a list of field names (e.g. "EndTime") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "EndTime") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleTypeInterval) MarshalJSON() ([]byte, error)
GoogleTypeMoney: Represents an amount of money with its currency type.
type GoogleTypeMoney struct { // CurrencyCode: The three-letter currency code defined in ISO 4217. CurrencyCode string `json:"currencyCode,omitempty"` // Nanos: Number of nano (10^-9) units of the amount. The value must be between // -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` // must be positive or zero. If `units` is zero, `nanos` can be positive, zero, // or negative. If `units` is negative, `nanos` must be negative or zero. For // example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000. Nanos int64 `json:"nanos,omitempty"` // Units: The whole units of the amount. For example if `currencyCode` is // "USD", then 1 unit is one US dollar. Units int64 `json:"units,omitempty,string"` // ForceSendFields is a list of field names (e.g. "CurrencyCode") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CurrencyCode") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (s *GoogleTypeMoney) MarshalJSON() ([]byte, error)
type ProjectsLocationsBatchPredictionJobsCancelCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsBatchPredictionJobsCancelCall) Context(ctx context.Context) *ProjectsLocationsBatchPredictionJobsCancelCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsBatchPredictionJobsCancelCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "aiplatform.projects.locations.batchPredictionJobs.cancel" call. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsBatchPredictionJobsCancelCall) Fields(s ...googleapi.Field) *ProjectsLocationsBatchPredictionJobsCancelCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsBatchPredictionJobsCancelCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsBatchPredictionJobsCreateCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsBatchPredictionJobsCreateCall) Context(ctx context.Context) *ProjectsLocationsBatchPredictionJobsCreateCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsBatchPredictionJobsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1BatchPredictionJob, error)
Do executes the "aiplatform.projects.locations.batchPredictionJobs.create" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1BatchPredictionJob.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsBatchPredictionJobsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsBatchPredictionJobsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsBatchPredictionJobsCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsBatchPredictionJobsDeleteCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsBatchPredictionJobsDeleteCall) Context(ctx context.Context) *ProjectsLocationsBatchPredictionJobsDeleteCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsBatchPredictionJobsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.batchPredictionJobs.delete" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsBatchPredictionJobsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsBatchPredictionJobsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsBatchPredictionJobsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsBatchPredictionJobsGetCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsBatchPredictionJobsGetCall) Context(ctx context.Context) *ProjectsLocationsBatchPredictionJobsGetCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsBatchPredictionJobsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1BatchPredictionJob, error)
Do executes the "aiplatform.projects.locations.batchPredictionJobs.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1BatchPredictionJob.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsBatchPredictionJobsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsBatchPredictionJobsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsBatchPredictionJobsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsBatchPredictionJobsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsBatchPredictionJobsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsLocationsBatchPredictionJobsListCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsBatchPredictionJobsListCall) Context(ctx context.Context) *ProjectsLocationsBatchPredictionJobsListCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsBatchPredictionJobsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1ListBatchPredictionJobsResponse, error)
Do executes the "aiplatform.projects.locations.batchPredictionJobs.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1ListBatchPredictionJobsResponse.ServerResponse.Header
or (if a response was returned at all) in error.(*googleapi.Error).Header.
Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsBatchPredictionJobsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsBatchPredictionJobsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsBatchPredictionJobsListCall) Filter(filter string) *ProjectsLocationsBatchPredictionJobsListCall
Filter sets the optional parameter "filter": The standard list filter. Supported fields: * `display_name` supports `=`, `!=` comparisons, and `:` wildcard. * `model_display_name` supports `=`, `!=` comparisons. * `state` supports `=`, `!=` comparisons. * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. `create_time` must be in RFC 3339 format. * `labels` supports general map functions that is: `labels.key=value` - key:value equality `labels.key:* - key existence Some examples of using the filter are: * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*" * `state!="JOB_STATE_FAILED" OR display_name="my_job" * `NOT display_name="my_job" * `create_time>"2021-05-18T00:00:00Z" * `labels.keyA=valueA` * `labels.keyB:*`
func (c *ProjectsLocationsBatchPredictionJobsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsBatchPredictionJobsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsBatchPredictionJobsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (c *ProjectsLocationsBatchPredictionJobsListCall) PageSize(pageSize int64) *ProjectsLocationsBatchPredictionJobsListCall
PageSize sets the optional parameter "pageSize": The standard list page size.
func (c *ProjectsLocationsBatchPredictionJobsListCall) PageToken(pageToken string) *ProjectsLocationsBatchPredictionJobsListCall
PageToken sets the optional parameter "pageToken": The standard list page token. Typically obtained via ListBatchPredictionJobsResponse.next_page_token of the previous JobService.ListBatchPredictionJobs call.
func (c *ProjectsLocationsBatchPredictionJobsListCall) Pages(ctx context.Context, f func(*GoogleCloudAiplatformV1ListBatchPredictionJobsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
func (c *ProjectsLocationsBatchPredictionJobsListCall) ReadMask(readMask string) *ProjectsLocationsBatchPredictionJobsListCall
ReadMask sets the optional parameter "readMask": Mask specifying which fields to read.
type ProjectsLocationsBatchPredictionJobsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsBatchPredictionJobsService(s *Service) *ProjectsLocationsBatchPredictionJobsService
func (r *ProjectsLocationsBatchPredictionJobsService) Cancel(name string, googlecloudaiplatformv1cancelbatchpredictionjobrequest *GoogleCloudAiplatformV1CancelBatchPredictionJobRequest) *ProjectsLocationsBatchPredictionJobsCancelCall
Cancel: Cancels a BatchPredictionJob. Starts asynchronous cancellation on the BatchPredictionJob. The server makes the best effort to cancel the job, but success is not guaranteed. Clients can use JobService.GetBatchPredictionJob or other methods to check whether the cancellation succeeded or whether the job completed despite cancellation. On a successful cancellation, the BatchPredictionJob is not deleted;instead its BatchPredictionJob.state is set to `CANCELLED`. Any files already outputted by the job are not deleted.
func (r *ProjectsLocationsBatchPredictionJobsService) Create(parent string, googlecloudaiplatformv1batchpredictionjob *GoogleCloudAiplatformV1BatchPredictionJob) *ProjectsLocationsBatchPredictionJobsCreateCall
Create: Creates a BatchPredictionJob. A BatchPredictionJob once created will right away be attempted to start.
func (r *ProjectsLocationsBatchPredictionJobsService) Delete(name string) *ProjectsLocationsBatchPredictionJobsDeleteCall
Delete: Deletes a BatchPredictionJob. Can only be called on jobs that already finished.
func (r *ProjectsLocationsBatchPredictionJobsService) Get(name string) *ProjectsLocationsBatchPredictionJobsGetCall
Get: Gets a BatchPredictionJob
func (r *ProjectsLocationsBatchPredictionJobsService) List(parent string) *ProjectsLocationsBatchPredictionJobsListCall
List: Lists BatchPredictionJobs in a Location.
type ProjectsLocationsCustomJobsCancelCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsCustomJobsCancelCall) Context(ctx context.Context) *ProjectsLocationsCustomJobsCancelCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsCustomJobsCancelCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "aiplatform.projects.locations.customJobs.cancel" call. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsCustomJobsCancelCall) Fields(s ...googleapi.Field) *ProjectsLocationsCustomJobsCancelCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsCustomJobsCancelCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsCustomJobsCreateCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsCustomJobsCreateCall) Context(ctx context.Context) *ProjectsLocationsCustomJobsCreateCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsCustomJobsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1CustomJob, error)
Do executes the "aiplatform.projects.locations.customJobs.create" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1CustomJob.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsCustomJobsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsCustomJobsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsCustomJobsCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsCustomJobsDeleteCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsCustomJobsDeleteCall) Context(ctx context.Context) *ProjectsLocationsCustomJobsDeleteCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsCustomJobsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.customJobs.delete" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsCustomJobsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsCustomJobsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsCustomJobsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsCustomJobsGetCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsCustomJobsGetCall) Context(ctx context.Context) *ProjectsLocationsCustomJobsGetCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsCustomJobsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1CustomJob, error)
Do executes the "aiplatform.projects.locations.customJobs.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1CustomJob.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsCustomJobsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsCustomJobsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsCustomJobsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsCustomJobsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsCustomJobsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsLocationsCustomJobsListCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsCustomJobsListCall) Context(ctx context.Context) *ProjectsLocationsCustomJobsListCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsCustomJobsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1ListCustomJobsResponse, error)
Do executes the "aiplatform.projects.locations.customJobs.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1ListCustomJobsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsCustomJobsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsCustomJobsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsCustomJobsListCall) Filter(filter string) *ProjectsLocationsCustomJobsListCall
Filter sets the optional parameter "filter": The standard list filter. Supported fields: * `display_name` supports `=`, `!=` comparisons, and `:` wildcard. * `state` supports `=`, `!=` comparisons. * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. `create_time` must be in RFC 3339 format. * `labels` supports general map functions that is: `labels.key=value` - key:value equality `labels.key:* - key existence Some examples of using the filter are: * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*" * `state!="JOB_STATE_FAILED" OR display_name="my_job" * `NOT display_name="my_job" * `create_time>"2021-05-18T00:00:00Z" * `labels.keyA=valueA` * `labels.keyB:*`
func (c *ProjectsLocationsCustomJobsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsCustomJobsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsCustomJobsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (c *ProjectsLocationsCustomJobsListCall) PageSize(pageSize int64) *ProjectsLocationsCustomJobsListCall
PageSize sets the optional parameter "pageSize": The standard list page size.
func (c *ProjectsLocationsCustomJobsListCall) PageToken(pageToken string) *ProjectsLocationsCustomJobsListCall
PageToken sets the optional parameter "pageToken": The standard list page token. Typically obtained via ListCustomJobsResponse.next_page_token of the previous JobService.ListCustomJobs call.
func (c *ProjectsLocationsCustomJobsListCall) Pages(ctx context.Context, f func(*GoogleCloudAiplatformV1ListCustomJobsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
func (c *ProjectsLocationsCustomJobsListCall) ReadMask(readMask string) *ProjectsLocationsCustomJobsListCall
ReadMask sets the optional parameter "readMask": Mask specifying which fields to read.
type ProjectsLocationsCustomJobsOperationsCancelCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsCustomJobsOperationsCancelCall) Context(ctx context.Context) *ProjectsLocationsCustomJobsOperationsCancelCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsCustomJobsOperationsCancelCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "aiplatform.projects.locations.customJobs.operations.cancel" call. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsCustomJobsOperationsCancelCall) Fields(s ...googleapi.Field) *ProjectsLocationsCustomJobsOperationsCancelCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsCustomJobsOperationsCancelCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsCustomJobsOperationsDeleteCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsCustomJobsOperationsDeleteCall) Context(ctx context.Context) *ProjectsLocationsCustomJobsOperationsDeleteCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsCustomJobsOperationsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "aiplatform.projects.locations.customJobs.operations.delete" call. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsCustomJobsOperationsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsCustomJobsOperationsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsCustomJobsOperationsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsCustomJobsOperationsGetCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsCustomJobsOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsCustomJobsOperationsGetCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsCustomJobsOperationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.customJobs.operations.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsCustomJobsOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsCustomJobsOperationsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsCustomJobsOperationsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsCustomJobsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsCustomJobsOperationsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsLocationsCustomJobsOperationsListCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsCustomJobsOperationsListCall) Context(ctx context.Context) *ProjectsLocationsCustomJobsOperationsListCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsCustomJobsOperationsListCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningListOperationsResponse, error)
Do executes the "aiplatform.projects.locations.customJobs.operations.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningListOperationsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsCustomJobsOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsCustomJobsOperationsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsCustomJobsOperationsListCall) Filter(filter string) *ProjectsLocationsCustomJobsOperationsListCall
Filter sets the optional parameter "filter": The standard list filter.
func (c *ProjectsLocationsCustomJobsOperationsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsCustomJobsOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsCustomJobsOperationsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (c *ProjectsLocationsCustomJobsOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsCustomJobsOperationsListCall
PageSize sets the optional parameter "pageSize": The standard list page size.
func (c *ProjectsLocationsCustomJobsOperationsListCall) PageToken(pageToken string) *ProjectsLocationsCustomJobsOperationsListCall
PageToken sets the optional parameter "pageToken": The standard list page token.
func (c *ProjectsLocationsCustomJobsOperationsListCall) Pages(ctx context.Context, f func(*GoogleLongrunningListOperationsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ProjectsLocationsCustomJobsOperationsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsCustomJobsOperationsService(s *Service) *ProjectsLocationsCustomJobsOperationsService
func (r *ProjectsLocationsCustomJobsOperationsService) Cancel(name string) *ProjectsLocationsCustomJobsOperationsCancelCall
Cancel: Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
- name: The name of the operation resource to be cancelled.
func (r *ProjectsLocationsCustomJobsOperationsService) Delete(name string) *ProjectsLocationsCustomJobsOperationsDeleteCall
Delete: Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
- name: The name of the operation resource to be deleted.
func (r *ProjectsLocationsCustomJobsOperationsService) Get(name string) *ProjectsLocationsCustomJobsOperationsGetCall
Get: Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
- name: The name of the operation resource.
func (r *ProjectsLocationsCustomJobsOperationsService) List(name string) *ProjectsLocationsCustomJobsOperationsListCall
List: Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.
- name: The name of the operation's parent resource.
func (r *ProjectsLocationsCustomJobsOperationsService) Wait(name string) *ProjectsLocationsCustomJobsOperationsWaitCall
Wait: Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.
- name: The name of the operation resource to wait on.
type ProjectsLocationsCustomJobsOperationsWaitCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsCustomJobsOperationsWaitCall) Context(ctx context.Context) *ProjectsLocationsCustomJobsOperationsWaitCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsCustomJobsOperationsWaitCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.customJobs.operations.wait" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsCustomJobsOperationsWaitCall) Fields(s ...googleapi.Field) *ProjectsLocationsCustomJobsOperationsWaitCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsCustomJobsOperationsWaitCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsCustomJobsOperationsWaitCall) Timeout(timeout string) *ProjectsLocationsCustomJobsOperationsWaitCall
Timeout sets the optional parameter "timeout": The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.
type ProjectsLocationsCustomJobsService struct { Operations *ProjectsLocationsCustomJobsOperationsService // contains filtered or unexported fields }
func NewProjectsLocationsCustomJobsService(s *Service) *ProjectsLocationsCustomJobsService
func (r *ProjectsLocationsCustomJobsService) Cancel(name string, googlecloudaiplatformv1cancelcustomjobrequest *GoogleCloudAiplatformV1CancelCustomJobRequest) *ProjectsLocationsCustomJobsCancelCall
Cancel: Cancels a CustomJob. Starts asynchronous cancellation on the CustomJob. The server makes a best effort to cancel the job, but success is not guaranteed. Clients can use JobService.GetCustomJob or other methods to check whether the cancellation succeeded or whether the job completed despite cancellation. On successful cancellation, the CustomJob is not deleted; instead it becomes a job with a CustomJob.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`, and CustomJob.state is set to `CANCELLED`.
func (r *ProjectsLocationsCustomJobsService) Create(parent string, googlecloudaiplatformv1customjob *GoogleCloudAiplatformV1CustomJob) *ProjectsLocationsCustomJobsCreateCall
Create: Creates a CustomJob. A created CustomJob right away will be attempted to be run.
func (r *ProjectsLocationsCustomJobsService) Delete(name string) *ProjectsLocationsCustomJobsDeleteCall
Delete: Deletes a CustomJob.
func (r *ProjectsLocationsCustomJobsService) Get(name string) *ProjectsLocationsCustomJobsGetCall
Get: Gets a CustomJob.
func (r *ProjectsLocationsCustomJobsService) List(parent string) *ProjectsLocationsCustomJobsListCall
List: Lists CustomJobs in a Location.
type ProjectsLocationsDataLabelingJobsCancelCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsDataLabelingJobsCancelCall) Context(ctx context.Context) *ProjectsLocationsDataLabelingJobsCancelCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsDataLabelingJobsCancelCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "aiplatform.projects.locations.dataLabelingJobs.cancel" call. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsDataLabelingJobsCancelCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataLabelingJobsCancelCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsDataLabelingJobsCancelCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsDataLabelingJobsCreateCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsDataLabelingJobsCreateCall) Context(ctx context.Context) *ProjectsLocationsDataLabelingJobsCreateCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsDataLabelingJobsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1DataLabelingJob, error)
Do executes the "aiplatform.projects.locations.dataLabelingJobs.create" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1DataLabelingJob.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsDataLabelingJobsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataLabelingJobsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsDataLabelingJobsCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsDataLabelingJobsDeleteCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsDataLabelingJobsDeleteCall) Context(ctx context.Context) *ProjectsLocationsDataLabelingJobsDeleteCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsDataLabelingJobsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.dataLabelingJobs.delete" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsDataLabelingJobsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataLabelingJobsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsDataLabelingJobsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsDataLabelingJobsGetCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsDataLabelingJobsGetCall) Context(ctx context.Context) *ProjectsLocationsDataLabelingJobsGetCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsDataLabelingJobsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1DataLabelingJob, error)
Do executes the "aiplatform.projects.locations.dataLabelingJobs.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1DataLabelingJob.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsDataLabelingJobsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataLabelingJobsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsDataLabelingJobsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsDataLabelingJobsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsDataLabelingJobsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsLocationsDataLabelingJobsListCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsDataLabelingJobsListCall) Context(ctx context.Context) *ProjectsLocationsDataLabelingJobsListCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsDataLabelingJobsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1ListDataLabelingJobsResponse, error)
Do executes the "aiplatform.projects.locations.dataLabelingJobs.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1ListDataLabelingJobsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsDataLabelingJobsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataLabelingJobsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsDataLabelingJobsListCall) Filter(filter string) *ProjectsLocationsDataLabelingJobsListCall
Filter sets the optional parameter "filter": The standard list filter. Supported fields: * `display_name` supports `=`, `!=` comparisons, and `:` wildcard. * `state` supports `=`, `!=` comparisons. * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. `create_time` must be in RFC 3339 format. * `labels` supports general map functions that is: `labels.key=value` - key:value equality `labels.key:* - key existence Some examples of using the filter are: * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*" * `state!="JOB_STATE_FAILED" OR display_name="my_job" * `NOT display_name="my_job" * `create_time>"2021-05-18T00:00:00Z" * `labels.keyA=valueA` * `labels.keyB:*`
func (c *ProjectsLocationsDataLabelingJobsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsDataLabelingJobsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsDataLabelingJobsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (c *ProjectsLocationsDataLabelingJobsListCall) OrderBy(orderBy string) *ProjectsLocationsDataLabelingJobsListCall
OrderBy sets the optional parameter "orderBy": A comma-separated list of fields to order by, sorted in ascending order by default. Use `desc` after a field name for descending.
func (c *ProjectsLocationsDataLabelingJobsListCall) PageSize(pageSize int64) *ProjectsLocationsDataLabelingJobsListCall
PageSize sets the optional parameter "pageSize": The standard list page size.
func (c *ProjectsLocationsDataLabelingJobsListCall) PageToken(pageToken string) *ProjectsLocationsDataLabelingJobsListCall
PageToken sets the optional parameter "pageToken": The standard list page token.
func (c *ProjectsLocationsDataLabelingJobsListCall) Pages(ctx context.Context, f func(*GoogleCloudAiplatformV1ListDataLabelingJobsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
func (c *ProjectsLocationsDataLabelingJobsListCall) ReadMask(readMask string) *ProjectsLocationsDataLabelingJobsListCall
ReadMask sets the optional parameter "readMask": Mask specifying which fields to read. FieldMask represents a set of symbolic field paths. For example, the mask can be `paths: "name". The "name" here is a field in DataLabelingJob. If this field is not set, all fields of the DataLabelingJob are returned.
type ProjectsLocationsDataLabelingJobsOperationsCancelCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsDataLabelingJobsOperationsCancelCall) Context(ctx context.Context) *ProjectsLocationsDataLabelingJobsOperationsCancelCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsDataLabelingJobsOperationsCancelCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "aiplatform.projects.locations.dataLabelingJobs.operations.cancel" call. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsDataLabelingJobsOperationsCancelCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataLabelingJobsOperationsCancelCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsDataLabelingJobsOperationsCancelCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsDataLabelingJobsOperationsDeleteCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsDataLabelingJobsOperationsDeleteCall) Context(ctx context.Context) *ProjectsLocationsDataLabelingJobsOperationsDeleteCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsDataLabelingJobsOperationsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "aiplatform.projects.locations.dataLabelingJobs.operations.delete" call. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsDataLabelingJobsOperationsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataLabelingJobsOperationsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsDataLabelingJobsOperationsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsDataLabelingJobsOperationsGetCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsDataLabelingJobsOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsDataLabelingJobsOperationsGetCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsDataLabelingJobsOperationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.dataLabelingJobs.operations.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsDataLabelingJobsOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataLabelingJobsOperationsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsDataLabelingJobsOperationsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsDataLabelingJobsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsDataLabelingJobsOperationsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsLocationsDataLabelingJobsOperationsListCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsDataLabelingJobsOperationsListCall) Context(ctx context.Context) *ProjectsLocationsDataLabelingJobsOperationsListCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsDataLabelingJobsOperationsListCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningListOperationsResponse, error)
Do executes the "aiplatform.projects.locations.dataLabelingJobs.operations.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningListOperationsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsDataLabelingJobsOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataLabelingJobsOperationsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsDataLabelingJobsOperationsListCall) Filter(filter string) *ProjectsLocationsDataLabelingJobsOperationsListCall
Filter sets the optional parameter "filter": The standard list filter.
func (c *ProjectsLocationsDataLabelingJobsOperationsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsDataLabelingJobsOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsDataLabelingJobsOperationsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (c *ProjectsLocationsDataLabelingJobsOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsDataLabelingJobsOperationsListCall
PageSize sets the optional parameter "pageSize": The standard list page size.
func (c *ProjectsLocationsDataLabelingJobsOperationsListCall) PageToken(pageToken string) *ProjectsLocationsDataLabelingJobsOperationsListCall
PageToken sets the optional parameter "pageToken": The standard list page token.
func (c *ProjectsLocationsDataLabelingJobsOperationsListCall) Pages(ctx context.Context, f func(*GoogleLongrunningListOperationsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ProjectsLocationsDataLabelingJobsOperationsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsDataLabelingJobsOperationsService(s *Service) *ProjectsLocationsDataLabelingJobsOperationsService
func (r *ProjectsLocationsDataLabelingJobsOperationsService) Cancel(name string) *ProjectsLocationsDataLabelingJobsOperationsCancelCall
Cancel: Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
- name: The name of the operation resource to be cancelled.
func (r *ProjectsLocationsDataLabelingJobsOperationsService) Delete(name string) *ProjectsLocationsDataLabelingJobsOperationsDeleteCall
Delete: Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
- name: The name of the operation resource to be deleted.
func (r *ProjectsLocationsDataLabelingJobsOperationsService) Get(name string) *ProjectsLocationsDataLabelingJobsOperationsGetCall
Get: Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
- name: The name of the operation resource.
func (r *ProjectsLocationsDataLabelingJobsOperationsService) List(name string) *ProjectsLocationsDataLabelingJobsOperationsListCall
List: Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.
- name: The name of the operation's parent resource.
func (r *ProjectsLocationsDataLabelingJobsOperationsService) Wait(name string) *ProjectsLocationsDataLabelingJobsOperationsWaitCall
Wait: Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.
- name: The name of the operation resource to wait on.
type ProjectsLocationsDataLabelingJobsOperationsWaitCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsDataLabelingJobsOperationsWaitCall) Context(ctx context.Context) *ProjectsLocationsDataLabelingJobsOperationsWaitCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsDataLabelingJobsOperationsWaitCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.dataLabelingJobs.operations.wait" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsDataLabelingJobsOperationsWaitCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataLabelingJobsOperationsWaitCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsDataLabelingJobsOperationsWaitCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsDataLabelingJobsOperationsWaitCall) Timeout(timeout string) *ProjectsLocationsDataLabelingJobsOperationsWaitCall
Timeout sets the optional parameter "timeout": The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.
type ProjectsLocationsDataLabelingJobsService struct { Operations *ProjectsLocationsDataLabelingJobsOperationsService // contains filtered or unexported fields }
func NewProjectsLocationsDataLabelingJobsService(s *Service) *ProjectsLocationsDataLabelingJobsService
func (r *ProjectsLocationsDataLabelingJobsService) Cancel(name string, googlecloudaiplatformv1canceldatalabelingjobrequest *GoogleCloudAiplatformV1CancelDataLabelingJobRequest) *ProjectsLocationsDataLabelingJobsCancelCall
Cancel: Cancels a DataLabelingJob. Success of cancellation is not guaranteed.
func (r *ProjectsLocationsDataLabelingJobsService) Create(parent string, googlecloudaiplatformv1datalabelingjob *GoogleCloudAiplatformV1DataLabelingJob) *ProjectsLocationsDataLabelingJobsCreateCall
Create: Creates a DataLabelingJob.
func (r *ProjectsLocationsDataLabelingJobsService) Delete(name string) *ProjectsLocationsDataLabelingJobsDeleteCall
Delete: Deletes a DataLabelingJob.
func (r *ProjectsLocationsDataLabelingJobsService) Get(name string) *ProjectsLocationsDataLabelingJobsGetCall
Get: Gets a DataLabelingJob.
func (r *ProjectsLocationsDataLabelingJobsService) List(parent string) *ProjectsLocationsDataLabelingJobsListCall
List: Lists DataLabelingJobs in a Location.
type ProjectsLocationsDatasetsAnnotationSpecsGetCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsDatasetsAnnotationSpecsGetCall) Context(ctx context.Context) *ProjectsLocationsDatasetsAnnotationSpecsGetCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsDatasetsAnnotationSpecsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1AnnotationSpec, error)
Do executes the "aiplatform.projects.locations.datasets.annotationSpecs.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1AnnotationSpec.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsDatasetsAnnotationSpecsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsDatasetsAnnotationSpecsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsDatasetsAnnotationSpecsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsDatasetsAnnotationSpecsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsDatasetsAnnotationSpecsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (c *ProjectsLocationsDatasetsAnnotationSpecsGetCall) ReadMask(readMask string) *ProjectsLocationsDatasetsAnnotationSpecsGetCall
ReadMask sets the optional parameter "readMask": Mask specifying which fields to read.
type ProjectsLocationsDatasetsAnnotationSpecsOperationsCancelCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsDatasetsAnnotationSpecsOperationsCancelCall) Context(ctx context.Context) *ProjectsLocationsDatasetsAnnotationSpecsOperationsCancelCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsDatasetsAnnotationSpecsOperationsCancelCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "aiplatform.projects.locations.datasets.annotationSpecs.operations.cancel" call. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsDatasetsAnnotationSpecsOperationsCancelCall) Fields(s ...googleapi.Field) *ProjectsLocationsDatasetsAnnotationSpecsOperationsCancelCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsDatasetsAnnotationSpecsOperationsCancelCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsDatasetsAnnotationSpecsOperationsDeleteCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsDatasetsAnnotationSpecsOperationsDeleteCall) Context(ctx context.Context) *ProjectsLocationsDatasetsAnnotationSpecsOperationsDeleteCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsDatasetsAnnotationSpecsOperationsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "aiplatform.projects.locations.datasets.annotationSpecs.operations.delete" call. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsDatasetsAnnotationSpecsOperationsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsDatasetsAnnotationSpecsOperationsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsDatasetsAnnotationSpecsOperationsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsDatasetsAnnotationSpecsOperationsGetCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsDatasetsAnnotationSpecsOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsDatasetsAnnotationSpecsOperationsGetCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsDatasetsAnnotationSpecsOperationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.datasets.annotationSpecs.operations.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsDatasetsAnnotationSpecsOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsDatasetsAnnotationSpecsOperationsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsDatasetsAnnotationSpecsOperationsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsDatasetsAnnotationSpecsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsDatasetsAnnotationSpecsOperationsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsLocationsDatasetsAnnotationSpecsOperationsListCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsDatasetsAnnotationSpecsOperationsListCall) Context(ctx context.Context) *ProjectsLocationsDatasetsAnnotationSpecsOperationsListCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsDatasetsAnnotationSpecsOperationsListCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningListOperationsResponse, error)
Do executes the "aiplatform.projects.locations.datasets.annotationSpecs.operations.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningListOperationsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsDatasetsAnnotationSpecsOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsDatasetsAnnotationSpecsOperationsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsDatasetsAnnotationSpecsOperationsListCall) Filter(filter string) *ProjectsLocationsDatasetsAnnotationSpecsOperationsListCall
Filter sets the optional parameter "filter": The standard list filter.
func (c *ProjectsLocationsDatasetsAnnotationSpecsOperationsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsDatasetsAnnotationSpecsOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsDatasetsAnnotationSpecsOperationsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (c *ProjectsLocationsDatasetsAnnotationSpecsOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsDatasetsAnnotationSpecsOperationsListCall
PageSize sets the optional parameter "pageSize": The standard list page size.
func (c *ProjectsLocationsDatasetsAnnotationSpecsOperationsListCall) PageToken(pageToken string) *ProjectsLocationsDatasetsAnnotationSpecsOperationsListCall
PageToken sets the optional parameter "pageToken": The standard list page token.
func (c *ProjectsLocationsDatasetsAnnotationSpecsOperationsListCall) Pages(ctx context.Context, f func(*GoogleLongrunningListOperationsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ProjectsLocationsDatasetsAnnotationSpecsOperationsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsDatasetsAnnotationSpecsOperationsService(s *Service) *ProjectsLocationsDatasetsAnnotationSpecsOperationsService
func (r *ProjectsLocationsDatasetsAnnotationSpecsOperationsService) Cancel(name string) *ProjectsLocationsDatasetsAnnotationSpecsOperationsCancelCall
Cancel: Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
- name: The name of the operation resource to be cancelled.
func (r *ProjectsLocationsDatasetsAnnotationSpecsOperationsService) Delete(name string) *ProjectsLocationsDatasetsAnnotationSpecsOperationsDeleteCall
Delete: Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
- name: The name of the operation resource to be deleted.
func (r *ProjectsLocationsDatasetsAnnotationSpecsOperationsService) Get(name string) *ProjectsLocationsDatasetsAnnotationSpecsOperationsGetCall
Get: Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
- name: The name of the operation resource.
func (r *ProjectsLocationsDatasetsAnnotationSpecsOperationsService) List(name string) *ProjectsLocationsDatasetsAnnotationSpecsOperationsListCall
List: Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.
- name: The name of the operation's parent resource.
func (r *ProjectsLocationsDatasetsAnnotationSpecsOperationsService) Wait(name string) *ProjectsLocationsDatasetsAnnotationSpecsOperationsWaitCall
Wait: Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.
- name: The name of the operation resource to wait on.
type ProjectsLocationsDatasetsAnnotationSpecsOperationsWaitCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsDatasetsAnnotationSpecsOperationsWaitCall) Context(ctx context.Context) *ProjectsLocationsDatasetsAnnotationSpecsOperationsWaitCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsDatasetsAnnotationSpecsOperationsWaitCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.datasets.annotationSpecs.operations.wait" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsDatasetsAnnotationSpecsOperationsWaitCall) Fields(s ...googleapi.Field) *ProjectsLocationsDatasetsAnnotationSpecsOperationsWaitCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsDatasetsAnnotationSpecsOperationsWaitCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsDatasetsAnnotationSpecsOperationsWaitCall) Timeout(timeout string) *ProjectsLocationsDatasetsAnnotationSpecsOperationsWaitCall
Timeout sets the optional parameter "timeout": The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.
type ProjectsLocationsDatasetsAnnotationSpecsService struct { Operations *ProjectsLocationsDatasetsAnnotationSpecsOperationsService // contains filtered or unexported fields }
func NewProjectsLocationsDatasetsAnnotationSpecsService(s *Service) *ProjectsLocationsDatasetsAnnotationSpecsService
func (r *ProjectsLocationsDatasetsAnnotationSpecsService) Get(name string) *ProjectsLocationsDatasetsAnnotationSpecsGetCall
Get: Gets an AnnotationSpec.
type ProjectsLocationsDatasetsCreateCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsDatasetsCreateCall) Context(ctx context.Context) *ProjectsLocationsDatasetsCreateCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsDatasetsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.datasets.create" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsDatasetsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsDatasetsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsDatasetsCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsDatasetsDataItemsAnnotationsListCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsDatasetsDataItemsAnnotationsListCall) Context(ctx context.Context) *ProjectsLocationsDatasetsDataItemsAnnotationsListCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsDatasetsDataItemsAnnotationsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1ListAnnotationsResponse, error)
Do executes the "aiplatform.projects.locations.datasets.dataItems.annotations.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1ListAnnotationsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsDatasetsDataItemsAnnotationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsDatasetsDataItemsAnnotationsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsDatasetsDataItemsAnnotationsListCall) Filter(filter string) *ProjectsLocationsDatasetsDataItemsAnnotationsListCall
Filter sets the optional parameter "filter": The standard list filter.
func (c *ProjectsLocationsDatasetsDataItemsAnnotationsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsDatasetsDataItemsAnnotationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsDatasetsDataItemsAnnotationsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (c *ProjectsLocationsDatasetsDataItemsAnnotationsListCall) OrderBy(orderBy string) *ProjectsLocationsDatasetsDataItemsAnnotationsListCall
OrderBy sets the optional parameter "orderBy": A comma-separated list of fields to order by, sorted in ascending order. Use "desc" after a field name for descending.
func (c *ProjectsLocationsDatasetsDataItemsAnnotationsListCall) PageSize(pageSize int64) *ProjectsLocationsDatasetsDataItemsAnnotationsListCall
PageSize sets the optional parameter "pageSize": The standard list page size.
func (c *ProjectsLocationsDatasetsDataItemsAnnotationsListCall) PageToken(pageToken string) *ProjectsLocationsDatasetsDataItemsAnnotationsListCall
PageToken sets the optional parameter "pageToken": The standard list page token.
func (c *ProjectsLocationsDatasetsDataItemsAnnotationsListCall) Pages(ctx context.Context, f func(*GoogleCloudAiplatformV1ListAnnotationsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
func (c *ProjectsLocationsDatasetsDataItemsAnnotationsListCall) ReadMask(readMask string) *ProjectsLocationsDatasetsDataItemsAnnotationsListCall
ReadMask sets the optional parameter "readMask": Mask specifying which fields to read.
type ProjectsLocationsDatasetsDataItemsAnnotationsOperationsCancelCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsDatasetsDataItemsAnnotationsOperationsCancelCall) Context(ctx context.Context) *ProjectsLocationsDatasetsDataItemsAnnotationsOperationsCancelCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsDatasetsDataItemsAnnotationsOperationsCancelCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "aiplatform.projects.locations.datasets.dataItems.annotations.operations.cancel" call. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsDatasetsDataItemsAnnotationsOperationsCancelCall) Fields(s ...googleapi.Field) *ProjectsLocationsDatasetsDataItemsAnnotationsOperationsCancelCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsDatasetsDataItemsAnnotationsOperationsCancelCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsDatasetsDataItemsAnnotationsOperationsDeleteCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsDatasetsDataItemsAnnotationsOperationsDeleteCall) Context(ctx context.Context) *ProjectsLocationsDatasetsDataItemsAnnotationsOperationsDeleteCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsDatasetsDataItemsAnnotationsOperationsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "aiplatform.projects.locations.datasets.dataItems.annotations.operations.delete" call. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsDatasetsDataItemsAnnotationsOperationsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsDatasetsDataItemsAnnotationsOperationsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsDatasetsDataItemsAnnotationsOperationsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsDatasetsDataItemsAnnotationsOperationsGetCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsDatasetsDataItemsAnnotationsOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsDatasetsDataItemsAnnotationsOperationsGetCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsDatasetsDataItemsAnnotationsOperationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.datasets.dataItems.annotations.operations.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsDatasetsDataItemsAnnotationsOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsDatasetsDataItemsAnnotationsOperationsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsDatasetsDataItemsAnnotationsOperationsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsDatasetsDataItemsAnnotationsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsDatasetsDataItemsAnnotationsOperationsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsLocationsDatasetsDataItemsAnnotationsOperationsListCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsDatasetsDataItemsAnnotationsOperationsListCall) Context(ctx context.Context) *ProjectsLocationsDatasetsDataItemsAnnotationsOperationsListCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsDatasetsDataItemsAnnotationsOperationsListCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningListOperationsResponse, error)
Do executes the "aiplatform.projects.locations.datasets.dataItems.annotations.operations.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningListOperationsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsDatasetsDataItemsAnnotationsOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsDatasetsDataItemsAnnotationsOperationsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsDatasetsDataItemsAnnotationsOperationsListCall) Filter(filter string) *ProjectsLocationsDatasetsDataItemsAnnotationsOperationsListCall
Filter sets the optional parameter "filter": The standard list filter.
func (c *ProjectsLocationsDatasetsDataItemsAnnotationsOperationsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsDatasetsDataItemsAnnotationsOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsDatasetsDataItemsAnnotationsOperationsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (c *ProjectsLocationsDatasetsDataItemsAnnotationsOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsDatasetsDataItemsAnnotationsOperationsListCall
PageSize sets the optional parameter "pageSize": The standard list page size.
func (c *ProjectsLocationsDatasetsDataItemsAnnotationsOperationsListCall) PageToken(pageToken string) *ProjectsLocationsDatasetsDataItemsAnnotationsOperationsListCall
PageToken sets the optional parameter "pageToken": The standard list page token.
func (c *ProjectsLocationsDatasetsDataItemsAnnotationsOperationsListCall) Pages(ctx context.Context, f func(*GoogleLongrunningListOperationsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ProjectsLocationsDatasetsDataItemsAnnotationsOperationsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsDatasetsDataItemsAnnotationsOperationsService(s *Service) *ProjectsLocationsDatasetsDataItemsAnnotationsOperationsService
func (r *ProjectsLocationsDatasetsDataItemsAnnotationsOperationsService) Cancel(name string) *ProjectsLocationsDatasetsDataItemsAnnotationsOperationsCancelCall
Cancel: Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
- name: The name of the operation resource to be cancelled.
func (r *ProjectsLocationsDatasetsDataItemsAnnotationsOperationsService) Delete(name string) *ProjectsLocationsDatasetsDataItemsAnnotationsOperationsDeleteCall
Delete: Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
- name: The name of the operation resource to be deleted.
func (r *ProjectsLocationsDatasetsDataItemsAnnotationsOperationsService) Get(name string) *ProjectsLocationsDatasetsDataItemsAnnotationsOperationsGetCall
Get: Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
- name: The name of the operation resource.
func (r *ProjectsLocationsDatasetsDataItemsAnnotationsOperationsService) List(name string) *ProjectsLocationsDatasetsDataItemsAnnotationsOperationsListCall
List: Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.
- name: The name of the operation's parent resource.
func (r *ProjectsLocationsDatasetsDataItemsAnnotationsOperationsService) Wait(name string) *ProjectsLocationsDatasetsDataItemsAnnotationsOperationsWaitCall
Wait: Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.
- name: The name of the operation resource to wait on.
type ProjectsLocationsDatasetsDataItemsAnnotationsOperationsWaitCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsDatasetsDataItemsAnnotationsOperationsWaitCall) Context(ctx context.Context) *ProjectsLocationsDatasetsDataItemsAnnotationsOperationsWaitCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsDatasetsDataItemsAnnotationsOperationsWaitCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.datasets.dataItems.annotations.operations.wait" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsDatasetsDataItemsAnnotationsOperationsWaitCall) Fields(s ...googleapi.Field) *ProjectsLocationsDatasetsDataItemsAnnotationsOperationsWaitCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsDatasetsDataItemsAnnotationsOperationsWaitCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsDatasetsDataItemsAnnotationsOperationsWaitCall) Timeout(timeout string) *ProjectsLocationsDatasetsDataItemsAnnotationsOperationsWaitCall
Timeout sets the optional parameter "timeout": The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.
type ProjectsLocationsDatasetsDataItemsAnnotationsService struct { Operations *ProjectsLocationsDatasetsDataItemsAnnotationsOperationsService // contains filtered or unexported fields }
func NewProjectsLocationsDatasetsDataItemsAnnotationsService(s *Service) *ProjectsLocationsDatasetsDataItemsAnnotationsService
func (r *ProjectsLocationsDatasetsDataItemsAnnotationsService) List(parent string) *ProjectsLocationsDatasetsDataItemsAnnotationsListCall
List: Lists Annotations belongs to a dataitem
type ProjectsLocationsDatasetsDataItemsListCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsDatasetsDataItemsListCall) Context(ctx context.Context) *ProjectsLocationsDatasetsDataItemsListCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsDatasetsDataItemsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1ListDataItemsResponse, error)
Do executes the "aiplatform.projects.locations.datasets.dataItems.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1ListDataItemsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsDatasetsDataItemsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsDatasetsDataItemsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsDatasetsDataItemsListCall) Filter(filter string) *ProjectsLocationsDatasetsDataItemsListCall
Filter sets the optional parameter "filter": The standard list filter.
func (c *ProjectsLocationsDatasetsDataItemsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsDatasetsDataItemsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsDatasetsDataItemsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (c *ProjectsLocationsDatasetsDataItemsListCall) OrderBy(orderBy string) *ProjectsLocationsDatasetsDataItemsListCall
OrderBy sets the optional parameter "orderBy": A comma-separated list of fields to order by, sorted in ascending order. Use "desc" after a field name for descending.
func (c *ProjectsLocationsDatasetsDataItemsListCall) PageSize(pageSize int64) *ProjectsLocationsDatasetsDataItemsListCall
PageSize sets the optional parameter "pageSize": The standard list page size.
func (c *ProjectsLocationsDatasetsDataItemsListCall) PageToken(pageToken string) *ProjectsLocationsDatasetsDataItemsListCall
PageToken sets the optional parameter "pageToken": The standard list page token.
func (c *ProjectsLocationsDatasetsDataItemsListCall) Pages(ctx context.Context, f func(*GoogleCloudAiplatformV1ListDataItemsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
func (c *ProjectsLocationsDatasetsDataItemsListCall) ReadMask(readMask string) *ProjectsLocationsDatasetsDataItemsListCall
ReadMask sets the optional parameter "readMask": Mask specifying which fields to read.
type ProjectsLocationsDatasetsDataItemsOperationsCancelCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsDatasetsDataItemsOperationsCancelCall) Context(ctx context.Context) *ProjectsLocationsDatasetsDataItemsOperationsCancelCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsDatasetsDataItemsOperationsCancelCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "aiplatform.projects.locations.datasets.dataItems.operations.cancel" call. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsDatasetsDataItemsOperationsCancelCall) Fields(s ...googleapi.Field) *ProjectsLocationsDatasetsDataItemsOperationsCancelCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsDatasetsDataItemsOperationsCancelCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsDatasetsDataItemsOperationsDeleteCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsDatasetsDataItemsOperationsDeleteCall) Context(ctx context.Context) *ProjectsLocationsDatasetsDataItemsOperationsDeleteCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsDatasetsDataItemsOperationsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "aiplatform.projects.locations.datasets.dataItems.operations.delete" call. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsDatasetsDataItemsOperationsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsDatasetsDataItemsOperationsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsDatasetsDataItemsOperationsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsDatasetsDataItemsOperationsGetCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsDatasetsDataItemsOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsDatasetsDataItemsOperationsGetCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsDatasetsDataItemsOperationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.datasets.dataItems.operations.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsDatasetsDataItemsOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsDatasetsDataItemsOperationsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsDatasetsDataItemsOperationsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsDatasetsDataItemsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsDatasetsDataItemsOperationsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsLocationsDatasetsDataItemsOperationsListCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsDatasetsDataItemsOperationsListCall) Context(ctx context.Context) *ProjectsLocationsDatasetsDataItemsOperationsListCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsDatasetsDataItemsOperationsListCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningListOperationsResponse, error)
Do executes the "aiplatform.projects.locations.datasets.dataItems.operations.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningListOperationsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsDatasetsDataItemsOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsDatasetsDataItemsOperationsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsDatasetsDataItemsOperationsListCall) Filter(filter string) *ProjectsLocationsDatasetsDataItemsOperationsListCall
Filter sets the optional parameter "filter": The standard list filter.
func (c *ProjectsLocationsDatasetsDataItemsOperationsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsDatasetsDataItemsOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsDatasetsDataItemsOperationsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (c *ProjectsLocationsDatasetsDataItemsOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsDatasetsDataItemsOperationsListCall
PageSize sets the optional parameter "pageSize": The standard list page size.
func (c *ProjectsLocationsDatasetsDataItemsOperationsListCall) PageToken(pageToken string) *ProjectsLocationsDatasetsDataItemsOperationsListCall
PageToken sets the optional parameter "pageToken": The standard list page token.
func (c *ProjectsLocationsDatasetsDataItemsOperationsListCall) Pages(ctx context.Context, f func(*GoogleLongrunningListOperationsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ProjectsLocationsDatasetsDataItemsOperationsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsDatasetsDataItemsOperationsService(s *Service) *ProjectsLocationsDatasetsDataItemsOperationsService
func (r *ProjectsLocationsDatasetsDataItemsOperationsService) Cancel(name string) *ProjectsLocationsDatasetsDataItemsOperationsCancelCall
Cancel: Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
- name: The name of the operation resource to be cancelled.
func (r *ProjectsLocationsDatasetsDataItemsOperationsService) Delete(name string) *ProjectsLocationsDatasetsDataItemsOperationsDeleteCall
Delete: Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
- name: The name of the operation resource to be deleted.
func (r *ProjectsLocationsDatasetsDataItemsOperationsService) Get(name string) *ProjectsLocationsDatasetsDataItemsOperationsGetCall
Get: Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
- name: The name of the operation resource.
func (r *ProjectsLocationsDatasetsDataItemsOperationsService) List(name string) *ProjectsLocationsDatasetsDataItemsOperationsListCall
List: Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.
- name: The name of the operation's parent resource.
func (r *ProjectsLocationsDatasetsDataItemsOperationsService) Wait(name string) *ProjectsLocationsDatasetsDataItemsOperationsWaitCall
Wait: Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.
- name: The name of the operation resource to wait on.
type ProjectsLocationsDatasetsDataItemsOperationsWaitCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsDatasetsDataItemsOperationsWaitCall) Context(ctx context.Context) *ProjectsLocationsDatasetsDataItemsOperationsWaitCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsDatasetsDataItemsOperationsWaitCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.datasets.dataItems.operations.wait" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsDatasetsDataItemsOperationsWaitCall) Fields(s ...googleapi.Field) *ProjectsLocationsDatasetsDataItemsOperationsWaitCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsDatasetsDataItemsOperationsWaitCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsDatasetsDataItemsOperationsWaitCall) Timeout(timeout string) *ProjectsLocationsDatasetsDataItemsOperationsWaitCall
Timeout sets the optional parameter "timeout": The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.
type ProjectsLocationsDatasetsDataItemsService struct { Annotations *ProjectsLocationsDatasetsDataItemsAnnotationsService Operations *ProjectsLocationsDatasetsDataItemsOperationsService // contains filtered or unexported fields }
func NewProjectsLocationsDatasetsDataItemsService(s *Service) *ProjectsLocationsDatasetsDataItemsService
func (r *ProjectsLocationsDatasetsDataItemsService) List(parent string) *ProjectsLocationsDatasetsDataItemsListCall
List: Lists DataItems in a Dataset.
type ProjectsLocationsDatasetsDatasetVersionsCreateCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsDatasetsDatasetVersionsCreateCall) Context(ctx context.Context) *ProjectsLocationsDatasetsDatasetVersionsCreateCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsDatasetsDatasetVersionsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.datasets.datasetVersions.create" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsDatasetsDatasetVersionsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsDatasetsDatasetVersionsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsDatasetsDatasetVersionsCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsDatasetsDatasetVersionsDeleteCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsDatasetsDatasetVersionsDeleteCall) Context(ctx context.Context) *ProjectsLocationsDatasetsDatasetVersionsDeleteCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsDatasetsDatasetVersionsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.datasets.datasetVersions.delete" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsDatasetsDatasetVersionsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsDatasetsDatasetVersionsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsDatasetsDatasetVersionsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsDatasetsDatasetVersionsGetCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsDatasetsDatasetVersionsGetCall) Context(ctx context.Context) *ProjectsLocationsDatasetsDatasetVersionsGetCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsDatasetsDatasetVersionsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1DatasetVersion, error)
Do executes the "aiplatform.projects.locations.datasets.datasetVersions.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1DatasetVersion.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsDatasetsDatasetVersionsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsDatasetsDatasetVersionsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsDatasetsDatasetVersionsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsDatasetsDatasetVersionsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsDatasetsDatasetVersionsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (c *ProjectsLocationsDatasetsDatasetVersionsGetCall) ReadMask(readMask string) *ProjectsLocationsDatasetsDatasetVersionsGetCall
ReadMask sets the optional parameter "readMask": Mask specifying which fields to read.
type ProjectsLocationsDatasetsDatasetVersionsListCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsDatasetsDatasetVersionsListCall) Context(ctx context.Context) *ProjectsLocationsDatasetsDatasetVersionsListCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsDatasetsDatasetVersionsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1ListDatasetVersionsResponse, error)
Do executes the "aiplatform.projects.locations.datasets.datasetVersions.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1ListDatasetVersionsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsDatasetsDatasetVersionsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsDatasetsDatasetVersionsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsDatasetsDatasetVersionsListCall) Filter(filter string) *ProjectsLocationsDatasetsDatasetVersionsListCall
Filter sets the optional parameter "filter": The standard list filter.
func (c *ProjectsLocationsDatasetsDatasetVersionsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsDatasetsDatasetVersionsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsDatasetsDatasetVersionsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (c *ProjectsLocationsDatasetsDatasetVersionsListCall) OrderBy(orderBy string) *ProjectsLocationsDatasetsDatasetVersionsListCall
OrderBy sets the optional parameter "orderBy": A comma-separated list of fields to order by, sorted in ascending order. Use "desc" after a field name for descending.
func (c *ProjectsLocationsDatasetsDatasetVersionsListCall) PageSize(pageSize int64) *ProjectsLocationsDatasetsDatasetVersionsListCall
PageSize sets the optional parameter "pageSize": The standard list page size.
func (c *ProjectsLocationsDatasetsDatasetVersionsListCall) PageToken(pageToken string) *ProjectsLocationsDatasetsDatasetVersionsListCall
PageToken sets the optional parameter "pageToken": The standard list page token.
func (c *ProjectsLocationsDatasetsDatasetVersionsListCall) Pages(ctx context.Context, f func(*GoogleCloudAiplatformV1ListDatasetVersionsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
func (c *ProjectsLocationsDatasetsDatasetVersionsListCall) ReadMask(readMask string) *ProjectsLocationsDatasetsDatasetVersionsListCall
ReadMask sets the optional parameter "readMask": Mask specifying which fields to read.
type ProjectsLocationsDatasetsDatasetVersionsPatchCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsDatasetsDatasetVersionsPatchCall) Context(ctx context.Context) *ProjectsLocationsDatasetsDatasetVersionsPatchCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsDatasetsDatasetVersionsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1DatasetVersion, error)
Do executes the "aiplatform.projects.locations.datasets.datasetVersions.patch" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1DatasetVersion.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsDatasetsDatasetVersionsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsDatasetsDatasetVersionsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsDatasetsDatasetVersionsPatchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsDatasetsDatasetVersionsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsDatasetsDatasetVersionsPatchCall
UpdateMask sets the optional parameter "updateMask": Required. The update mask applies to the resource. For the `FieldMask` definition, see google.protobuf.FieldMask. Updatable fields: * `display_name`
type ProjectsLocationsDatasetsDatasetVersionsRestoreCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsDatasetsDatasetVersionsRestoreCall) Context(ctx context.Context) *ProjectsLocationsDatasetsDatasetVersionsRestoreCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsDatasetsDatasetVersionsRestoreCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.datasets.datasetVersions.restore" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsDatasetsDatasetVersionsRestoreCall) Fields(s ...googleapi.Field) *ProjectsLocationsDatasetsDatasetVersionsRestoreCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsDatasetsDatasetVersionsRestoreCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsDatasetsDatasetVersionsRestoreCall) IfNoneMatch(entityTag string) *ProjectsLocationsDatasetsDatasetVersionsRestoreCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsLocationsDatasetsDatasetVersionsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsDatasetsDatasetVersionsService(s *Service) *ProjectsLocationsDatasetsDatasetVersionsService
func (r *ProjectsLocationsDatasetsDatasetVersionsService) Create(parent string, googlecloudaiplatformv1datasetversion *GoogleCloudAiplatformV1DatasetVersion) *ProjectsLocationsDatasetsDatasetVersionsCreateCall
Create: Create a version from a Dataset.
func (r *ProjectsLocationsDatasetsDatasetVersionsService) Delete(name string) *ProjectsLocationsDatasetsDatasetVersionsDeleteCall
Delete: Deletes a Dataset version.
func (r *ProjectsLocationsDatasetsDatasetVersionsService) Get(name string) *ProjectsLocationsDatasetsDatasetVersionsGetCall
Get: Gets a Dataset version.
func (r *ProjectsLocationsDatasetsDatasetVersionsService) List(parent string) *ProjectsLocationsDatasetsDatasetVersionsListCall
List: Lists DatasetVersions in a Dataset.
func (r *ProjectsLocationsDatasetsDatasetVersionsService) Patch(name string, googlecloudaiplatformv1datasetversion *GoogleCloudAiplatformV1DatasetVersion) *ProjectsLocationsDatasetsDatasetVersionsPatchCall
Patch: Updates a DatasetVersion.
- name: Output only. The resource name of the DatasetVersion.
func (r *ProjectsLocationsDatasetsDatasetVersionsService) Restore(name string) *ProjectsLocationsDatasetsDatasetVersionsRestoreCall
Restore: Restores a dataset version.
type ProjectsLocationsDatasetsDeleteCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsDatasetsDeleteCall) Context(ctx context.Context) *ProjectsLocationsDatasetsDeleteCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsDatasetsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.datasets.delete" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsDatasetsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsDatasetsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsDatasetsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsDatasetsExportCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsDatasetsExportCall) Context(ctx context.Context) *ProjectsLocationsDatasetsExportCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsDatasetsExportCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.datasets.export" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsDatasetsExportCall) Fields(s ...googleapi.Field) *ProjectsLocationsDatasetsExportCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsDatasetsExportCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsDatasetsGetCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsDatasetsGetCall) Context(ctx context.Context) *ProjectsLocationsDatasetsGetCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsDatasetsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1Dataset, error)
Do executes the "aiplatform.projects.locations.datasets.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1Dataset.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsDatasetsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsDatasetsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsDatasetsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsDatasetsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsDatasetsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (c *ProjectsLocationsDatasetsGetCall) ReadMask(readMask string) *ProjectsLocationsDatasetsGetCall
ReadMask sets the optional parameter "readMask": Mask specifying which fields to read.
type ProjectsLocationsDatasetsImportCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsDatasetsImportCall) Context(ctx context.Context) *ProjectsLocationsDatasetsImportCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsDatasetsImportCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.datasets.import" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsDatasetsImportCall) Fields(s ...googleapi.Field) *ProjectsLocationsDatasetsImportCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsDatasetsImportCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsDatasetsListCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsDatasetsListCall) Context(ctx context.Context) *ProjectsLocationsDatasetsListCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsDatasetsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1ListDatasetsResponse, error)
Do executes the "aiplatform.projects.locations.datasets.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1ListDatasetsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsDatasetsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsDatasetsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsDatasetsListCall) Filter(filter string) *ProjectsLocationsDatasetsListCall
Filter sets the optional parameter "filter": An expression for filtering the results of the request. For field names both snake_case and camelCase are supported. * `display_name`: supports = and != * `metadata_schema_uri`: supports = and != * `labels` supports general map functions that is: * `labels.key=value` - key:value equality * `labels.key:* or labels:key - key existence * A key including a space must be quoted. `labels."a key". Some examples: * `displayName="myDisplayName" * `labels.myKey="myValue"
func (c *ProjectsLocationsDatasetsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsDatasetsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsDatasetsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (c *ProjectsLocationsDatasetsListCall) OrderBy(orderBy string) *ProjectsLocationsDatasetsListCall
OrderBy sets the optional parameter "orderBy": A comma-separated list of fields to order by, sorted in ascending order. Use "desc" after a field name for descending. Supported fields: * `display_name` * `create_time` * `update_time`
func (c *ProjectsLocationsDatasetsListCall) PageSize(pageSize int64) *ProjectsLocationsDatasetsListCall
PageSize sets the optional parameter "pageSize": The standard list page size.
func (c *ProjectsLocationsDatasetsListCall) PageToken(pageToken string) *ProjectsLocationsDatasetsListCall
PageToken sets the optional parameter "pageToken": The standard list page token.
func (c *ProjectsLocationsDatasetsListCall) Pages(ctx context.Context, f func(*GoogleCloudAiplatformV1ListDatasetsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
func (c *ProjectsLocationsDatasetsListCall) ReadMask(readMask string) *ProjectsLocationsDatasetsListCall
ReadMask sets the optional parameter "readMask": Mask specifying which fields to read.
type ProjectsLocationsDatasetsOperationsCancelCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsDatasetsOperationsCancelCall) Context(ctx context.Context) *ProjectsLocationsDatasetsOperationsCancelCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsDatasetsOperationsCancelCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "aiplatform.projects.locations.datasets.operations.cancel" call. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsDatasetsOperationsCancelCall) Fields(s ...googleapi.Field) *ProjectsLocationsDatasetsOperationsCancelCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsDatasetsOperationsCancelCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsDatasetsOperationsDeleteCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsDatasetsOperationsDeleteCall) Context(ctx context.Context) *ProjectsLocationsDatasetsOperationsDeleteCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsDatasetsOperationsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "aiplatform.projects.locations.datasets.operations.delete" call. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsDatasetsOperationsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsDatasetsOperationsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsDatasetsOperationsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsDatasetsOperationsGetCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsDatasetsOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsDatasetsOperationsGetCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsDatasetsOperationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.datasets.operations.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsDatasetsOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsDatasetsOperationsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsDatasetsOperationsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsDatasetsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsDatasetsOperationsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsLocationsDatasetsOperationsListCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsDatasetsOperationsListCall) Context(ctx context.Context) *ProjectsLocationsDatasetsOperationsListCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsDatasetsOperationsListCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningListOperationsResponse, error)
Do executes the "aiplatform.projects.locations.datasets.operations.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningListOperationsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsDatasetsOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsDatasetsOperationsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsDatasetsOperationsListCall) Filter(filter string) *ProjectsLocationsDatasetsOperationsListCall
Filter sets the optional parameter "filter": The standard list filter.
func (c *ProjectsLocationsDatasetsOperationsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsDatasetsOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsDatasetsOperationsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (c *ProjectsLocationsDatasetsOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsDatasetsOperationsListCall
PageSize sets the optional parameter "pageSize": The standard list page size.
func (c *ProjectsLocationsDatasetsOperationsListCall) PageToken(pageToken string) *ProjectsLocationsDatasetsOperationsListCall
PageToken sets the optional parameter "pageToken": The standard list page token.
func (c *ProjectsLocationsDatasetsOperationsListCall) Pages(ctx context.Context, f func(*GoogleLongrunningListOperationsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ProjectsLocationsDatasetsOperationsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsDatasetsOperationsService(s *Service) *ProjectsLocationsDatasetsOperationsService
func (r *ProjectsLocationsDatasetsOperationsService) Cancel(name string) *ProjectsLocationsDatasetsOperationsCancelCall
Cancel: Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
- name: The name of the operation resource to be cancelled.
func (r *ProjectsLocationsDatasetsOperationsService) Delete(name string) *ProjectsLocationsDatasetsOperationsDeleteCall
Delete: Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
- name: The name of the operation resource to be deleted.
func (r *ProjectsLocationsDatasetsOperationsService) Get(name string) *ProjectsLocationsDatasetsOperationsGetCall
Get: Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
- name: The name of the operation resource.
func (r *ProjectsLocationsDatasetsOperationsService) List(name string) *ProjectsLocationsDatasetsOperationsListCall
List: Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.
- name: The name of the operation's parent resource.
func (r *ProjectsLocationsDatasetsOperationsService) Wait(name string) *ProjectsLocationsDatasetsOperationsWaitCall
Wait: Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.
- name: The name of the operation resource to wait on.
type ProjectsLocationsDatasetsOperationsWaitCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsDatasetsOperationsWaitCall) Context(ctx context.Context) *ProjectsLocationsDatasetsOperationsWaitCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsDatasetsOperationsWaitCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.datasets.operations.wait" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsDatasetsOperationsWaitCall) Fields(s ...googleapi.Field) *ProjectsLocationsDatasetsOperationsWaitCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsDatasetsOperationsWaitCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsDatasetsOperationsWaitCall) Timeout(timeout string) *ProjectsLocationsDatasetsOperationsWaitCall
Timeout sets the optional parameter "timeout": The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.
type ProjectsLocationsDatasetsPatchCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsDatasetsPatchCall) Context(ctx context.Context) *ProjectsLocationsDatasetsPatchCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsDatasetsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1Dataset, error)
Do executes the "aiplatform.projects.locations.datasets.patch" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1Dataset.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsDatasetsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsDatasetsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsDatasetsPatchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsDatasetsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsDatasetsPatchCall
UpdateMask sets the optional parameter "updateMask": Required. The update mask applies to the resource. For the `FieldMask` definition, see google.protobuf.FieldMask. Updatable fields: * `display_name` * `description` * `labels`
type ProjectsLocationsDatasetsSavedQueriesDeleteCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsDatasetsSavedQueriesDeleteCall) Context(ctx context.Context) *ProjectsLocationsDatasetsSavedQueriesDeleteCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsDatasetsSavedQueriesDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.datasets.savedQueries.delete" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsDatasetsSavedQueriesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsDatasetsSavedQueriesDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsDatasetsSavedQueriesDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsDatasetsSavedQueriesListCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsDatasetsSavedQueriesListCall) Context(ctx context.Context) *ProjectsLocationsDatasetsSavedQueriesListCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsDatasetsSavedQueriesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1ListSavedQueriesResponse, error)
Do executes the "aiplatform.projects.locations.datasets.savedQueries.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1ListSavedQueriesResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsDatasetsSavedQueriesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsDatasetsSavedQueriesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsDatasetsSavedQueriesListCall) Filter(filter string) *ProjectsLocationsDatasetsSavedQueriesListCall
Filter sets the optional parameter "filter": The standard list filter.
func (c *ProjectsLocationsDatasetsSavedQueriesListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsDatasetsSavedQueriesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsDatasetsSavedQueriesListCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (c *ProjectsLocationsDatasetsSavedQueriesListCall) OrderBy(orderBy string) *ProjectsLocationsDatasetsSavedQueriesListCall
OrderBy sets the optional parameter "orderBy": A comma-separated list of fields to order by, sorted in ascending order. Use "desc" after a field name for descending.
func (c *ProjectsLocationsDatasetsSavedQueriesListCall) PageSize(pageSize int64) *ProjectsLocationsDatasetsSavedQueriesListCall
PageSize sets the optional parameter "pageSize": The standard list page size.
func (c *ProjectsLocationsDatasetsSavedQueriesListCall) PageToken(pageToken string) *ProjectsLocationsDatasetsSavedQueriesListCall
PageToken sets the optional parameter "pageToken": The standard list page token.
func (c *ProjectsLocationsDatasetsSavedQueriesListCall) Pages(ctx context.Context, f func(*GoogleCloudAiplatformV1ListSavedQueriesResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
func (c *ProjectsLocationsDatasetsSavedQueriesListCall) ReadMask(readMask string) *ProjectsLocationsDatasetsSavedQueriesListCall
ReadMask sets the optional parameter "readMask": Mask specifying which fields to read.
type ProjectsLocationsDatasetsSavedQueriesOperationsCancelCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsDatasetsSavedQueriesOperationsCancelCall) Context(ctx context.Context) *ProjectsLocationsDatasetsSavedQueriesOperationsCancelCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsDatasetsSavedQueriesOperationsCancelCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "aiplatform.projects.locations.datasets.savedQueries.operations.cancel" call. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsDatasetsSavedQueriesOperationsCancelCall) Fields(s ...googleapi.Field) *ProjectsLocationsDatasetsSavedQueriesOperationsCancelCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsDatasetsSavedQueriesOperationsCancelCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsDatasetsSavedQueriesOperationsDeleteCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsDatasetsSavedQueriesOperationsDeleteCall) Context(ctx context.Context) *ProjectsLocationsDatasetsSavedQueriesOperationsDeleteCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsDatasetsSavedQueriesOperationsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "aiplatform.projects.locations.datasets.savedQueries.operations.delete" call. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsDatasetsSavedQueriesOperationsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsDatasetsSavedQueriesOperationsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsDatasetsSavedQueriesOperationsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsDatasetsSavedQueriesOperationsGetCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsDatasetsSavedQueriesOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsDatasetsSavedQueriesOperationsGetCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsDatasetsSavedQueriesOperationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.datasets.savedQueries.operations.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsDatasetsSavedQueriesOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsDatasetsSavedQueriesOperationsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsDatasetsSavedQueriesOperationsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsDatasetsSavedQueriesOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsDatasetsSavedQueriesOperationsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsLocationsDatasetsSavedQueriesOperationsListCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsDatasetsSavedQueriesOperationsListCall) Context(ctx context.Context) *ProjectsLocationsDatasetsSavedQueriesOperationsListCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsDatasetsSavedQueriesOperationsListCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningListOperationsResponse, error)
Do executes the "aiplatform.projects.locations.datasets.savedQueries.operations.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningListOperationsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsDatasetsSavedQueriesOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsDatasetsSavedQueriesOperationsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsDatasetsSavedQueriesOperationsListCall) Filter(filter string) *ProjectsLocationsDatasetsSavedQueriesOperationsListCall
Filter sets the optional parameter "filter": The standard list filter.
func (c *ProjectsLocationsDatasetsSavedQueriesOperationsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsDatasetsSavedQueriesOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsDatasetsSavedQueriesOperationsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (c *ProjectsLocationsDatasetsSavedQueriesOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsDatasetsSavedQueriesOperationsListCall
PageSize sets the optional parameter "pageSize": The standard list page size.
func (c *ProjectsLocationsDatasetsSavedQueriesOperationsListCall) PageToken(pageToken string) *ProjectsLocationsDatasetsSavedQueriesOperationsListCall
PageToken sets the optional parameter "pageToken": The standard list page token.
func (c *ProjectsLocationsDatasetsSavedQueriesOperationsListCall) Pages(ctx context.Context, f func(*GoogleLongrunningListOperationsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ProjectsLocationsDatasetsSavedQueriesOperationsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsDatasetsSavedQueriesOperationsService(s *Service) *ProjectsLocationsDatasetsSavedQueriesOperationsService
func (r *ProjectsLocationsDatasetsSavedQueriesOperationsService) Cancel(name string) *ProjectsLocationsDatasetsSavedQueriesOperationsCancelCall
Cancel: Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
- name: The name of the operation resource to be cancelled.
func (r *ProjectsLocationsDatasetsSavedQueriesOperationsService) Delete(name string) *ProjectsLocationsDatasetsSavedQueriesOperationsDeleteCall
Delete: Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
- name: The name of the operation resource to be deleted.
func (r *ProjectsLocationsDatasetsSavedQueriesOperationsService) Get(name string) *ProjectsLocationsDatasetsSavedQueriesOperationsGetCall
Get: Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
- name: The name of the operation resource.
func (r *ProjectsLocationsDatasetsSavedQueriesOperationsService) List(name string) *ProjectsLocationsDatasetsSavedQueriesOperationsListCall
List: Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.
- name: The name of the operation's parent resource.
func (r *ProjectsLocationsDatasetsSavedQueriesOperationsService) Wait(name string) *ProjectsLocationsDatasetsSavedQueriesOperationsWaitCall
Wait: Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.
- name: The name of the operation resource to wait on.
type ProjectsLocationsDatasetsSavedQueriesOperationsWaitCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsDatasetsSavedQueriesOperationsWaitCall) Context(ctx context.Context) *ProjectsLocationsDatasetsSavedQueriesOperationsWaitCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsDatasetsSavedQueriesOperationsWaitCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.datasets.savedQueries.operations.wait" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsDatasetsSavedQueriesOperationsWaitCall) Fields(s ...googleapi.Field) *ProjectsLocationsDatasetsSavedQueriesOperationsWaitCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsDatasetsSavedQueriesOperationsWaitCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsDatasetsSavedQueriesOperationsWaitCall) Timeout(timeout string) *ProjectsLocationsDatasetsSavedQueriesOperationsWaitCall
Timeout sets the optional parameter "timeout": The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.
type ProjectsLocationsDatasetsSavedQueriesService struct { Operations *ProjectsLocationsDatasetsSavedQueriesOperationsService // contains filtered or unexported fields }
func NewProjectsLocationsDatasetsSavedQueriesService(s *Service) *ProjectsLocationsDatasetsSavedQueriesService
func (r *ProjectsLocationsDatasetsSavedQueriesService) Delete(name string) *ProjectsLocationsDatasetsSavedQueriesDeleteCall
Delete: Deletes a SavedQuery.
func (r *ProjectsLocationsDatasetsSavedQueriesService) List(parent string) *ProjectsLocationsDatasetsSavedQueriesListCall
List: Lists SavedQueries in a Dataset.
type ProjectsLocationsDatasetsSearchDataItemsCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsDatasetsSearchDataItemsCall) AnnotationFilters(annotationFilters ...string) *ProjectsLocationsDatasetsSearchDataItemsCall
AnnotationFilters sets the optional parameter "annotationFilters": An expression that specifies what Annotations will be returned per DataItem. Annotations satisfied either of the conditions will be returned. * `annotation_spec_id` - for = or !=. Must specify `saved_query_id=` - saved query id that annotations should belong to.
func (c *ProjectsLocationsDatasetsSearchDataItemsCall) AnnotationsFilter(annotationsFilter string) *ProjectsLocationsDatasetsSearchDataItemsCall
AnnotationsFilter sets the optional parameter "annotationsFilter": An expression for filtering the Annotations that will be returned per DataItem. * `annotation_spec_id` - for = or !=.
func (c *ProjectsLocationsDatasetsSearchDataItemsCall) AnnotationsLimit(annotationsLimit int64) *ProjectsLocationsDatasetsSearchDataItemsCall
AnnotationsLimit sets the optional parameter "annotationsLimit": If set, only up to this many of Annotations will be returned per DataItemView. The maximum value is 1000. If not set, the maximum value will be used.
func (c *ProjectsLocationsDatasetsSearchDataItemsCall) Context(ctx context.Context) *ProjectsLocationsDatasetsSearchDataItemsCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsDatasetsSearchDataItemsCall) DataItemFilter(dataItemFilter string) *ProjectsLocationsDatasetsSearchDataItemsCall
DataItemFilter sets the optional parameter "dataItemFilter": An expression for filtering the DataItem that will be returned. * `data_item_id` - for = or !=. * `labeled` - for = or !=. * `has_annotation(ANNOTATION_SPEC_ID)` - true only for DataItem that have at least one annotation with annotation_spec_id = `ANNOTATION_SPEC_ID` in the context of SavedQuery or DataLabelingJob. For example: * `data_item=1` * `has_annotation(5)`
func (c *ProjectsLocationsDatasetsSearchDataItemsCall) DataLabelingJob(dataLabelingJob string) *ProjectsLocationsDatasetsSearchDataItemsCall
DataLabelingJob sets the optional parameter "dataLabelingJob": The resource name of a DataLabelingJob. Format: `projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job} ` If this field is set, all of the search will be done in the context of this DataLabelingJob.
func (c *ProjectsLocationsDatasetsSearchDataItemsCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1SearchDataItemsResponse, error)
Do executes the "aiplatform.projects.locations.datasets.searchDataItems" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1SearchDataItemsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsDatasetsSearchDataItemsCall) FieldMask(fieldMask string) *ProjectsLocationsDatasetsSearchDataItemsCall
FieldMask sets the optional parameter "fieldMask": Mask specifying which fields of DataItemView to read.
func (c *ProjectsLocationsDatasetsSearchDataItemsCall) Fields(s ...googleapi.Field) *ProjectsLocationsDatasetsSearchDataItemsCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsDatasetsSearchDataItemsCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsDatasetsSearchDataItemsCall) IfNoneMatch(entityTag string) *ProjectsLocationsDatasetsSearchDataItemsCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (c *ProjectsLocationsDatasetsSearchDataItemsCall) OrderBy(orderBy string) *ProjectsLocationsDatasetsSearchDataItemsCall
OrderBy sets the optional parameter "orderBy": A comma-separated list of fields to order by, sorted in ascending order. Use "desc" after a field name for descending.
func (c *ProjectsLocationsDatasetsSearchDataItemsCall) OrderByAnnotationOrderBy(orderByAnnotationOrderBy string) *ProjectsLocationsDatasetsSearchDataItemsCall
OrderByAnnotationOrderBy sets the optional parameter "orderByAnnotation.orderBy": A comma-separated list of annotation fields to order by, sorted in ascending order. Use "desc" after a field name for descending. Must also specify saved_query.
func (c *ProjectsLocationsDatasetsSearchDataItemsCall) OrderByAnnotationSavedQuery(orderByAnnotationSavedQuery string) *ProjectsLocationsDatasetsSearchDataItemsCall
OrderByAnnotationSavedQuery sets the optional parameter "orderByAnnotation.savedQuery": Required. Saved query of the Annotation. Only Annotations belong to this saved query will be considered for ordering.
func (c *ProjectsLocationsDatasetsSearchDataItemsCall) OrderByDataItem(orderByDataItem string) *ProjectsLocationsDatasetsSearchDataItemsCall
OrderByDataItem sets the optional parameter "orderByDataItem": A comma-separated list of data item fields to order by, sorted in ascending order. Use "desc" after a field name for descending.
func (c *ProjectsLocationsDatasetsSearchDataItemsCall) PageSize(pageSize int64) *ProjectsLocationsDatasetsSearchDataItemsCall
PageSize sets the optional parameter "pageSize": Requested page size. Server may return fewer results than requested. Default and maximum page size is 100.
func (c *ProjectsLocationsDatasetsSearchDataItemsCall) PageToken(pageToken string) *ProjectsLocationsDatasetsSearchDataItemsCall
PageToken sets the optional parameter "pageToken": A token identifying a page of results for the server to return Typically obtained via SearchDataItemsResponse.next_page_token of the previous DatasetService.SearchDataItems call.
func (c *ProjectsLocationsDatasetsSearchDataItemsCall) Pages(ctx context.Context, f func(*GoogleCloudAiplatformV1SearchDataItemsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
func (c *ProjectsLocationsDatasetsSearchDataItemsCall) SavedQuery(savedQuery string) *ProjectsLocationsDatasetsSearchDataItemsCall
SavedQuery sets the optional parameter "savedQuery": The resource name of a SavedQuery(annotation set in UI). Format: `projects/{project}/locations/{location}/datasets/{dataset}/savedQueries/{sav ed_query}` All of the search will be done in the context of this SavedQuery.
type ProjectsLocationsDatasetsService struct { AnnotationSpecs *ProjectsLocationsDatasetsAnnotationSpecsService DataItems *ProjectsLocationsDatasetsDataItemsService DatasetVersions *ProjectsLocationsDatasetsDatasetVersionsService Operations *ProjectsLocationsDatasetsOperationsService SavedQueries *ProjectsLocationsDatasetsSavedQueriesService // contains filtered or unexported fields }
func NewProjectsLocationsDatasetsService(s *Service) *ProjectsLocationsDatasetsService
func (r *ProjectsLocationsDatasetsService) Create(parent string, googlecloudaiplatformv1dataset *GoogleCloudAiplatformV1Dataset) *ProjectsLocationsDatasetsCreateCall
Create: Creates a Dataset.
func (r *ProjectsLocationsDatasetsService) Delete(name string) *ProjectsLocationsDatasetsDeleteCall
Delete: Deletes a Dataset.
func (r *ProjectsLocationsDatasetsService) Export(name string, googlecloudaiplatformv1exportdatarequest *GoogleCloudAiplatformV1ExportDataRequest) *ProjectsLocationsDatasetsExportCall
Export: Exports data from a Dataset.
func (r *ProjectsLocationsDatasetsService) Get(name string) *ProjectsLocationsDatasetsGetCall
Get: Gets a Dataset.
- name: The name of the Dataset resource.
func (r *ProjectsLocationsDatasetsService) Import(name string, googlecloudaiplatformv1importdatarequest *GoogleCloudAiplatformV1ImportDataRequest) *ProjectsLocationsDatasetsImportCall
Import: Imports data into a Dataset.
func (r *ProjectsLocationsDatasetsService) List(parent string) *ProjectsLocationsDatasetsListCall
List: Lists Datasets in a Location.
func (r *ProjectsLocationsDatasetsService) Patch(name string, googlecloudaiplatformv1dataset *GoogleCloudAiplatformV1Dataset) *ProjectsLocationsDatasetsPatchCall
Patch: Updates a Dataset.
- name: Output only. The resource name of the Dataset.
func (r *ProjectsLocationsDatasetsService) SearchDataItems(dataset string) *ProjectsLocationsDatasetsSearchDataItemsCall
SearchDataItems: Searches DataItems in a Dataset.
type ProjectsLocationsDeploymentResourcePoolsCreateCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsDeploymentResourcePoolsCreateCall) Context(ctx context.Context) *ProjectsLocationsDeploymentResourcePoolsCreateCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsDeploymentResourcePoolsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.deploymentResourcePools.create" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsDeploymentResourcePoolsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsDeploymentResourcePoolsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsDeploymentResourcePoolsCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsDeploymentResourcePoolsDeleteCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsDeploymentResourcePoolsDeleteCall) Context(ctx context.Context) *ProjectsLocationsDeploymentResourcePoolsDeleteCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsDeploymentResourcePoolsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.deploymentResourcePools.delete" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsDeploymentResourcePoolsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsDeploymentResourcePoolsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsDeploymentResourcePoolsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsDeploymentResourcePoolsGetCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsDeploymentResourcePoolsGetCall) Context(ctx context.Context) *ProjectsLocationsDeploymentResourcePoolsGetCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsDeploymentResourcePoolsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1DeploymentResourcePool, error)
Do executes the "aiplatform.projects.locations.deploymentResourcePools.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1DeploymentResourcePool.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsDeploymentResourcePoolsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsDeploymentResourcePoolsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsDeploymentResourcePoolsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsDeploymentResourcePoolsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsDeploymentResourcePoolsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsLocationsDeploymentResourcePoolsListCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsDeploymentResourcePoolsListCall) Context(ctx context.Context) *ProjectsLocationsDeploymentResourcePoolsListCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsDeploymentResourcePoolsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1ListDeploymentResourcePoolsResponse, error)
Do executes the "aiplatform.projects.locations.deploymentResourcePools.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1ListDeploymentResourcePoolsResponse.ServerResponse.He ader or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsDeploymentResourcePoolsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsDeploymentResourcePoolsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsDeploymentResourcePoolsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsDeploymentResourcePoolsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsDeploymentResourcePoolsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (c *ProjectsLocationsDeploymentResourcePoolsListCall) PageSize(pageSize int64) *ProjectsLocationsDeploymentResourcePoolsListCall
PageSize sets the optional parameter "pageSize": The maximum number of DeploymentResourcePools to return. The service may return fewer than this value.
func (c *ProjectsLocationsDeploymentResourcePoolsListCall) PageToken(pageToken string) *ProjectsLocationsDeploymentResourcePoolsListCall
PageToken sets the optional parameter "pageToken": A page token, received from a previous `ListDeploymentResourcePools` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListDeploymentResourcePools` must match the call that provided the page token.
func (c *ProjectsLocationsDeploymentResourcePoolsListCall) Pages(ctx context.Context, f func(*GoogleCloudAiplatformV1ListDeploymentResourcePoolsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ProjectsLocationsDeploymentResourcePoolsOperationsCancelCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsDeploymentResourcePoolsOperationsCancelCall) Context(ctx context.Context) *ProjectsLocationsDeploymentResourcePoolsOperationsCancelCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsDeploymentResourcePoolsOperationsCancelCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "aiplatform.projects.locations.deploymentResourcePools.operations.cancel" call. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsDeploymentResourcePoolsOperationsCancelCall) Fields(s ...googleapi.Field) *ProjectsLocationsDeploymentResourcePoolsOperationsCancelCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsDeploymentResourcePoolsOperationsCancelCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsDeploymentResourcePoolsOperationsDeleteCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsDeploymentResourcePoolsOperationsDeleteCall) Context(ctx context.Context) *ProjectsLocationsDeploymentResourcePoolsOperationsDeleteCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsDeploymentResourcePoolsOperationsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "aiplatform.projects.locations.deploymentResourcePools.operations.delete" call. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsDeploymentResourcePoolsOperationsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsDeploymentResourcePoolsOperationsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsDeploymentResourcePoolsOperationsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsDeploymentResourcePoolsOperationsGetCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsDeploymentResourcePoolsOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsDeploymentResourcePoolsOperationsGetCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsDeploymentResourcePoolsOperationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.deploymentResourcePools.operations.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsDeploymentResourcePoolsOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsDeploymentResourcePoolsOperationsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsDeploymentResourcePoolsOperationsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsDeploymentResourcePoolsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsDeploymentResourcePoolsOperationsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsLocationsDeploymentResourcePoolsOperationsListCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsDeploymentResourcePoolsOperationsListCall) Context(ctx context.Context) *ProjectsLocationsDeploymentResourcePoolsOperationsListCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsDeploymentResourcePoolsOperationsListCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningListOperationsResponse, error)
Do executes the "aiplatform.projects.locations.deploymentResourcePools.operations.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningListOperationsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsDeploymentResourcePoolsOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsDeploymentResourcePoolsOperationsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsDeploymentResourcePoolsOperationsListCall) Filter(filter string) *ProjectsLocationsDeploymentResourcePoolsOperationsListCall
Filter sets the optional parameter "filter": The standard list filter.
func (c *ProjectsLocationsDeploymentResourcePoolsOperationsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsDeploymentResourcePoolsOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsDeploymentResourcePoolsOperationsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (c *ProjectsLocationsDeploymentResourcePoolsOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsDeploymentResourcePoolsOperationsListCall
PageSize sets the optional parameter "pageSize": The standard list page size.
func (c *ProjectsLocationsDeploymentResourcePoolsOperationsListCall) PageToken(pageToken string) *ProjectsLocationsDeploymentResourcePoolsOperationsListCall
PageToken sets the optional parameter "pageToken": The standard list page token.
func (c *ProjectsLocationsDeploymentResourcePoolsOperationsListCall) Pages(ctx context.Context, f func(*GoogleLongrunningListOperationsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ProjectsLocationsDeploymentResourcePoolsOperationsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsDeploymentResourcePoolsOperationsService(s *Service) *ProjectsLocationsDeploymentResourcePoolsOperationsService
func (r *ProjectsLocationsDeploymentResourcePoolsOperationsService) Cancel(name string) *ProjectsLocationsDeploymentResourcePoolsOperationsCancelCall
Cancel: Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
- name: The name of the operation resource to be cancelled.
func (r *ProjectsLocationsDeploymentResourcePoolsOperationsService) Delete(name string) *ProjectsLocationsDeploymentResourcePoolsOperationsDeleteCall
Delete: Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
- name: The name of the operation resource to be deleted.
func (r *ProjectsLocationsDeploymentResourcePoolsOperationsService) Get(name string) *ProjectsLocationsDeploymentResourcePoolsOperationsGetCall
Get: Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
- name: The name of the operation resource.
func (r *ProjectsLocationsDeploymentResourcePoolsOperationsService) List(name string) *ProjectsLocationsDeploymentResourcePoolsOperationsListCall
List: Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.
- name: The name of the operation's parent resource.
func (r *ProjectsLocationsDeploymentResourcePoolsOperationsService) Wait(name string) *ProjectsLocationsDeploymentResourcePoolsOperationsWaitCall
Wait: Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.
- name: The name of the operation resource to wait on.
type ProjectsLocationsDeploymentResourcePoolsOperationsWaitCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsDeploymentResourcePoolsOperationsWaitCall) Context(ctx context.Context) *ProjectsLocationsDeploymentResourcePoolsOperationsWaitCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsDeploymentResourcePoolsOperationsWaitCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.deploymentResourcePools.operations.wait" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsDeploymentResourcePoolsOperationsWaitCall) Fields(s ...googleapi.Field) *ProjectsLocationsDeploymentResourcePoolsOperationsWaitCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsDeploymentResourcePoolsOperationsWaitCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsDeploymentResourcePoolsOperationsWaitCall) Timeout(timeout string) *ProjectsLocationsDeploymentResourcePoolsOperationsWaitCall
Timeout sets the optional parameter "timeout": The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.
type ProjectsLocationsDeploymentResourcePoolsQueryDeployedModelsCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsDeploymentResourcePoolsQueryDeployedModelsCall) Context(ctx context.Context) *ProjectsLocationsDeploymentResourcePoolsQueryDeployedModelsCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsDeploymentResourcePoolsQueryDeployedModelsCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1QueryDeployedModelsResponse, error)
Do executes the "aiplatform.projects.locations.deploymentResourcePools.queryDeployedModels" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1QueryDeployedModelsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsDeploymentResourcePoolsQueryDeployedModelsCall) Fields(s ...googleapi.Field) *ProjectsLocationsDeploymentResourcePoolsQueryDeployedModelsCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsDeploymentResourcePoolsQueryDeployedModelsCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsDeploymentResourcePoolsQueryDeployedModelsCall) IfNoneMatch(entityTag string) *ProjectsLocationsDeploymentResourcePoolsQueryDeployedModelsCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (c *ProjectsLocationsDeploymentResourcePoolsQueryDeployedModelsCall) PageSize(pageSize int64) *ProjectsLocationsDeploymentResourcePoolsQueryDeployedModelsCall
PageSize sets the optional parameter "pageSize": The maximum number of DeployedModels to return. The service may return fewer than this value.
func (c *ProjectsLocationsDeploymentResourcePoolsQueryDeployedModelsCall) PageToken(pageToken string) *ProjectsLocationsDeploymentResourcePoolsQueryDeployedModelsCall
PageToken sets the optional parameter "pageToken": A page token, received from a previous `QueryDeployedModels` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `QueryDeployedModels` must match the call that provided the page token.
func (c *ProjectsLocationsDeploymentResourcePoolsQueryDeployedModelsCall) Pages(ctx context.Context, f func(*GoogleCloudAiplatformV1QueryDeployedModelsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ProjectsLocationsDeploymentResourcePoolsService struct { Operations *ProjectsLocationsDeploymentResourcePoolsOperationsService // contains filtered or unexported fields }
func NewProjectsLocationsDeploymentResourcePoolsService(s *Service) *ProjectsLocationsDeploymentResourcePoolsService
func (r *ProjectsLocationsDeploymentResourcePoolsService) Create(parent string, googlecloudaiplatformv1createdeploymentresourcepoolrequest *GoogleCloudAiplatformV1CreateDeploymentResourcePoolRequest) *ProjectsLocationsDeploymentResourcePoolsCreateCall
Create: Create a DeploymentResourcePool.
func (r *ProjectsLocationsDeploymentResourcePoolsService) Delete(name string) *ProjectsLocationsDeploymentResourcePoolsDeleteCall
Delete: Delete a DeploymentResourcePool.
func (r *ProjectsLocationsDeploymentResourcePoolsService) Get(name string) *ProjectsLocationsDeploymentResourcePoolsGetCall
Get: Get a DeploymentResourcePool.
func (r *ProjectsLocationsDeploymentResourcePoolsService) List(parent string) *ProjectsLocationsDeploymentResourcePoolsListCall
List: List DeploymentResourcePools in a location.
func (r *ProjectsLocationsDeploymentResourcePoolsService) QueryDeployedModels(deploymentResourcePool string) *ProjectsLocationsDeploymentResourcePoolsQueryDeployedModelsCall
QueryDeployedModels: List DeployedModels that have been deployed on this DeploymentResourcePool.
type ProjectsLocationsEndpointsComputeTokensCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsEndpointsComputeTokensCall) Context(ctx context.Context) *ProjectsLocationsEndpointsComputeTokensCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsEndpointsComputeTokensCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1ComputeTokensResponse, error)
Do executes the "aiplatform.projects.locations.endpoints.computeTokens" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1ComputeTokensResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsEndpointsComputeTokensCall) Fields(s ...googleapi.Field) *ProjectsLocationsEndpointsComputeTokensCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsEndpointsComputeTokensCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsEndpointsCountTokensCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsEndpointsCountTokensCall) Context(ctx context.Context) *ProjectsLocationsEndpointsCountTokensCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsEndpointsCountTokensCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1CountTokensResponse, error)
Do executes the "aiplatform.projects.locations.endpoints.countTokens" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1CountTokensResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsEndpointsCountTokensCall) Fields(s ...googleapi.Field) *ProjectsLocationsEndpointsCountTokensCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsEndpointsCountTokensCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsEndpointsCreateCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsEndpointsCreateCall) Context(ctx context.Context) *ProjectsLocationsEndpointsCreateCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsEndpointsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.endpoints.create" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsEndpointsCreateCall) EndpointId(endpointId string) *ProjectsLocationsEndpointsCreateCall
EndpointId sets the optional parameter "endpointId": Immutable. The ID to use for endpoint, which will become the final component of the endpoint resource name. If not provided, Vertex AI will generate a value for this ID. If the first character is a letter, this value may be up to 63 characters, and valid characters are `[a-z0-9-]`. The last character must be a letter or number. If the first character is a number, this value may be up to 9 characters, and valid characters are `[0-9]` with no leading zeros. When using HTTP/JSON, this field is populated based on a query string argument, such as `?endpoint_id=12345`. This is the fallback for fields that are not included in either the URI or the body.
func (c *ProjectsLocationsEndpointsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsEndpointsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsEndpointsCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsEndpointsDeleteCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsEndpointsDeleteCall) Context(ctx context.Context) *ProjectsLocationsEndpointsDeleteCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsEndpointsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.endpoints.delete" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsEndpointsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsEndpointsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsEndpointsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsEndpointsDeployModelCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsEndpointsDeployModelCall) Context(ctx context.Context) *ProjectsLocationsEndpointsDeployModelCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsEndpointsDeployModelCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.endpoints.deployModel" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsEndpointsDeployModelCall) Fields(s ...googleapi.Field) *ProjectsLocationsEndpointsDeployModelCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsEndpointsDeployModelCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsEndpointsDirectPredictCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsEndpointsDirectPredictCall) Context(ctx context.Context) *ProjectsLocationsEndpointsDirectPredictCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsEndpointsDirectPredictCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1DirectPredictResponse, error)
Do executes the "aiplatform.projects.locations.endpoints.directPredict" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1DirectPredictResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsEndpointsDirectPredictCall) Fields(s ...googleapi.Field) *ProjectsLocationsEndpointsDirectPredictCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsEndpointsDirectPredictCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsEndpointsDirectRawPredictCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsEndpointsDirectRawPredictCall) Context(ctx context.Context) *ProjectsLocationsEndpointsDirectRawPredictCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsEndpointsDirectRawPredictCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1DirectRawPredictResponse, error)
Do executes the "aiplatform.projects.locations.endpoints.directRawPredict" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1DirectRawPredictResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsEndpointsDirectRawPredictCall) Fields(s ...googleapi.Field) *ProjectsLocationsEndpointsDirectRawPredictCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsEndpointsDirectRawPredictCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsEndpointsExplainCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsEndpointsExplainCall) Context(ctx context.Context) *ProjectsLocationsEndpointsExplainCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsEndpointsExplainCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1ExplainResponse, error)
Do executes the "aiplatform.projects.locations.endpoints.explain" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1ExplainResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsEndpointsExplainCall) Fields(s ...googleapi.Field) *ProjectsLocationsEndpointsExplainCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsEndpointsExplainCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsEndpointsGenerateContentCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsEndpointsGenerateContentCall) Context(ctx context.Context) *ProjectsLocationsEndpointsGenerateContentCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsEndpointsGenerateContentCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1GenerateContentResponse, error)
Do executes the "aiplatform.projects.locations.endpoints.generateContent" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1GenerateContentResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsEndpointsGenerateContentCall) Fields(s ...googleapi.Field) *ProjectsLocationsEndpointsGenerateContentCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsEndpointsGenerateContentCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsEndpointsGetCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsEndpointsGetCall) Context(ctx context.Context) *ProjectsLocationsEndpointsGetCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsEndpointsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1Endpoint, error)
Do executes the "aiplatform.projects.locations.endpoints.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1Endpoint.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsEndpointsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsEndpointsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsEndpointsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsEndpointsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsEndpointsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsLocationsEndpointsListCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsEndpointsListCall) Context(ctx context.Context) *ProjectsLocationsEndpointsListCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsEndpointsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1ListEndpointsResponse, error)
Do executes the "aiplatform.projects.locations.endpoints.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1ListEndpointsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsEndpointsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsEndpointsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsEndpointsListCall) Filter(filter string) *ProjectsLocationsEndpointsListCall
Filter sets the optional parameter "filter": An expression for filtering the results of the request. For field names both snake_case and camelCase are supported. * `endpoint` supports `=` and `!=`. `endpoint` represents the Endpoint ID, i.e. the last segment of the Endpoint's resource name. * `display_name` supports `=` and `!=`. * `labels` supports general map functions that is: * `labels.key=value` - key:value equality * `labels.key:*` or `labels:key` - key existence * A key including a space must be quoted. `labels."a key". * `base_model_name` only supports `=`. Some examples: * `endpoint=1` * `displayName="myDisplayName" * `labels.myKey="myValue" * `baseModelName="text-bison"
func (c *ProjectsLocationsEndpointsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsEndpointsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsEndpointsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (c *ProjectsLocationsEndpointsListCall) OrderBy(orderBy string) *ProjectsLocationsEndpointsListCall
OrderBy sets the optional parameter "orderBy": A comma-separated list of fields to order by, sorted in ascending order. Use "desc" after a field name for descending. Supported fields: * `display_name` * `create_time` * `update_time` Example: `display_name, create_time desc`.
func (c *ProjectsLocationsEndpointsListCall) PageSize(pageSize int64) *ProjectsLocationsEndpointsListCall
PageSize sets the optional parameter "pageSize": The standard list page size.
func (c *ProjectsLocationsEndpointsListCall) PageToken(pageToken string) *ProjectsLocationsEndpointsListCall
PageToken sets the optional parameter "pageToken": The standard list page token. Typically obtained via ListEndpointsResponse.next_page_token of the previous EndpointService.ListEndpoints call.
func (c *ProjectsLocationsEndpointsListCall) Pages(ctx context.Context, f func(*GoogleCloudAiplatformV1ListEndpointsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
func (c *ProjectsLocationsEndpointsListCall) ReadMask(readMask string) *ProjectsLocationsEndpointsListCall
ReadMask sets the optional parameter "readMask": Mask specifying which fields to read.
type ProjectsLocationsEndpointsMutateDeployedModelCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsEndpointsMutateDeployedModelCall) Context(ctx context.Context) *ProjectsLocationsEndpointsMutateDeployedModelCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsEndpointsMutateDeployedModelCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.endpoints.mutateDeployedModel" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsEndpointsMutateDeployedModelCall) Fields(s ...googleapi.Field) *ProjectsLocationsEndpointsMutateDeployedModelCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsEndpointsMutateDeployedModelCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsEndpointsOperationsCancelCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsEndpointsOperationsCancelCall) Context(ctx context.Context) *ProjectsLocationsEndpointsOperationsCancelCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsEndpointsOperationsCancelCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "aiplatform.projects.locations.endpoints.operations.cancel" call. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsEndpointsOperationsCancelCall) Fields(s ...googleapi.Field) *ProjectsLocationsEndpointsOperationsCancelCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsEndpointsOperationsCancelCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsEndpointsOperationsDeleteCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsEndpointsOperationsDeleteCall) Context(ctx context.Context) *ProjectsLocationsEndpointsOperationsDeleteCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsEndpointsOperationsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "aiplatform.projects.locations.endpoints.operations.delete" call. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsEndpointsOperationsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsEndpointsOperationsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsEndpointsOperationsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsEndpointsOperationsGetCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsEndpointsOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsEndpointsOperationsGetCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsEndpointsOperationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.endpoints.operations.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsEndpointsOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsEndpointsOperationsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsEndpointsOperationsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsEndpointsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsEndpointsOperationsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsLocationsEndpointsOperationsListCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsEndpointsOperationsListCall) Context(ctx context.Context) *ProjectsLocationsEndpointsOperationsListCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsEndpointsOperationsListCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningListOperationsResponse, error)
Do executes the "aiplatform.projects.locations.endpoints.operations.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningListOperationsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsEndpointsOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsEndpointsOperationsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsEndpointsOperationsListCall) Filter(filter string) *ProjectsLocationsEndpointsOperationsListCall
Filter sets the optional parameter "filter": The standard list filter.
func (c *ProjectsLocationsEndpointsOperationsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsEndpointsOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsEndpointsOperationsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (c *ProjectsLocationsEndpointsOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsEndpointsOperationsListCall
PageSize sets the optional parameter "pageSize": The standard list page size.
func (c *ProjectsLocationsEndpointsOperationsListCall) PageToken(pageToken string) *ProjectsLocationsEndpointsOperationsListCall
PageToken sets the optional parameter "pageToken": The standard list page token.
func (c *ProjectsLocationsEndpointsOperationsListCall) Pages(ctx context.Context, f func(*GoogleLongrunningListOperationsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ProjectsLocationsEndpointsOperationsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsEndpointsOperationsService(s *Service) *ProjectsLocationsEndpointsOperationsService
func (r *ProjectsLocationsEndpointsOperationsService) Cancel(name string) *ProjectsLocationsEndpointsOperationsCancelCall
Cancel: Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
- name: The name of the operation resource to be cancelled.
func (r *ProjectsLocationsEndpointsOperationsService) Delete(name string) *ProjectsLocationsEndpointsOperationsDeleteCall
Delete: Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
- name: The name of the operation resource to be deleted.
func (r *ProjectsLocationsEndpointsOperationsService) Get(name string) *ProjectsLocationsEndpointsOperationsGetCall
Get: Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
- name: The name of the operation resource.
func (r *ProjectsLocationsEndpointsOperationsService) List(name string) *ProjectsLocationsEndpointsOperationsListCall
List: Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.
- name: The name of the operation's parent resource.
func (r *ProjectsLocationsEndpointsOperationsService) Wait(name string) *ProjectsLocationsEndpointsOperationsWaitCall
Wait: Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.
- name: The name of the operation resource to wait on.
type ProjectsLocationsEndpointsOperationsWaitCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsEndpointsOperationsWaitCall) Context(ctx context.Context) *ProjectsLocationsEndpointsOperationsWaitCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsEndpointsOperationsWaitCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.endpoints.operations.wait" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsEndpointsOperationsWaitCall) Fields(s ...googleapi.Field) *ProjectsLocationsEndpointsOperationsWaitCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsEndpointsOperationsWaitCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsEndpointsOperationsWaitCall) Timeout(timeout string) *ProjectsLocationsEndpointsOperationsWaitCall
Timeout sets the optional parameter "timeout": The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.
type ProjectsLocationsEndpointsPatchCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsEndpointsPatchCall) Context(ctx context.Context) *ProjectsLocationsEndpointsPatchCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsEndpointsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1Endpoint, error)
Do executes the "aiplatform.projects.locations.endpoints.patch" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1Endpoint.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsEndpointsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsEndpointsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsEndpointsPatchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsEndpointsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsEndpointsPatchCall
UpdateMask sets the optional parameter "updateMask": Required. The update mask applies to the resource. See google.protobuf.FieldMask.
type ProjectsLocationsEndpointsPredictCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsEndpointsPredictCall) Context(ctx context.Context) *ProjectsLocationsEndpointsPredictCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsEndpointsPredictCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1PredictResponse, error)
Do executes the "aiplatform.projects.locations.endpoints.predict" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1PredictResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsEndpointsPredictCall) Fields(s ...googleapi.Field) *ProjectsLocationsEndpointsPredictCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsEndpointsPredictCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsEndpointsRawPredictCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsEndpointsRawPredictCall) Context(ctx context.Context) *ProjectsLocationsEndpointsRawPredictCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsEndpointsRawPredictCall) Do(opts ...googleapi.CallOption) (*GoogleApiHttpBody, error)
Do executes the "aiplatform.projects.locations.endpoints.rawPredict" call. Any non-2xx status code is an error. Response headers are in either *GoogleApiHttpBody.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsEndpointsRawPredictCall) Fields(s ...googleapi.Field) *ProjectsLocationsEndpointsRawPredictCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsEndpointsRawPredictCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsEndpointsServerStreamingPredictCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsEndpointsServerStreamingPredictCall) Context(ctx context.Context) *ProjectsLocationsEndpointsServerStreamingPredictCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsEndpointsServerStreamingPredictCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1StreamingPredictResponse, error)
Do executes the "aiplatform.projects.locations.endpoints.serverStreamingPredict" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1StreamingPredictResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsEndpointsServerStreamingPredictCall) Fields(s ...googleapi.Field) *ProjectsLocationsEndpointsServerStreamingPredictCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsEndpointsServerStreamingPredictCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsEndpointsService struct { Operations *ProjectsLocationsEndpointsOperationsService // contains filtered or unexported fields }
func NewProjectsLocationsEndpointsService(s *Service) *ProjectsLocationsEndpointsService
func (r *ProjectsLocationsEndpointsService) ComputeTokens(endpoint string, googlecloudaiplatformv1computetokensrequest *GoogleCloudAiplatformV1ComputeTokensRequest) *ProjectsLocationsEndpointsComputeTokensCall
ComputeTokens: Return a list of tokens based on the input text.
func (r *ProjectsLocationsEndpointsService) CountTokens(endpoint string, googlecloudaiplatformv1counttokensrequest *GoogleCloudAiplatformV1CountTokensRequest) *ProjectsLocationsEndpointsCountTokensCall
CountTokens: Perform a token counting.
func (r *ProjectsLocationsEndpointsService) Create(parent string, googlecloudaiplatformv1endpoint *GoogleCloudAiplatformV1Endpoint) *ProjectsLocationsEndpointsCreateCall
Create: Creates an Endpoint.
func (r *ProjectsLocationsEndpointsService) Delete(name string) *ProjectsLocationsEndpointsDeleteCall
Delete: Deletes an Endpoint.
func (r *ProjectsLocationsEndpointsService) DeployModel(endpoint string, googlecloudaiplatformv1deploymodelrequest *GoogleCloudAiplatformV1DeployModelRequest) *ProjectsLocationsEndpointsDeployModelCall
DeployModel: Deploys a Model into this Endpoint, creating a DeployedModel within it.
func (r *ProjectsLocationsEndpointsService) DirectPredict(endpoint string, googlecloudaiplatformv1directpredictrequest *GoogleCloudAiplatformV1DirectPredictRequest) *ProjectsLocationsEndpointsDirectPredictCall
DirectPredict: Perform an unary online prediction request to a gRPC model server for Vertex first-party products and frameworks.
func (r *ProjectsLocationsEndpointsService) DirectRawPredict(endpoint string, googlecloudaiplatformv1directrawpredictrequest *GoogleCloudAiplatformV1DirectRawPredictRequest) *ProjectsLocationsEndpointsDirectRawPredictCall
DirectRawPredict: Perform an unary online prediction request to a gRPC model server for custom containers.
func (r *ProjectsLocationsEndpointsService) Explain(endpoint string, googlecloudaiplatformv1explainrequest *GoogleCloudAiplatformV1ExplainRequest) *ProjectsLocationsEndpointsExplainCall
Explain: Perform an online explanation. If deployed_model_id is specified, the corresponding DeployModel must have explanation_spec populated. If deployed_model_id is not specified, all DeployedModels must have explanation_spec populated.
func (r *ProjectsLocationsEndpointsService) GenerateContent(model string, googlecloudaiplatformv1generatecontentrequest *GoogleCloudAiplatformV1GenerateContentRequest) *ProjectsLocationsEndpointsGenerateContentCall
GenerateContent: Generate content with multimodal inputs.
func (r *ProjectsLocationsEndpointsService) Get(name string) *ProjectsLocationsEndpointsGetCall
Get: Gets an Endpoint.
func (r *ProjectsLocationsEndpointsService) List(parent string) *ProjectsLocationsEndpointsListCall
List: Lists Endpoints in a Location.
func (r *ProjectsLocationsEndpointsService) MutateDeployedModel(endpoint string, googlecloudaiplatformv1mutatedeployedmodelrequest *GoogleCloudAiplatformV1MutateDeployedModelRequest) *ProjectsLocationsEndpointsMutateDeployedModelCall
MutateDeployedModel: Updates an existing deployed model. Updatable fields include `min_replica_count`, `max_replica_count`, `autoscaling_metric_specs`, `disable_container_logging` (v1 only), and `enable_container_logging` (v1beta1 only).
func (r *ProjectsLocationsEndpointsService) Patch(name string, googlecloudaiplatformv1endpoint *GoogleCloudAiplatformV1Endpoint) *ProjectsLocationsEndpointsPatchCall
Patch: Updates an Endpoint.
- name: Output only. The resource name of the Endpoint.
func (r *ProjectsLocationsEndpointsService) Predict(endpoint string, googlecloudaiplatformv1predictrequest *GoogleCloudAiplatformV1PredictRequest) *ProjectsLocationsEndpointsPredictCall
Predict: Perform an online prediction.
func (r *ProjectsLocationsEndpointsService) RawPredict(endpoint string, googlecloudaiplatformv1rawpredictrequest *GoogleCloudAiplatformV1RawPredictRequest) *ProjectsLocationsEndpointsRawPredictCall
RawPredict: Perform an online prediction with an arbitrary HTTP payload. The response includes the following HTTP headers: * `X-Vertex-AI-Endpoint-Id`: ID of the Endpoint that served this prediction. * `X-Vertex-AI-Deployed-Model-Id`: ID of the Endpoint's DeployedModel that served this prediction.
func (r *ProjectsLocationsEndpointsService) ServerStreamingPredict(endpoint string, googlecloudaiplatformv1streamingpredictrequest *GoogleCloudAiplatformV1StreamingPredictRequest) *ProjectsLocationsEndpointsServerStreamingPredictCall
ServerStreamingPredict: Perform a server-side streaming online prediction request for Vertex LLM streaming.
func (r *ProjectsLocationsEndpointsService) StreamGenerateContent(model string, googlecloudaiplatformv1generatecontentrequest *GoogleCloudAiplatformV1GenerateContentRequest) *ProjectsLocationsEndpointsStreamGenerateContentCall
StreamGenerateContent: Generate content with multimodal inputs with streaming support.
func (r *ProjectsLocationsEndpointsService) StreamRawPredict(endpoint string, googlecloudaiplatformv1streamrawpredictrequest *GoogleCloudAiplatformV1StreamRawPredictRequest) *ProjectsLocationsEndpointsStreamRawPredictCall
StreamRawPredict: Perform a streaming online prediction with an arbitrary HTTP payload.
func (r *ProjectsLocationsEndpointsService) UndeployModel(endpoint string, googlecloudaiplatformv1undeploymodelrequest *GoogleCloudAiplatformV1UndeployModelRequest) *ProjectsLocationsEndpointsUndeployModelCall
UndeployModel: Undeploys a Model from an Endpoint, removing a DeployedModel from it, and freeing all resources it's using.
type ProjectsLocationsEndpointsStreamGenerateContentCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsEndpointsStreamGenerateContentCall) Context(ctx context.Context) *ProjectsLocationsEndpointsStreamGenerateContentCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsEndpointsStreamGenerateContentCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1GenerateContentResponse, error)
Do executes the "aiplatform.projects.locations.endpoints.streamGenerateContent" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1GenerateContentResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsEndpointsStreamGenerateContentCall) Fields(s ...googleapi.Field) *ProjectsLocationsEndpointsStreamGenerateContentCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsEndpointsStreamGenerateContentCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsEndpointsStreamRawPredictCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsEndpointsStreamRawPredictCall) Context(ctx context.Context) *ProjectsLocationsEndpointsStreamRawPredictCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsEndpointsStreamRawPredictCall) Do(opts ...googleapi.CallOption) (*GoogleApiHttpBody, error)
Do executes the "aiplatform.projects.locations.endpoints.streamRawPredict" call. Any non-2xx status code is an error. Response headers are in either *GoogleApiHttpBody.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsEndpointsStreamRawPredictCall) Fields(s ...googleapi.Field) *ProjectsLocationsEndpointsStreamRawPredictCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsEndpointsStreamRawPredictCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsEndpointsUndeployModelCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsEndpointsUndeployModelCall) Context(ctx context.Context) *ProjectsLocationsEndpointsUndeployModelCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsEndpointsUndeployModelCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.endpoints.undeployModel" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsEndpointsUndeployModelCall) Fields(s ...googleapi.Field) *ProjectsLocationsEndpointsUndeployModelCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsEndpointsUndeployModelCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsFeatureGroupsCreateCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsFeatureGroupsCreateCall) Context(ctx context.Context) *ProjectsLocationsFeatureGroupsCreateCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsFeatureGroupsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.featureGroups.create" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsFeatureGroupsCreateCall) FeatureGroupId(featureGroupId string) *ProjectsLocationsFeatureGroupsCreateCall
FeatureGroupId sets the optional parameter "featureGroupId": Required. The ID to use for this FeatureGroup, which will become the final component of the FeatureGroup's resource name. This value may be up to 60 characters, and valid characters are `[a-z0-9_]`. The first character cannot be a number. The value must be unique within the project and location.
func (c *ProjectsLocationsFeatureGroupsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsFeatureGroupsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsFeatureGroupsCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsFeatureGroupsDeleteCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsFeatureGroupsDeleteCall) Context(ctx context.Context) *ProjectsLocationsFeatureGroupsDeleteCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsFeatureGroupsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.featureGroups.delete" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsFeatureGroupsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsFeatureGroupsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsFeatureGroupsDeleteCall) Force(force bool) *ProjectsLocationsFeatureGroupsDeleteCall
Force sets the optional parameter "force": If set to true, any Features under this FeatureGroup will also be deleted. (Otherwise, the request will only work if the FeatureGroup has no Features.)
func (c *ProjectsLocationsFeatureGroupsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsFeatureGroupsFeaturesCreateCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsFeatureGroupsFeaturesCreateCall) Context(ctx context.Context) *ProjectsLocationsFeatureGroupsFeaturesCreateCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsFeatureGroupsFeaturesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.featureGroups.features.create" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsFeatureGroupsFeaturesCreateCall) FeatureId(featureId string) *ProjectsLocationsFeatureGroupsFeaturesCreateCall
FeatureId sets the optional parameter "featureId": Required. The ID to use for the Feature, which will become the final component of the Feature's resource name. This value may be up to 128 characters, and valid characters are `[a-z0-9_]`. The first character cannot be a number. The value must be unique within an EntityType/FeatureGroup.
func (c *ProjectsLocationsFeatureGroupsFeaturesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsFeatureGroupsFeaturesCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsFeatureGroupsFeaturesCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsFeatureGroupsFeaturesDeleteCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsFeatureGroupsFeaturesDeleteCall) Context(ctx context.Context) *ProjectsLocationsFeatureGroupsFeaturesDeleteCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsFeatureGroupsFeaturesDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.featureGroups.features.delete" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsFeatureGroupsFeaturesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsFeatureGroupsFeaturesDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsFeatureGroupsFeaturesDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsFeatureGroupsFeaturesGetCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsFeatureGroupsFeaturesGetCall) Context(ctx context.Context) *ProjectsLocationsFeatureGroupsFeaturesGetCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsFeatureGroupsFeaturesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1Feature, error)
Do executes the "aiplatform.projects.locations.featureGroups.features.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1Feature.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsFeatureGroupsFeaturesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsFeatureGroupsFeaturesGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsFeatureGroupsFeaturesGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsFeatureGroupsFeaturesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsFeatureGroupsFeaturesGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsLocationsFeatureGroupsFeaturesListCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsFeatureGroupsFeaturesListCall) Context(ctx context.Context) *ProjectsLocationsFeatureGroupsFeaturesListCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsFeatureGroupsFeaturesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1ListFeaturesResponse, error)
Do executes the "aiplatform.projects.locations.featureGroups.features.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1ListFeaturesResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsFeatureGroupsFeaturesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsFeatureGroupsFeaturesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsFeatureGroupsFeaturesListCall) Filter(filter string) *ProjectsLocationsFeatureGroupsFeaturesListCall
Filter sets the optional parameter "filter": Lists the Features that match the filter expression. The following filters are supported: * `value_type`: Supports = and != comparisons. * `create_time`: Supports =, !=, <, >, >=, and <= comparisons. Values must be in RFC 3339 format. * `update_time`: Supports =, !=, <, >, >=, and <= comparisons. Values must be in RFC 3339 format. * `labels`: Supports key-value equality as well as key presence. Examples: * `value_type = DOUBLE` --> Features whose type is DOUBLE. * `create_time > \"2020-01-31T15:30:00.000000Z\" OR update_time > \"2020-01-31T15:30:00.000000Z\" --> EntityTypes created or updated after 2020-01-31T15:30:00.000000Z. * `labels.active = yes AND labels.env = prod` --> Features having both (active: yes) and (env: prod) labels. * `labels.env: *` --> Any Feature which has a label with 'env' as the key.
func (c *ProjectsLocationsFeatureGroupsFeaturesListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsFeatureGroupsFeaturesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsFeatureGroupsFeaturesListCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (c *ProjectsLocationsFeatureGroupsFeaturesListCall) LatestStatsCount(latestStatsCount int64) *ProjectsLocationsFeatureGroupsFeaturesListCall
LatestStatsCount sets the optional parameter "latestStatsCount": Only applicable for Vertex AI Feature Store (Legacy). If set, return the most recent ListFeaturesRequest.latest_stats_count of stats for each Feature in response. Valid value is [0, 10]. If number of stats exists < ListFeaturesRequest.latest_stats_count, return all existing stats.
func (c *ProjectsLocationsFeatureGroupsFeaturesListCall) OrderBy(orderBy string) *ProjectsLocationsFeatureGroupsFeaturesListCall
OrderBy sets the optional parameter "orderBy": A comma-separated list of fields to order by, sorted in ascending order. Use "desc" after a field name for descending. Supported fields: * `feature_id` * `value_type` (Not supported for FeatureRegistry Feature) * `create_time` * `update_time`
func (c *ProjectsLocationsFeatureGroupsFeaturesListCall) PageSize(pageSize int64) *ProjectsLocationsFeatureGroupsFeaturesListCall
PageSize sets the optional parameter "pageSize": The maximum number of Features to return. The service may return fewer than this value. If unspecified, at most 1000 Features will be returned. The maximum value is 1000; any value greater than 1000 will be coerced to 1000.
func (c *ProjectsLocationsFeatureGroupsFeaturesListCall) PageToken(pageToken string) *ProjectsLocationsFeatureGroupsFeaturesListCall
PageToken sets the optional parameter "pageToken": A page token, received from a previous FeaturestoreService.ListFeatures call or FeatureRegistryService.ListFeatures call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to FeaturestoreService.ListFeatures or FeatureRegistryService.ListFeatures must match the call that provided the page token.
func (c *ProjectsLocationsFeatureGroupsFeaturesListCall) Pages(ctx context.Context, f func(*GoogleCloudAiplatformV1ListFeaturesResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
func (c *ProjectsLocationsFeatureGroupsFeaturesListCall) ReadMask(readMask string) *ProjectsLocationsFeatureGroupsFeaturesListCall
ReadMask sets the optional parameter "readMask": Mask specifying which fields to read.
type ProjectsLocationsFeatureGroupsFeaturesOperationsDeleteCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsFeatureGroupsFeaturesOperationsDeleteCall) Context(ctx context.Context) *ProjectsLocationsFeatureGroupsFeaturesOperationsDeleteCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsFeatureGroupsFeaturesOperationsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "aiplatform.projects.locations.featureGroups.features.operations.delete" call. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsFeatureGroupsFeaturesOperationsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsFeatureGroupsFeaturesOperationsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsFeatureGroupsFeaturesOperationsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsFeatureGroupsFeaturesOperationsGetCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsFeatureGroupsFeaturesOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsFeatureGroupsFeaturesOperationsGetCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsFeatureGroupsFeaturesOperationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.featureGroups.features.operations.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsFeatureGroupsFeaturesOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsFeatureGroupsFeaturesOperationsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsFeatureGroupsFeaturesOperationsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsFeatureGroupsFeaturesOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsFeatureGroupsFeaturesOperationsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsLocationsFeatureGroupsFeaturesOperationsListWaitCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsFeatureGroupsFeaturesOperationsListWaitCall) Context(ctx context.Context) *ProjectsLocationsFeatureGroupsFeaturesOperationsListWaitCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsFeatureGroupsFeaturesOperationsListWaitCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningListOperationsResponse, error)
Do executes the "aiplatform.projects.locations.featureGroups.features.operations.listWait" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningListOperationsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsFeatureGroupsFeaturesOperationsListWaitCall) Fields(s ...googleapi.Field) *ProjectsLocationsFeatureGroupsFeaturesOperationsListWaitCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsFeatureGroupsFeaturesOperationsListWaitCall) Filter(filter string) *ProjectsLocationsFeatureGroupsFeaturesOperationsListWaitCall
Filter sets the optional parameter "filter": The standard list filter.
func (c *ProjectsLocationsFeatureGroupsFeaturesOperationsListWaitCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsFeatureGroupsFeaturesOperationsListWaitCall) IfNoneMatch(entityTag string) *ProjectsLocationsFeatureGroupsFeaturesOperationsListWaitCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (c *ProjectsLocationsFeatureGroupsFeaturesOperationsListWaitCall) PageSize(pageSize int64) *ProjectsLocationsFeatureGroupsFeaturesOperationsListWaitCall
PageSize sets the optional parameter "pageSize": The standard list page size.
func (c *ProjectsLocationsFeatureGroupsFeaturesOperationsListWaitCall) PageToken(pageToken string) *ProjectsLocationsFeatureGroupsFeaturesOperationsListWaitCall
PageToken sets the optional parameter "pageToken": The standard list page token.
func (c *ProjectsLocationsFeatureGroupsFeaturesOperationsListWaitCall) Pages(ctx context.Context, f func(*GoogleLongrunningListOperationsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ProjectsLocationsFeatureGroupsFeaturesOperationsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsFeatureGroupsFeaturesOperationsService(s *Service) *ProjectsLocationsFeatureGroupsFeaturesOperationsService
func (r *ProjectsLocationsFeatureGroupsFeaturesOperationsService) Delete(name string) *ProjectsLocationsFeatureGroupsFeaturesOperationsDeleteCall
Delete: Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
- name: The name of the operation resource to be deleted.
func (r *ProjectsLocationsFeatureGroupsFeaturesOperationsService) Get(name string) *ProjectsLocationsFeatureGroupsFeaturesOperationsGetCall
Get: Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
- name: The name of the operation resource.
func (r *ProjectsLocationsFeatureGroupsFeaturesOperationsService) ListWait(name string) *ProjectsLocationsFeatureGroupsFeaturesOperationsListWaitCall
ListWait: Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.
- name: The name of the operation's parent resource.
func (r *ProjectsLocationsFeatureGroupsFeaturesOperationsService) Wait(name string) *ProjectsLocationsFeatureGroupsFeaturesOperationsWaitCall
Wait: Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.
- name: The name of the operation resource to wait on.
type ProjectsLocationsFeatureGroupsFeaturesOperationsWaitCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsFeatureGroupsFeaturesOperationsWaitCall) Context(ctx context.Context) *ProjectsLocationsFeatureGroupsFeaturesOperationsWaitCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsFeatureGroupsFeaturesOperationsWaitCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.featureGroups.features.operations.wait" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsFeatureGroupsFeaturesOperationsWaitCall) Fields(s ...googleapi.Field) *ProjectsLocationsFeatureGroupsFeaturesOperationsWaitCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsFeatureGroupsFeaturesOperationsWaitCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsFeatureGroupsFeaturesOperationsWaitCall) Timeout(timeout string) *ProjectsLocationsFeatureGroupsFeaturesOperationsWaitCall
Timeout sets the optional parameter "timeout": The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.
type ProjectsLocationsFeatureGroupsFeaturesPatchCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsFeatureGroupsFeaturesPatchCall) Context(ctx context.Context) *ProjectsLocationsFeatureGroupsFeaturesPatchCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsFeatureGroupsFeaturesPatchCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.featureGroups.features.patch" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsFeatureGroupsFeaturesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsFeatureGroupsFeaturesPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsFeatureGroupsFeaturesPatchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsFeatureGroupsFeaturesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsFeatureGroupsFeaturesPatchCall
UpdateMask sets the optional parameter "updateMask": Field mask is used to specify the fields to be overwritten in the Features resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to `*` to override all fields. Updatable fields: * `description` * `labels` * `disable_monitoring` (Not supported for FeatureRegistry Feature)
type ProjectsLocationsFeatureGroupsFeaturesService struct { Operations *ProjectsLocationsFeatureGroupsFeaturesOperationsService // contains filtered or unexported fields }
func NewProjectsLocationsFeatureGroupsFeaturesService(s *Service) *ProjectsLocationsFeatureGroupsFeaturesService
func (r *ProjectsLocationsFeatureGroupsFeaturesService) Create(parent string, googlecloudaiplatformv1feature *GoogleCloudAiplatformV1Feature) *ProjectsLocationsFeatureGroupsFeaturesCreateCall
Create: Creates a new Feature in a given FeatureGroup.
func (r *ProjectsLocationsFeatureGroupsFeaturesService) Delete(name string) *ProjectsLocationsFeatureGroupsFeaturesDeleteCall
Delete: Deletes a single Feature.
func (r *ProjectsLocationsFeatureGroupsFeaturesService) Get(name string) *ProjectsLocationsFeatureGroupsFeaturesGetCall
Get: Gets details of a single Feature.
func (r *ProjectsLocationsFeatureGroupsFeaturesService) List(parent string) *ProjectsLocationsFeatureGroupsFeaturesListCall
List: Lists Features in a given FeatureGroup.
func (r *ProjectsLocationsFeatureGroupsFeaturesService) Patch(name string, googlecloudaiplatformv1feature *GoogleCloudAiplatformV1Feature) *ProjectsLocationsFeatureGroupsFeaturesPatchCall
Patch: Updates the parameters of a single Feature.
type ProjectsLocationsFeatureGroupsGetCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsFeatureGroupsGetCall) Context(ctx context.Context) *ProjectsLocationsFeatureGroupsGetCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsFeatureGroupsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1FeatureGroup, error)
Do executes the "aiplatform.projects.locations.featureGroups.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1FeatureGroup.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsFeatureGroupsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsFeatureGroupsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsFeatureGroupsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsFeatureGroupsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsFeatureGroupsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsLocationsFeatureGroupsListCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsFeatureGroupsListCall) Context(ctx context.Context) *ProjectsLocationsFeatureGroupsListCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsFeatureGroupsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1ListFeatureGroupsResponse, error)
Do executes the "aiplatform.projects.locations.featureGroups.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1ListFeatureGroupsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsFeatureGroupsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsFeatureGroupsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsFeatureGroupsListCall) Filter(filter string) *ProjectsLocationsFeatureGroupsListCall
Filter sets the optional parameter "filter": Lists the FeatureGroups that match the filter expression. The following fields are supported: * `create_time`: Supports `=`, `!=`, `<`, `>`, `<=`, and `>=` comparisons. Values must be in RFC 3339 format. * `update_time`: Supports `=`, `!=`, `<`, `>`, `<=`, and `>=` comparisons. Values must be in RFC 3339 format. * `labels`: Supports key-value equality and key presence. Examples: * `create_time > "2020-01-01" OR update_time > "2020-01-01" FeatureGroups created or updated after 2020-01-01. * `labels.env = "prod" FeatureGroups with label "env" set to "prod".
func (c *ProjectsLocationsFeatureGroupsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsFeatureGroupsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsFeatureGroupsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (c *ProjectsLocationsFeatureGroupsListCall) OrderBy(orderBy string) *ProjectsLocationsFeatureGroupsListCall
OrderBy sets the optional parameter "orderBy": A comma-separated list of fields to order by, sorted in ascending order. Use "desc" after a field name for descending. Supported Fields: * `create_time` * `update_time`
func (c *ProjectsLocationsFeatureGroupsListCall) PageSize(pageSize int64) *ProjectsLocationsFeatureGroupsListCall
PageSize sets the optional parameter "pageSize": The maximum number of FeatureGroups to return. The service may return fewer than this value. If unspecified, at most 100 FeatureGroups will be returned. The maximum value is 100; any value greater than 100 will be coerced to 100.
func (c *ProjectsLocationsFeatureGroupsListCall) PageToken(pageToken string) *ProjectsLocationsFeatureGroupsListCall
PageToken sets the optional parameter "pageToken": A page token, received from a previous FeatureGroupAdminService.ListFeatureGroups call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to FeatureGroupAdminService.ListFeatureGroups must match the call that provided the page token.
func (c *ProjectsLocationsFeatureGroupsListCall) Pages(ctx context.Context, f func(*GoogleCloudAiplatformV1ListFeatureGroupsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ProjectsLocationsFeatureGroupsOperationsDeleteCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsFeatureGroupsOperationsDeleteCall) Context(ctx context.Context) *ProjectsLocationsFeatureGroupsOperationsDeleteCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsFeatureGroupsOperationsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "aiplatform.projects.locations.featureGroups.operations.delete" call. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsFeatureGroupsOperationsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsFeatureGroupsOperationsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsFeatureGroupsOperationsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsFeatureGroupsOperationsGetCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsFeatureGroupsOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsFeatureGroupsOperationsGetCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsFeatureGroupsOperationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.featureGroups.operations.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsFeatureGroupsOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsFeatureGroupsOperationsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsFeatureGroupsOperationsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsFeatureGroupsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsFeatureGroupsOperationsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsLocationsFeatureGroupsOperationsListWaitCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsFeatureGroupsOperationsListWaitCall) Context(ctx context.Context) *ProjectsLocationsFeatureGroupsOperationsListWaitCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsFeatureGroupsOperationsListWaitCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningListOperationsResponse, error)
Do executes the "aiplatform.projects.locations.featureGroups.operations.listWait" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningListOperationsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsFeatureGroupsOperationsListWaitCall) Fields(s ...googleapi.Field) *ProjectsLocationsFeatureGroupsOperationsListWaitCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsFeatureGroupsOperationsListWaitCall) Filter(filter string) *ProjectsLocationsFeatureGroupsOperationsListWaitCall
Filter sets the optional parameter "filter": The standard list filter.
func (c *ProjectsLocationsFeatureGroupsOperationsListWaitCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsFeatureGroupsOperationsListWaitCall) IfNoneMatch(entityTag string) *ProjectsLocationsFeatureGroupsOperationsListWaitCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (c *ProjectsLocationsFeatureGroupsOperationsListWaitCall) PageSize(pageSize int64) *ProjectsLocationsFeatureGroupsOperationsListWaitCall
PageSize sets the optional parameter "pageSize": The standard list page size.
func (c *ProjectsLocationsFeatureGroupsOperationsListWaitCall) PageToken(pageToken string) *ProjectsLocationsFeatureGroupsOperationsListWaitCall
PageToken sets the optional parameter "pageToken": The standard list page token.
func (c *ProjectsLocationsFeatureGroupsOperationsListWaitCall) Pages(ctx context.Context, f func(*GoogleLongrunningListOperationsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ProjectsLocationsFeatureGroupsOperationsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsFeatureGroupsOperationsService(s *Service) *ProjectsLocationsFeatureGroupsOperationsService
func (r *ProjectsLocationsFeatureGroupsOperationsService) Delete(name string) *ProjectsLocationsFeatureGroupsOperationsDeleteCall
Delete: Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
- name: The name of the operation resource to be deleted.
func (r *ProjectsLocationsFeatureGroupsOperationsService) Get(name string) *ProjectsLocationsFeatureGroupsOperationsGetCall
Get: Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
- name: The name of the operation resource.
func (r *ProjectsLocationsFeatureGroupsOperationsService) ListWait(name string) *ProjectsLocationsFeatureGroupsOperationsListWaitCall
ListWait: Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.
- name: The name of the operation's parent resource.
func (r *ProjectsLocationsFeatureGroupsOperationsService) Wait(name string) *ProjectsLocationsFeatureGroupsOperationsWaitCall
Wait: Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.
- name: The name of the operation resource to wait on.
type ProjectsLocationsFeatureGroupsOperationsWaitCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsFeatureGroupsOperationsWaitCall) Context(ctx context.Context) *ProjectsLocationsFeatureGroupsOperationsWaitCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsFeatureGroupsOperationsWaitCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.featureGroups.operations.wait" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsFeatureGroupsOperationsWaitCall) Fields(s ...googleapi.Field) *ProjectsLocationsFeatureGroupsOperationsWaitCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsFeatureGroupsOperationsWaitCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsFeatureGroupsOperationsWaitCall) Timeout(timeout string) *ProjectsLocationsFeatureGroupsOperationsWaitCall
Timeout sets the optional parameter "timeout": The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.
type ProjectsLocationsFeatureGroupsPatchCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsFeatureGroupsPatchCall) Context(ctx context.Context) *ProjectsLocationsFeatureGroupsPatchCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsFeatureGroupsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.featureGroups.patch" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsFeatureGroupsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsFeatureGroupsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsFeatureGroupsPatchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsFeatureGroupsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsFeatureGroupsPatchCall
UpdateMask sets the optional parameter "updateMask": Field mask is used to specify the fields to be overwritten in the FeatureGroup resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to `*` to override all fields. Updatable fields: * `labels`
type ProjectsLocationsFeatureGroupsService struct { Features *ProjectsLocationsFeatureGroupsFeaturesService Operations *ProjectsLocationsFeatureGroupsOperationsService // contains filtered or unexported fields }
func NewProjectsLocationsFeatureGroupsService(s *Service) *ProjectsLocationsFeatureGroupsService
func (r *ProjectsLocationsFeatureGroupsService) Create(parent string, googlecloudaiplatformv1featuregroup *GoogleCloudAiplatformV1FeatureGroup) *ProjectsLocationsFeatureGroupsCreateCall
Create: Creates a new FeatureGroup in a given project and location.
func (r *ProjectsLocationsFeatureGroupsService) Delete(name string) *ProjectsLocationsFeatureGroupsDeleteCall
Delete: Deletes a single FeatureGroup.
func (r *ProjectsLocationsFeatureGroupsService) Get(name string) *ProjectsLocationsFeatureGroupsGetCall
Get: Gets details of a single FeatureGroup.
- name: The name of the FeatureGroup resource.
func (r *ProjectsLocationsFeatureGroupsService) List(parent string) *ProjectsLocationsFeatureGroupsListCall
List: Lists FeatureGroups in a given project and location.
func (r *ProjectsLocationsFeatureGroupsService) Patch(name string, googlecloudaiplatformv1featuregroup *GoogleCloudAiplatformV1FeatureGroup) *ProjectsLocationsFeatureGroupsPatchCall
Patch: Updates the parameters of a single FeatureGroup.
type ProjectsLocationsFeatureOnlineStoresCreateCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsFeatureOnlineStoresCreateCall) Context(ctx context.Context) *ProjectsLocationsFeatureOnlineStoresCreateCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsFeatureOnlineStoresCreateCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.featureOnlineStores.create" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsFeatureOnlineStoresCreateCall) FeatureOnlineStoreId(featureOnlineStoreId string) *ProjectsLocationsFeatureOnlineStoresCreateCall
FeatureOnlineStoreId sets the optional parameter "featureOnlineStoreId": Required. The ID to use for this FeatureOnlineStore, which will become the final component of the FeatureOnlineStore's resource name. This value may be up to 60 characters, and valid characters are `[a-z0-9_]`. The first character cannot be a number. The value must be unique within the project and location.
func (c *ProjectsLocationsFeatureOnlineStoresCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsFeatureOnlineStoresCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsFeatureOnlineStoresCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsFeatureOnlineStoresDeleteCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsFeatureOnlineStoresDeleteCall) Context(ctx context.Context) *ProjectsLocationsFeatureOnlineStoresDeleteCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsFeatureOnlineStoresDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.featureOnlineStores.delete" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsFeatureOnlineStoresDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsFeatureOnlineStoresDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsFeatureOnlineStoresDeleteCall) Force(force bool) *ProjectsLocationsFeatureOnlineStoresDeleteCall
Force sets the optional parameter "force": If set to true, any FeatureViews and Features for this FeatureOnlineStore will also be deleted. (Otherwise, the request will only work if the FeatureOnlineStore has no FeatureViews.)
func (c *ProjectsLocationsFeatureOnlineStoresDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsFeatureOnlineStoresFeatureViewsCreateCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsFeatureOnlineStoresFeatureViewsCreateCall) Context(ctx context.Context) *ProjectsLocationsFeatureOnlineStoresFeatureViewsCreateCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsFeatureOnlineStoresFeatureViewsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.featureOnlineStores.featureViews.create" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsFeatureOnlineStoresFeatureViewsCreateCall) FeatureViewId(featureViewId string) *ProjectsLocationsFeatureOnlineStoresFeatureViewsCreateCall
FeatureViewId sets the optional parameter "featureViewId": Required. The ID to use for the FeatureView, which will become the final component of the FeatureView's resource name. This value may be up to 60 characters, and valid characters are `[a-z0-9_]`. The first character cannot be a number. The value must be unique within a FeatureOnlineStore.
func (c *ProjectsLocationsFeatureOnlineStoresFeatureViewsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsFeatureOnlineStoresFeatureViewsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsFeatureOnlineStoresFeatureViewsCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsFeatureOnlineStoresFeatureViewsCreateCall) RunSyncImmediately(runSyncImmediately bool) *ProjectsLocationsFeatureOnlineStoresFeatureViewsCreateCall
RunSyncImmediately sets the optional parameter "runSyncImmediately": Immutable. If set to true, one on demand sync will be run immediately, regardless whether the FeatureView.sync_config is configured or not.
type ProjectsLocationsFeatureOnlineStoresFeatureViewsDeleteCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsFeatureOnlineStoresFeatureViewsDeleteCall) Context(ctx context.Context) *ProjectsLocationsFeatureOnlineStoresFeatureViewsDeleteCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsFeatureOnlineStoresFeatureViewsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.featureOnlineStores.featureViews.delete" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsFeatureOnlineStoresFeatureViewsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsFeatureOnlineStoresFeatureViewsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsFeatureOnlineStoresFeatureViewsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsFeatureOnlineStoresFeatureViewsFeatureViewSyncsGetCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsFeatureOnlineStoresFeatureViewsFeatureViewSyncsGetCall) Context(ctx context.Context) *ProjectsLocationsFeatureOnlineStoresFeatureViewsFeatureViewSyncsGetCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsFeatureOnlineStoresFeatureViewsFeatureViewSyncsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1FeatureViewSync, error)
Do executes the "aiplatform.projects.locations.featureOnlineStores.featureViews.featureViewSyncs.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1FeatureViewSync.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsFeatureOnlineStoresFeatureViewsFeatureViewSyncsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsFeatureOnlineStoresFeatureViewsFeatureViewSyncsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsFeatureOnlineStoresFeatureViewsFeatureViewSyncsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsFeatureOnlineStoresFeatureViewsFeatureViewSyncsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsFeatureOnlineStoresFeatureViewsFeatureViewSyncsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsLocationsFeatureOnlineStoresFeatureViewsFeatureViewSyncsListCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsFeatureOnlineStoresFeatureViewsFeatureViewSyncsListCall) Context(ctx context.Context) *ProjectsLocationsFeatureOnlineStoresFeatureViewsFeatureViewSyncsListCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsFeatureOnlineStoresFeatureViewsFeatureViewSyncsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1ListFeatureViewSyncsResponse, error)
Do executes the "aiplatform.projects.locations.featureOnlineStores.featureViews.featureViewSyncs.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1ListFeatureViewSyncsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsFeatureOnlineStoresFeatureViewsFeatureViewSyncsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsFeatureOnlineStoresFeatureViewsFeatureViewSyncsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsFeatureOnlineStoresFeatureViewsFeatureViewSyncsListCall) Filter(filter string) *ProjectsLocationsFeatureOnlineStoresFeatureViewsFeatureViewSyncsListCall
Filter sets the optional parameter "filter": Lists the FeatureViewSyncs that match the filter expression. The following filters are supported: * `create_time`: Supports `=`, `!=`, `<`, `>`, `>=`, and `<=` comparisons. Values must be in RFC 3339 format. Examples: * `create_time > \"2020-01-31T15:30:00.000000Z\" --> FeatureViewSyncs created after 2020-01-31T15:30:00.000000Z.
func (c *ProjectsLocationsFeatureOnlineStoresFeatureViewsFeatureViewSyncsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsFeatureOnlineStoresFeatureViewsFeatureViewSyncsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsFeatureOnlineStoresFeatureViewsFeatureViewSyncsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (c *ProjectsLocationsFeatureOnlineStoresFeatureViewsFeatureViewSyncsListCall) OrderBy(orderBy string) *ProjectsLocationsFeatureOnlineStoresFeatureViewsFeatureViewSyncsListCall
OrderBy sets the optional parameter "orderBy": A comma-separated list of fields to order by, sorted in ascending order. Use "desc" after a field name for descending. Supported fields: * `create_time`
func (c *ProjectsLocationsFeatureOnlineStoresFeatureViewsFeatureViewSyncsListCall) PageSize(pageSize int64) *ProjectsLocationsFeatureOnlineStoresFeatureViewsFeatureViewSyncsListCall
PageSize sets the optional parameter "pageSize": The maximum number of FeatureViewSyncs to return. The service may return fewer than this value. If unspecified, at most 1000 FeatureViewSyncs will be returned. The maximum value is 1000; any value greater than 1000 will be coerced to 1000.
func (c *ProjectsLocationsFeatureOnlineStoresFeatureViewsFeatureViewSyncsListCall) PageToken(pageToken string) *ProjectsLocationsFeatureOnlineStoresFeatureViewsFeatureViewSyncsListCall
PageToken sets the optional parameter "pageToken": A page token, received from a previous FeatureOnlineStoreAdminService.ListFeatureViewSyncs call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to FeatureOnlineStoreAdminService.ListFeatureViewSyncs must match the call that provided the page token.
func (c *ProjectsLocationsFeatureOnlineStoresFeatureViewsFeatureViewSyncsListCall) Pages(ctx context.Context, f func(*GoogleCloudAiplatformV1ListFeatureViewSyncsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ProjectsLocationsFeatureOnlineStoresFeatureViewsFeatureViewSyncsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsFeatureOnlineStoresFeatureViewsFeatureViewSyncsService(s *Service) *ProjectsLocationsFeatureOnlineStoresFeatureViewsFeatureViewSyncsService
func (r *ProjectsLocationsFeatureOnlineStoresFeatureViewsFeatureViewSyncsService) Get(name string) *ProjectsLocationsFeatureOnlineStoresFeatureViewsFeatureViewSyncsGetCall
Get: Gets details of a single FeatureViewSync.
func (r *ProjectsLocationsFeatureOnlineStoresFeatureViewsFeatureViewSyncsService) List(parent string) *ProjectsLocationsFeatureOnlineStoresFeatureViewsFeatureViewSyncsListCall
List: Lists FeatureViewSyncs in a given FeatureView.
type ProjectsLocationsFeatureOnlineStoresFeatureViewsFetchFeatureValuesCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsFeatureOnlineStoresFeatureViewsFetchFeatureValuesCall) Context(ctx context.Context) *ProjectsLocationsFeatureOnlineStoresFeatureViewsFetchFeatureValuesCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsFeatureOnlineStoresFeatureViewsFetchFeatureValuesCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1FetchFeatureValuesResponse, error)
Do executes the "aiplatform.projects.locations.featureOnlineStores.featureViews.fetchFeatureValues" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1FetchFeatureValuesResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsFeatureOnlineStoresFeatureViewsFetchFeatureValuesCall) Fields(s ...googleapi.Field) *ProjectsLocationsFeatureOnlineStoresFeatureViewsFetchFeatureValuesCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsFeatureOnlineStoresFeatureViewsFetchFeatureValuesCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsFeatureOnlineStoresFeatureViewsGetCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsFeatureOnlineStoresFeatureViewsGetCall) Context(ctx context.Context) *ProjectsLocationsFeatureOnlineStoresFeatureViewsGetCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsFeatureOnlineStoresFeatureViewsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1FeatureView, error)
Do executes the "aiplatform.projects.locations.featureOnlineStores.featureViews.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1FeatureView.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsFeatureOnlineStoresFeatureViewsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsFeatureOnlineStoresFeatureViewsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsFeatureOnlineStoresFeatureViewsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsFeatureOnlineStoresFeatureViewsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsFeatureOnlineStoresFeatureViewsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsLocationsFeatureOnlineStoresFeatureViewsListCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsFeatureOnlineStoresFeatureViewsListCall) Context(ctx context.Context) *ProjectsLocationsFeatureOnlineStoresFeatureViewsListCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsFeatureOnlineStoresFeatureViewsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1ListFeatureViewsResponse, error)
Do executes the "aiplatform.projects.locations.featureOnlineStores.featureViews.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1ListFeatureViewsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsFeatureOnlineStoresFeatureViewsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsFeatureOnlineStoresFeatureViewsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsFeatureOnlineStoresFeatureViewsListCall) Filter(filter string) *ProjectsLocationsFeatureOnlineStoresFeatureViewsListCall
Filter sets the optional parameter "filter": Lists the FeatureViews that match the filter expression. The following filters are supported: * `create_time`: Supports `=`, `!=`, `<`, `>`, `>=`, and `<=` comparisons. Values must be in RFC 3339 format. * `update_time`: Supports `=`, `!=`, `<`, `>`, `>=`, and `<=` comparisons. Values must be in RFC 3339 format. * `labels`: Supports key-value equality as well as key presence. Examples: * `create_time > \"2020-01-31T15:30:00.000000Z\" OR update_time > \"2020-01-31T15:30:00.000000Z\" --> FeatureViews created or updated after 2020-01-31T15:30:00.000000Z. * `labels.active = yes AND labels.env = prod` --> FeatureViews having both (active: yes) and (env: prod) labels. * `labels.env: *` --> Any FeatureView which has a label with 'env' as the key.
func (c *ProjectsLocationsFeatureOnlineStoresFeatureViewsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsFeatureOnlineStoresFeatureViewsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsFeatureOnlineStoresFeatureViewsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (c *ProjectsLocationsFeatureOnlineStoresFeatureViewsListCall) OrderBy(orderBy string) *ProjectsLocationsFeatureOnlineStoresFeatureViewsListCall
OrderBy sets the optional parameter "orderBy": A comma-separated list of fields to order by, sorted in ascending order. Use "desc" after a field name for descending. Supported fields: * `feature_view_id` * `create_time` * `update_time`
func (c *ProjectsLocationsFeatureOnlineStoresFeatureViewsListCall) PageSize(pageSize int64) *ProjectsLocationsFeatureOnlineStoresFeatureViewsListCall
PageSize sets the optional parameter "pageSize": The maximum number of FeatureViews to return. The service may return fewer than this value. If unspecified, at most 1000 FeatureViews will be returned. The maximum value is 1000; any value greater than 1000 will be coerced to 1000.
func (c *ProjectsLocationsFeatureOnlineStoresFeatureViewsListCall) PageToken(pageToken string) *ProjectsLocationsFeatureOnlineStoresFeatureViewsListCall
PageToken sets the optional parameter "pageToken": A page token, received from a previous FeatureOnlineStoreAdminService.ListFeatureViews call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to FeatureOnlineStoreAdminService.ListFeatureViews must match the call that provided the page token.
func (c *ProjectsLocationsFeatureOnlineStoresFeatureViewsListCall) Pages(ctx context.Context, f func(*GoogleCloudAiplatformV1ListFeatureViewsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ProjectsLocationsFeatureOnlineStoresFeatureViewsOperationsDeleteCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsFeatureOnlineStoresFeatureViewsOperationsDeleteCall) Context(ctx context.Context) *ProjectsLocationsFeatureOnlineStoresFeatureViewsOperationsDeleteCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsFeatureOnlineStoresFeatureViewsOperationsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "aiplatform.projects.locations.featureOnlineStores.featureViews.operations.delete" call. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsFeatureOnlineStoresFeatureViewsOperationsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsFeatureOnlineStoresFeatureViewsOperationsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsFeatureOnlineStoresFeatureViewsOperationsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsFeatureOnlineStoresFeatureViewsOperationsGetCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsFeatureOnlineStoresFeatureViewsOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsFeatureOnlineStoresFeatureViewsOperationsGetCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsFeatureOnlineStoresFeatureViewsOperationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.featureOnlineStores.featureViews.operations.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsFeatureOnlineStoresFeatureViewsOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsFeatureOnlineStoresFeatureViewsOperationsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsFeatureOnlineStoresFeatureViewsOperationsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsFeatureOnlineStoresFeatureViewsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsFeatureOnlineStoresFeatureViewsOperationsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsLocationsFeatureOnlineStoresFeatureViewsOperationsListWaitCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsFeatureOnlineStoresFeatureViewsOperationsListWaitCall) Context(ctx context.Context) *ProjectsLocationsFeatureOnlineStoresFeatureViewsOperationsListWaitCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsFeatureOnlineStoresFeatureViewsOperationsListWaitCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningListOperationsResponse, error)
Do executes the "aiplatform.projects.locations.featureOnlineStores.featureViews.operations.listWait" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningListOperationsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsFeatureOnlineStoresFeatureViewsOperationsListWaitCall) Fields(s ...googleapi.Field) *ProjectsLocationsFeatureOnlineStoresFeatureViewsOperationsListWaitCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsFeatureOnlineStoresFeatureViewsOperationsListWaitCall) Filter(filter string) *ProjectsLocationsFeatureOnlineStoresFeatureViewsOperationsListWaitCall
Filter sets the optional parameter "filter": The standard list filter.
func (c *ProjectsLocationsFeatureOnlineStoresFeatureViewsOperationsListWaitCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsFeatureOnlineStoresFeatureViewsOperationsListWaitCall) IfNoneMatch(entityTag string) *ProjectsLocationsFeatureOnlineStoresFeatureViewsOperationsListWaitCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (c *ProjectsLocationsFeatureOnlineStoresFeatureViewsOperationsListWaitCall) PageSize(pageSize int64) *ProjectsLocationsFeatureOnlineStoresFeatureViewsOperationsListWaitCall
PageSize sets the optional parameter "pageSize": The standard list page size.
func (c *ProjectsLocationsFeatureOnlineStoresFeatureViewsOperationsListWaitCall) PageToken(pageToken string) *ProjectsLocationsFeatureOnlineStoresFeatureViewsOperationsListWaitCall
PageToken sets the optional parameter "pageToken": The standard list page token.
func (c *ProjectsLocationsFeatureOnlineStoresFeatureViewsOperationsListWaitCall) Pages(ctx context.Context, f func(*GoogleLongrunningListOperationsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ProjectsLocationsFeatureOnlineStoresFeatureViewsOperationsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsFeatureOnlineStoresFeatureViewsOperationsService(s *Service) *ProjectsLocationsFeatureOnlineStoresFeatureViewsOperationsService
func (r *ProjectsLocationsFeatureOnlineStoresFeatureViewsOperationsService) Delete(name string) *ProjectsLocationsFeatureOnlineStoresFeatureViewsOperationsDeleteCall
Delete: Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
- name: The name of the operation resource to be deleted.
func (r *ProjectsLocationsFeatureOnlineStoresFeatureViewsOperationsService) Get(name string) *ProjectsLocationsFeatureOnlineStoresFeatureViewsOperationsGetCall
Get: Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
- name: The name of the operation resource.
func (r *ProjectsLocationsFeatureOnlineStoresFeatureViewsOperationsService) ListWait(name string) *ProjectsLocationsFeatureOnlineStoresFeatureViewsOperationsListWaitCall
ListWait: Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.
- name: The name of the operation's parent resource.
func (r *ProjectsLocationsFeatureOnlineStoresFeatureViewsOperationsService) Wait(name string) *ProjectsLocationsFeatureOnlineStoresFeatureViewsOperationsWaitCall
Wait: Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.
- name: The name of the operation resource to wait on.
type ProjectsLocationsFeatureOnlineStoresFeatureViewsOperationsWaitCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsFeatureOnlineStoresFeatureViewsOperationsWaitCall) Context(ctx context.Context) *ProjectsLocationsFeatureOnlineStoresFeatureViewsOperationsWaitCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsFeatureOnlineStoresFeatureViewsOperationsWaitCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.featureOnlineStores.featureViews.operations.wait" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsFeatureOnlineStoresFeatureViewsOperationsWaitCall) Fields(s ...googleapi.Field) *ProjectsLocationsFeatureOnlineStoresFeatureViewsOperationsWaitCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsFeatureOnlineStoresFeatureViewsOperationsWaitCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsFeatureOnlineStoresFeatureViewsOperationsWaitCall) Timeout(timeout string) *ProjectsLocationsFeatureOnlineStoresFeatureViewsOperationsWaitCall
Timeout sets the optional parameter "timeout": The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.
type ProjectsLocationsFeatureOnlineStoresFeatureViewsPatchCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsFeatureOnlineStoresFeatureViewsPatchCall) Context(ctx context.Context) *ProjectsLocationsFeatureOnlineStoresFeatureViewsPatchCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsFeatureOnlineStoresFeatureViewsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.featureOnlineStores.featureViews.patch" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsFeatureOnlineStoresFeatureViewsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsFeatureOnlineStoresFeatureViewsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsFeatureOnlineStoresFeatureViewsPatchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsFeatureOnlineStoresFeatureViewsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsFeatureOnlineStoresFeatureViewsPatchCall
UpdateMask sets the optional parameter "updateMask": Field mask is used to specify the fields to be overwritten in the FeatureView resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to `*` to override all fields. Updatable fields: * `labels` * `serviceAgentType`
type ProjectsLocationsFeatureOnlineStoresFeatureViewsSearchNearestEntitiesCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsFeatureOnlineStoresFeatureViewsSearchNearestEntitiesCall) Context(ctx context.Context) *ProjectsLocationsFeatureOnlineStoresFeatureViewsSearchNearestEntitiesCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsFeatureOnlineStoresFeatureViewsSearchNearestEntitiesCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1SearchNearestEntitiesResponse, error)
Do executes the "aiplatform.projects.locations.featureOnlineStores.featureViews.searchNearestEntities" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1SearchNearestEntitiesResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsFeatureOnlineStoresFeatureViewsSearchNearestEntitiesCall) Fields(s ...googleapi.Field) *ProjectsLocationsFeatureOnlineStoresFeatureViewsSearchNearestEntitiesCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsFeatureOnlineStoresFeatureViewsSearchNearestEntitiesCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsFeatureOnlineStoresFeatureViewsService struct { FeatureViewSyncs *ProjectsLocationsFeatureOnlineStoresFeatureViewsFeatureViewSyncsService Operations *ProjectsLocationsFeatureOnlineStoresFeatureViewsOperationsService // contains filtered or unexported fields }
func NewProjectsLocationsFeatureOnlineStoresFeatureViewsService(s *Service) *ProjectsLocationsFeatureOnlineStoresFeatureViewsService
func (r *ProjectsLocationsFeatureOnlineStoresFeatureViewsService) Create(parent string, googlecloudaiplatformv1featureview *GoogleCloudAiplatformV1FeatureView) *ProjectsLocationsFeatureOnlineStoresFeatureViewsCreateCall
Create: Creates a new FeatureView in a given FeatureOnlineStore.
func (r *ProjectsLocationsFeatureOnlineStoresFeatureViewsService) Delete(name string) *ProjectsLocationsFeatureOnlineStoresFeatureViewsDeleteCall
Delete: Deletes a single FeatureView.
func (r *ProjectsLocationsFeatureOnlineStoresFeatureViewsService) FetchFeatureValues(featureView string, googlecloudaiplatformv1fetchfeaturevaluesrequest *GoogleCloudAiplatformV1FetchFeatureValuesRequest) *ProjectsLocationsFeatureOnlineStoresFeatureViewsFetchFeatureValuesCall
FetchFeatureValues: Fetch feature values under a FeatureView.
func (r *ProjectsLocationsFeatureOnlineStoresFeatureViewsService) Get(name string) *ProjectsLocationsFeatureOnlineStoresFeatureViewsGetCall
Get: Gets details of a single FeatureView.
func (r *ProjectsLocationsFeatureOnlineStoresFeatureViewsService) List(parent string) *ProjectsLocationsFeatureOnlineStoresFeatureViewsListCall
List: Lists FeatureViews in a given FeatureOnlineStore.
func (r *ProjectsLocationsFeatureOnlineStoresFeatureViewsService) Patch(name string, googlecloudaiplatformv1featureview *GoogleCloudAiplatformV1FeatureView) *ProjectsLocationsFeatureOnlineStoresFeatureViewsPatchCall
Patch: Updates the parameters of a single FeatureView.
func (r *ProjectsLocationsFeatureOnlineStoresFeatureViewsService) SearchNearestEntities(featureView string, googlecloudaiplatformv1searchnearestentitiesrequest *GoogleCloudAiplatformV1SearchNearestEntitiesRequest) *ProjectsLocationsFeatureOnlineStoresFeatureViewsSearchNearestEntitiesCall
SearchNearestEntities: Search the nearest entities under a FeatureView. Search only works for indexable feature view; if a feature view isn't indexable, returns Invalid argument response.
func (r *ProjectsLocationsFeatureOnlineStoresFeatureViewsService) Sync(featureView string, googlecloudaiplatformv1syncfeatureviewrequest *GoogleCloudAiplatformV1SyncFeatureViewRequest) *ProjectsLocationsFeatureOnlineStoresFeatureViewsSyncCall
Sync: Triggers on-demand sync for the FeatureView.
type ProjectsLocationsFeatureOnlineStoresFeatureViewsSyncCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsFeatureOnlineStoresFeatureViewsSyncCall) Context(ctx context.Context) *ProjectsLocationsFeatureOnlineStoresFeatureViewsSyncCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsFeatureOnlineStoresFeatureViewsSyncCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1SyncFeatureViewResponse, error)
Do executes the "aiplatform.projects.locations.featureOnlineStores.featureViews.sync" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1SyncFeatureViewResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsFeatureOnlineStoresFeatureViewsSyncCall) Fields(s ...googleapi.Field) *ProjectsLocationsFeatureOnlineStoresFeatureViewsSyncCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsFeatureOnlineStoresFeatureViewsSyncCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsFeatureOnlineStoresGetCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsFeatureOnlineStoresGetCall) Context(ctx context.Context) *ProjectsLocationsFeatureOnlineStoresGetCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsFeatureOnlineStoresGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1FeatureOnlineStore, error)
Do executes the "aiplatform.projects.locations.featureOnlineStores.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1FeatureOnlineStore.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsFeatureOnlineStoresGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsFeatureOnlineStoresGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsFeatureOnlineStoresGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsFeatureOnlineStoresGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsFeatureOnlineStoresGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsLocationsFeatureOnlineStoresListCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsFeatureOnlineStoresListCall) Context(ctx context.Context) *ProjectsLocationsFeatureOnlineStoresListCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsFeatureOnlineStoresListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1ListFeatureOnlineStoresResponse, error)
Do executes the "aiplatform.projects.locations.featureOnlineStores.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1ListFeatureOnlineStoresResponse.ServerResponse.Header
or (if a response was returned at all) in error.(*googleapi.Error).Header.
Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsFeatureOnlineStoresListCall) Fields(s ...googleapi.Field) *ProjectsLocationsFeatureOnlineStoresListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsFeatureOnlineStoresListCall) Filter(filter string) *ProjectsLocationsFeatureOnlineStoresListCall
Filter sets the optional parameter "filter": Lists the FeatureOnlineStores that match the filter expression. The following fields are supported: * `create_time`: Supports `=`, `!=`, `<`, `>`, `<=`, and `>=` comparisons. Values must be in RFC 3339 format. * `update_time`: Supports `=`, `!=`, `<`, `>`, `<=`, and `>=` comparisons. Values must be in RFC 3339 format. * `labels`: Supports key-value equality and key presence. Examples: * `create_time > "2020-01-01" OR update_time > "2020-01-01" FeatureOnlineStores created or updated after 2020-01-01. * `labels.env = "prod" FeatureOnlineStores with label "env" set to "prod".
func (c *ProjectsLocationsFeatureOnlineStoresListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsFeatureOnlineStoresListCall) IfNoneMatch(entityTag string) *ProjectsLocationsFeatureOnlineStoresListCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (c *ProjectsLocationsFeatureOnlineStoresListCall) OrderBy(orderBy string) *ProjectsLocationsFeatureOnlineStoresListCall
OrderBy sets the optional parameter "orderBy": A comma-separated list of fields to order by, sorted in ascending order. Use "desc" after a field name for descending. Supported Fields: * `create_time` * `update_time`
func (c *ProjectsLocationsFeatureOnlineStoresListCall) PageSize(pageSize int64) *ProjectsLocationsFeatureOnlineStoresListCall
PageSize sets the optional parameter "pageSize": The maximum number of FeatureOnlineStores to return. The service may return fewer than this value. If unspecified, at most 100 FeatureOnlineStores will be returned. The maximum value is 100; any value greater than 100 will be coerced to 100.
func (c *ProjectsLocationsFeatureOnlineStoresListCall) PageToken(pageToken string) *ProjectsLocationsFeatureOnlineStoresListCall
PageToken sets the optional parameter "pageToken": A page token, received from a previous FeatureOnlineStoreAdminService.ListFeatureOnlineStores call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to FeatureOnlineStoreAdminService.ListFeatureOnlineStores must match the call that provided the page token.
func (c *ProjectsLocationsFeatureOnlineStoresListCall) Pages(ctx context.Context, f func(*GoogleCloudAiplatformV1ListFeatureOnlineStoresResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ProjectsLocationsFeatureOnlineStoresOperationsDeleteCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsFeatureOnlineStoresOperationsDeleteCall) Context(ctx context.Context) *ProjectsLocationsFeatureOnlineStoresOperationsDeleteCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsFeatureOnlineStoresOperationsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "aiplatform.projects.locations.featureOnlineStores.operations.delete" call. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsFeatureOnlineStoresOperationsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsFeatureOnlineStoresOperationsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsFeatureOnlineStoresOperationsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsFeatureOnlineStoresOperationsGetCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsFeatureOnlineStoresOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsFeatureOnlineStoresOperationsGetCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsFeatureOnlineStoresOperationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.featureOnlineStores.operations.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsFeatureOnlineStoresOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsFeatureOnlineStoresOperationsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsFeatureOnlineStoresOperationsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsFeatureOnlineStoresOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsFeatureOnlineStoresOperationsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsLocationsFeatureOnlineStoresOperationsListWaitCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsFeatureOnlineStoresOperationsListWaitCall) Context(ctx context.Context) *ProjectsLocationsFeatureOnlineStoresOperationsListWaitCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsFeatureOnlineStoresOperationsListWaitCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningListOperationsResponse, error)
Do executes the "aiplatform.projects.locations.featureOnlineStores.operations.listWait" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningListOperationsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsFeatureOnlineStoresOperationsListWaitCall) Fields(s ...googleapi.Field) *ProjectsLocationsFeatureOnlineStoresOperationsListWaitCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsFeatureOnlineStoresOperationsListWaitCall) Filter(filter string) *ProjectsLocationsFeatureOnlineStoresOperationsListWaitCall
Filter sets the optional parameter "filter": The standard list filter.
func (c *ProjectsLocationsFeatureOnlineStoresOperationsListWaitCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsFeatureOnlineStoresOperationsListWaitCall) IfNoneMatch(entityTag string) *ProjectsLocationsFeatureOnlineStoresOperationsListWaitCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (c *ProjectsLocationsFeatureOnlineStoresOperationsListWaitCall) PageSize(pageSize int64) *ProjectsLocationsFeatureOnlineStoresOperationsListWaitCall
PageSize sets the optional parameter "pageSize": The standard list page size.
func (c *ProjectsLocationsFeatureOnlineStoresOperationsListWaitCall) PageToken(pageToken string) *ProjectsLocationsFeatureOnlineStoresOperationsListWaitCall
PageToken sets the optional parameter "pageToken": The standard list page token.
func (c *ProjectsLocationsFeatureOnlineStoresOperationsListWaitCall) Pages(ctx context.Context, f func(*GoogleLongrunningListOperationsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ProjectsLocationsFeatureOnlineStoresOperationsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsFeatureOnlineStoresOperationsService(s *Service) *ProjectsLocationsFeatureOnlineStoresOperationsService
func (r *ProjectsLocationsFeatureOnlineStoresOperationsService) Delete(name string) *ProjectsLocationsFeatureOnlineStoresOperationsDeleteCall
Delete: Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
- name: The name of the operation resource to be deleted.
func (r *ProjectsLocationsFeatureOnlineStoresOperationsService) Get(name string) *ProjectsLocationsFeatureOnlineStoresOperationsGetCall
Get: Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
- name: The name of the operation resource.
func (r *ProjectsLocationsFeatureOnlineStoresOperationsService) ListWait(name string) *ProjectsLocationsFeatureOnlineStoresOperationsListWaitCall
ListWait: Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.
- name: The name of the operation's parent resource.
func (r *ProjectsLocationsFeatureOnlineStoresOperationsService) Wait(name string) *ProjectsLocationsFeatureOnlineStoresOperationsWaitCall
Wait: Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.
- name: The name of the operation resource to wait on.
type ProjectsLocationsFeatureOnlineStoresOperationsWaitCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsFeatureOnlineStoresOperationsWaitCall) Context(ctx context.Context) *ProjectsLocationsFeatureOnlineStoresOperationsWaitCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsFeatureOnlineStoresOperationsWaitCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.featureOnlineStores.operations.wait" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsFeatureOnlineStoresOperationsWaitCall) Fields(s ...googleapi.Field) *ProjectsLocationsFeatureOnlineStoresOperationsWaitCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsFeatureOnlineStoresOperationsWaitCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsFeatureOnlineStoresOperationsWaitCall) Timeout(timeout string) *ProjectsLocationsFeatureOnlineStoresOperationsWaitCall
Timeout sets the optional parameter "timeout": The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.
type ProjectsLocationsFeatureOnlineStoresPatchCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsFeatureOnlineStoresPatchCall) Context(ctx context.Context) *ProjectsLocationsFeatureOnlineStoresPatchCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsFeatureOnlineStoresPatchCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.featureOnlineStores.patch" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsFeatureOnlineStoresPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsFeatureOnlineStoresPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsFeatureOnlineStoresPatchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsFeatureOnlineStoresPatchCall) UpdateMask(updateMask string) *ProjectsLocationsFeatureOnlineStoresPatchCall
UpdateMask sets the optional parameter "updateMask": Field mask is used to specify the fields to be overwritten in the FeatureOnlineStore resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to `*` to override all fields. Updatable fields: * `big_query_source` * `bigtable` * `labels` * `sync_config`
type ProjectsLocationsFeatureOnlineStoresService struct { FeatureViews *ProjectsLocationsFeatureOnlineStoresFeatureViewsService Operations *ProjectsLocationsFeatureOnlineStoresOperationsService // contains filtered or unexported fields }
func NewProjectsLocationsFeatureOnlineStoresService(s *Service) *ProjectsLocationsFeatureOnlineStoresService
func (r *ProjectsLocationsFeatureOnlineStoresService) Create(parent string, googlecloudaiplatformv1featureonlinestore *GoogleCloudAiplatformV1FeatureOnlineStore) *ProjectsLocationsFeatureOnlineStoresCreateCall
Create: Creates a new FeatureOnlineStore in a given project and location.
func (r *ProjectsLocationsFeatureOnlineStoresService) Delete(name string) *ProjectsLocationsFeatureOnlineStoresDeleteCall
Delete: Deletes a single FeatureOnlineStore. The FeatureOnlineStore must not contain any FeatureViews.
func (r *ProjectsLocationsFeatureOnlineStoresService) Get(name string) *ProjectsLocationsFeatureOnlineStoresGetCall
Get: Gets details of a single FeatureOnlineStore.
- name: The name of the FeatureOnlineStore resource.
func (r *ProjectsLocationsFeatureOnlineStoresService) List(parent string) *ProjectsLocationsFeatureOnlineStoresListCall
List: Lists FeatureOnlineStores in a given project and location.
func (r *ProjectsLocationsFeatureOnlineStoresService) Patch(name string, googlecloudaiplatformv1featureonlinestore *GoogleCloudAiplatformV1FeatureOnlineStore) *ProjectsLocationsFeatureOnlineStoresPatchCall
Patch: Updates the parameters of a single FeatureOnlineStore.
type ProjectsLocationsFeaturestoresBatchReadFeatureValuesCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsFeaturestoresBatchReadFeatureValuesCall) Context(ctx context.Context) *ProjectsLocationsFeaturestoresBatchReadFeatureValuesCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsFeaturestoresBatchReadFeatureValuesCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.featurestores.batchReadFeatureValues" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsFeaturestoresBatchReadFeatureValuesCall) Fields(s ...googleapi.Field) *ProjectsLocationsFeaturestoresBatchReadFeatureValuesCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsFeaturestoresBatchReadFeatureValuesCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsFeaturestoresCreateCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsFeaturestoresCreateCall) Context(ctx context.Context) *ProjectsLocationsFeaturestoresCreateCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsFeaturestoresCreateCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.featurestores.create" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsFeaturestoresCreateCall) FeaturestoreId(featurestoreId string) *ProjectsLocationsFeaturestoresCreateCall
FeaturestoreId sets the optional parameter "featurestoreId": Required. The ID to use for this Featurestore, which will become the final component of the Featurestore's resource name. This value may be up to 60 characters, and valid characters are `[a-z0-9_]`. The first character cannot be a number. The value must be unique within the project and location.
func (c *ProjectsLocationsFeaturestoresCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsFeaturestoresCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsFeaturestoresCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsFeaturestoresDeleteCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsFeaturestoresDeleteCall) Context(ctx context.Context) *ProjectsLocationsFeaturestoresDeleteCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsFeaturestoresDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.featurestores.delete" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsFeaturestoresDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsFeaturestoresDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsFeaturestoresDeleteCall) Force(force bool) *ProjectsLocationsFeaturestoresDeleteCall
Force sets the optional parameter "force": If set to true, any EntityTypes and Features for this Featurestore will also be deleted. (Otherwise, the request will only work if the Featurestore has no EntityTypes.)
func (c *ProjectsLocationsFeaturestoresDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsFeaturestoresEntityTypesCreateCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsFeaturestoresEntityTypesCreateCall) Context(ctx context.Context) *ProjectsLocationsFeaturestoresEntityTypesCreateCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsFeaturestoresEntityTypesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.featurestores.entityTypes.create" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsFeaturestoresEntityTypesCreateCall) EntityTypeId(entityTypeId string) *ProjectsLocationsFeaturestoresEntityTypesCreateCall
EntityTypeId sets the optional parameter "entityTypeId": Required. The ID to use for the EntityType, which will become the final component of the EntityType's resource name. This value may be up to 60 characters, and valid characters are `[a-z0-9_]`. The first character cannot be a number. The value must be unique within a featurestore.
func (c *ProjectsLocationsFeaturestoresEntityTypesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsFeaturestoresEntityTypesCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsFeaturestoresEntityTypesCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsFeaturestoresEntityTypesDeleteCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsFeaturestoresEntityTypesDeleteCall) Context(ctx context.Context) *ProjectsLocationsFeaturestoresEntityTypesDeleteCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsFeaturestoresEntityTypesDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.featurestores.entityTypes.delete" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsFeaturestoresEntityTypesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsFeaturestoresEntityTypesDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsFeaturestoresEntityTypesDeleteCall) Force(force bool) *ProjectsLocationsFeaturestoresEntityTypesDeleteCall
Force sets the optional parameter "force": If set to true, any Features for this EntityType will also be deleted. (Otherwise, the request will only work if the EntityType has no Features.)
func (c *ProjectsLocationsFeaturestoresEntityTypesDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsFeaturestoresEntityTypesDeleteFeatureValuesCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsFeaturestoresEntityTypesDeleteFeatureValuesCall) Context(ctx context.Context) *ProjectsLocationsFeaturestoresEntityTypesDeleteFeatureValuesCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsFeaturestoresEntityTypesDeleteFeatureValuesCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.featurestores.entityTypes.deleteFeatureValues" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsFeaturestoresEntityTypesDeleteFeatureValuesCall) Fields(s ...googleapi.Field) *ProjectsLocationsFeaturestoresEntityTypesDeleteFeatureValuesCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsFeaturestoresEntityTypesDeleteFeatureValuesCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsFeaturestoresEntityTypesExportFeatureValuesCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsFeaturestoresEntityTypesExportFeatureValuesCall) Context(ctx context.Context) *ProjectsLocationsFeaturestoresEntityTypesExportFeatureValuesCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsFeaturestoresEntityTypesExportFeatureValuesCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.featurestores.entityTypes.exportFeatureValues" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsFeaturestoresEntityTypesExportFeatureValuesCall) Fields(s ...googleapi.Field) *ProjectsLocationsFeaturestoresEntityTypesExportFeatureValuesCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsFeaturestoresEntityTypesExportFeatureValuesCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsFeaturestoresEntityTypesFeaturesBatchCreateCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsFeaturestoresEntityTypesFeaturesBatchCreateCall) Context(ctx context.Context) *ProjectsLocationsFeaturestoresEntityTypesFeaturesBatchCreateCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsFeaturestoresEntityTypesFeaturesBatchCreateCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.featurestores.entityTypes.features.batchCreate" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsFeaturestoresEntityTypesFeaturesBatchCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsFeaturestoresEntityTypesFeaturesBatchCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsFeaturestoresEntityTypesFeaturesBatchCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsFeaturestoresEntityTypesFeaturesCreateCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsFeaturestoresEntityTypesFeaturesCreateCall) Context(ctx context.Context) *ProjectsLocationsFeaturestoresEntityTypesFeaturesCreateCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsFeaturestoresEntityTypesFeaturesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.featurestores.entityTypes.features.create" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsFeaturestoresEntityTypesFeaturesCreateCall) FeatureId(featureId string) *ProjectsLocationsFeaturestoresEntityTypesFeaturesCreateCall
FeatureId sets the optional parameter "featureId": Required. The ID to use for the Feature, which will become the final component of the Feature's resource name. This value may be up to 128 characters, and valid characters are `[a-z0-9_]`. The first character cannot be a number. The value must be unique within an EntityType/FeatureGroup.
func (c *ProjectsLocationsFeaturestoresEntityTypesFeaturesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsFeaturestoresEntityTypesFeaturesCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsFeaturestoresEntityTypesFeaturesCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsFeaturestoresEntityTypesFeaturesDeleteCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsFeaturestoresEntityTypesFeaturesDeleteCall) Context(ctx context.Context) *ProjectsLocationsFeaturestoresEntityTypesFeaturesDeleteCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsFeaturestoresEntityTypesFeaturesDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.featurestores.entityTypes.features.delete" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsFeaturestoresEntityTypesFeaturesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsFeaturestoresEntityTypesFeaturesDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsFeaturestoresEntityTypesFeaturesDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsFeaturestoresEntityTypesFeaturesGetCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsFeaturestoresEntityTypesFeaturesGetCall) Context(ctx context.Context) *ProjectsLocationsFeaturestoresEntityTypesFeaturesGetCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsFeaturestoresEntityTypesFeaturesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1Feature, error)
Do executes the "aiplatform.projects.locations.featurestores.entityTypes.features.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1Feature.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsFeaturestoresEntityTypesFeaturesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsFeaturestoresEntityTypesFeaturesGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsFeaturestoresEntityTypesFeaturesGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsFeaturestoresEntityTypesFeaturesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsFeaturestoresEntityTypesFeaturesGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsLocationsFeaturestoresEntityTypesFeaturesListCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsFeaturestoresEntityTypesFeaturesListCall) Context(ctx context.Context) *ProjectsLocationsFeaturestoresEntityTypesFeaturesListCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsFeaturestoresEntityTypesFeaturesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1ListFeaturesResponse, error)
Do executes the "aiplatform.projects.locations.featurestores.entityTypes.features.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1ListFeaturesResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsFeaturestoresEntityTypesFeaturesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsFeaturestoresEntityTypesFeaturesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsFeaturestoresEntityTypesFeaturesListCall) Filter(filter string) *ProjectsLocationsFeaturestoresEntityTypesFeaturesListCall
Filter sets the optional parameter "filter": Lists the Features that match the filter expression. The following filters are supported: * `value_type`: Supports = and != comparisons. * `create_time`: Supports =, !=, <, >, >=, and <= comparisons. Values must be in RFC 3339 format. * `update_time`: Supports =, !=, <, >, >=, and <= comparisons. Values must be in RFC 3339 format. * `labels`: Supports key-value equality as well as key presence. Examples: * `value_type = DOUBLE` --> Features whose type is DOUBLE. * `create_time > \"2020-01-31T15:30:00.000000Z\" OR update_time > \"2020-01-31T15:30:00.000000Z\" --> EntityTypes created or updated after 2020-01-31T15:30:00.000000Z. * `labels.active = yes AND labels.env = prod` --> Features having both (active: yes) and (env: prod) labels. * `labels.env: *` --> Any Feature which has a label with 'env' as the key.
func (c *ProjectsLocationsFeaturestoresEntityTypesFeaturesListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsFeaturestoresEntityTypesFeaturesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsFeaturestoresEntityTypesFeaturesListCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (c *ProjectsLocationsFeaturestoresEntityTypesFeaturesListCall) LatestStatsCount(latestStatsCount int64) *ProjectsLocationsFeaturestoresEntityTypesFeaturesListCall
LatestStatsCount sets the optional parameter "latestStatsCount": Only applicable for Vertex AI Feature Store (Legacy). If set, return the most recent ListFeaturesRequest.latest_stats_count of stats for each Feature in response. Valid value is [0, 10]. If number of stats exists < ListFeaturesRequest.latest_stats_count, return all existing stats.
func (c *ProjectsLocationsFeaturestoresEntityTypesFeaturesListCall) OrderBy(orderBy string) *ProjectsLocationsFeaturestoresEntityTypesFeaturesListCall
OrderBy sets the optional parameter "orderBy": A comma-separated list of fields to order by, sorted in ascending order. Use "desc" after a field name for descending. Supported fields: * `feature_id` * `value_type` (Not supported for FeatureRegistry Feature) * `create_time` * `update_time`
func (c *ProjectsLocationsFeaturestoresEntityTypesFeaturesListCall) PageSize(pageSize int64) *ProjectsLocationsFeaturestoresEntityTypesFeaturesListCall
PageSize sets the optional parameter "pageSize": The maximum number of Features to return. The service may return fewer than this value. If unspecified, at most 1000 Features will be returned. The maximum value is 1000; any value greater than 1000 will be coerced to 1000.
func (c *ProjectsLocationsFeaturestoresEntityTypesFeaturesListCall) PageToken(pageToken string) *ProjectsLocationsFeaturestoresEntityTypesFeaturesListCall
PageToken sets the optional parameter "pageToken": A page token, received from a previous FeaturestoreService.ListFeatures call or FeatureRegistryService.ListFeatures call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to FeaturestoreService.ListFeatures or FeatureRegistryService.ListFeatures must match the call that provided the page token.
func (c *ProjectsLocationsFeaturestoresEntityTypesFeaturesListCall) Pages(ctx context.Context, f func(*GoogleCloudAiplatformV1ListFeaturesResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
func (c *ProjectsLocationsFeaturestoresEntityTypesFeaturesListCall) ReadMask(readMask string) *ProjectsLocationsFeaturestoresEntityTypesFeaturesListCall
ReadMask sets the optional parameter "readMask": Mask specifying which fields to read.
type ProjectsLocationsFeaturestoresEntityTypesFeaturesOperationsCancelCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsFeaturestoresEntityTypesFeaturesOperationsCancelCall) Context(ctx context.Context) *ProjectsLocationsFeaturestoresEntityTypesFeaturesOperationsCancelCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsFeaturestoresEntityTypesFeaturesOperationsCancelCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "aiplatform.projects.locations.featurestores.entityTypes.features.operations.cancel" call. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsFeaturestoresEntityTypesFeaturesOperationsCancelCall) Fields(s ...googleapi.Field) *ProjectsLocationsFeaturestoresEntityTypesFeaturesOperationsCancelCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsFeaturestoresEntityTypesFeaturesOperationsCancelCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsFeaturestoresEntityTypesFeaturesOperationsDeleteCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsFeaturestoresEntityTypesFeaturesOperationsDeleteCall) Context(ctx context.Context) *ProjectsLocationsFeaturestoresEntityTypesFeaturesOperationsDeleteCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsFeaturestoresEntityTypesFeaturesOperationsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "aiplatform.projects.locations.featurestores.entityTypes.features.operations.delete" call. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsFeaturestoresEntityTypesFeaturesOperationsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsFeaturestoresEntityTypesFeaturesOperationsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsFeaturestoresEntityTypesFeaturesOperationsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsFeaturestoresEntityTypesFeaturesOperationsGetCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsFeaturestoresEntityTypesFeaturesOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsFeaturestoresEntityTypesFeaturesOperationsGetCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsFeaturestoresEntityTypesFeaturesOperationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.featurestores.entityTypes.features.operations.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsFeaturestoresEntityTypesFeaturesOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsFeaturestoresEntityTypesFeaturesOperationsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsFeaturestoresEntityTypesFeaturesOperationsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsFeaturestoresEntityTypesFeaturesOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsFeaturestoresEntityTypesFeaturesOperationsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsLocationsFeaturestoresEntityTypesFeaturesOperationsListCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsFeaturestoresEntityTypesFeaturesOperationsListCall) Context(ctx context.Context) *ProjectsLocationsFeaturestoresEntityTypesFeaturesOperationsListCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsFeaturestoresEntityTypesFeaturesOperationsListCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningListOperationsResponse, error)
Do executes the "aiplatform.projects.locations.featurestores.entityTypes.features.operations.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningListOperationsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsFeaturestoresEntityTypesFeaturesOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsFeaturestoresEntityTypesFeaturesOperationsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsFeaturestoresEntityTypesFeaturesOperationsListCall) Filter(filter string) *ProjectsLocationsFeaturestoresEntityTypesFeaturesOperationsListCall
Filter sets the optional parameter "filter": The standard list filter.
func (c *ProjectsLocationsFeaturestoresEntityTypesFeaturesOperationsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsFeaturestoresEntityTypesFeaturesOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsFeaturestoresEntityTypesFeaturesOperationsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (c *ProjectsLocationsFeaturestoresEntityTypesFeaturesOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsFeaturestoresEntityTypesFeaturesOperationsListCall
PageSize sets the optional parameter "pageSize": The standard list page size.
func (c *ProjectsLocationsFeaturestoresEntityTypesFeaturesOperationsListCall) PageToken(pageToken string) *ProjectsLocationsFeaturestoresEntityTypesFeaturesOperationsListCall
PageToken sets the optional parameter "pageToken": The standard list page token.
func (c *ProjectsLocationsFeaturestoresEntityTypesFeaturesOperationsListCall) Pages(ctx context.Context, f func(*GoogleLongrunningListOperationsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ProjectsLocationsFeaturestoresEntityTypesFeaturesOperationsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsFeaturestoresEntityTypesFeaturesOperationsService(s *Service) *ProjectsLocationsFeaturestoresEntityTypesFeaturesOperationsService
func (r *ProjectsLocationsFeaturestoresEntityTypesFeaturesOperationsService) Cancel(name string) *ProjectsLocationsFeaturestoresEntityTypesFeaturesOperationsCancelCall
Cancel: Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
- name: The name of the operation resource to be cancelled.
func (r *ProjectsLocationsFeaturestoresEntityTypesFeaturesOperationsService) Delete(name string) *ProjectsLocationsFeaturestoresEntityTypesFeaturesOperationsDeleteCall
Delete: Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
- name: The name of the operation resource to be deleted.
func (r *ProjectsLocationsFeaturestoresEntityTypesFeaturesOperationsService) Get(name string) *ProjectsLocationsFeaturestoresEntityTypesFeaturesOperationsGetCall
Get: Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
- name: The name of the operation resource.
func (r *ProjectsLocationsFeaturestoresEntityTypesFeaturesOperationsService) List(name string) *ProjectsLocationsFeaturestoresEntityTypesFeaturesOperationsListCall
List: Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.
- name: The name of the operation's parent resource.
func (r *ProjectsLocationsFeaturestoresEntityTypesFeaturesOperationsService) Wait(name string) *ProjectsLocationsFeaturestoresEntityTypesFeaturesOperationsWaitCall
Wait: Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.
- name: The name of the operation resource to wait on.
type ProjectsLocationsFeaturestoresEntityTypesFeaturesOperationsWaitCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsFeaturestoresEntityTypesFeaturesOperationsWaitCall) Context(ctx context.Context) *ProjectsLocationsFeaturestoresEntityTypesFeaturesOperationsWaitCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsFeaturestoresEntityTypesFeaturesOperationsWaitCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.featurestores.entityTypes.features.operations.wait" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsFeaturestoresEntityTypesFeaturesOperationsWaitCall) Fields(s ...googleapi.Field) *ProjectsLocationsFeaturestoresEntityTypesFeaturesOperationsWaitCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsFeaturestoresEntityTypesFeaturesOperationsWaitCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsFeaturestoresEntityTypesFeaturesOperationsWaitCall) Timeout(timeout string) *ProjectsLocationsFeaturestoresEntityTypesFeaturesOperationsWaitCall
Timeout sets the optional parameter "timeout": The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.
type ProjectsLocationsFeaturestoresEntityTypesFeaturesPatchCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsFeaturestoresEntityTypesFeaturesPatchCall) Context(ctx context.Context) *ProjectsLocationsFeaturestoresEntityTypesFeaturesPatchCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsFeaturestoresEntityTypesFeaturesPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1Feature, error)
Do executes the "aiplatform.projects.locations.featurestores.entityTypes.features.patch" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1Feature.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsFeaturestoresEntityTypesFeaturesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsFeaturestoresEntityTypesFeaturesPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsFeaturestoresEntityTypesFeaturesPatchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsFeaturestoresEntityTypesFeaturesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsFeaturestoresEntityTypesFeaturesPatchCall
UpdateMask sets the optional parameter "updateMask": Field mask is used to specify the fields to be overwritten in the Features resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to `*` to override all fields. Updatable fields: * `description` * `labels` * `disable_monitoring` (Not supported for FeatureRegistry Feature)
type ProjectsLocationsFeaturestoresEntityTypesFeaturesService struct { Operations *ProjectsLocationsFeaturestoresEntityTypesFeaturesOperationsService // contains filtered or unexported fields }
func NewProjectsLocationsFeaturestoresEntityTypesFeaturesService(s *Service) *ProjectsLocationsFeaturestoresEntityTypesFeaturesService
func (r *ProjectsLocationsFeaturestoresEntityTypesFeaturesService) BatchCreate(parent string, googlecloudaiplatformv1batchcreatefeaturesrequest *GoogleCloudAiplatformV1BatchCreateFeaturesRequest) *ProjectsLocationsFeaturestoresEntityTypesFeaturesBatchCreateCall
BatchCreate: Creates a batch of Features in a given EntityType.
func (r *ProjectsLocationsFeaturestoresEntityTypesFeaturesService) Create(parent string, googlecloudaiplatformv1feature *GoogleCloudAiplatformV1Feature) *ProjectsLocationsFeaturestoresEntityTypesFeaturesCreateCall
Create: Creates a new Feature in a given EntityType.
func (r *ProjectsLocationsFeaturestoresEntityTypesFeaturesService) Delete(name string) *ProjectsLocationsFeaturestoresEntityTypesFeaturesDeleteCall
Delete: Deletes a single Feature.
func (r *ProjectsLocationsFeaturestoresEntityTypesFeaturesService) Get(name string) *ProjectsLocationsFeaturestoresEntityTypesFeaturesGetCall
Get: Gets details of a single Feature.
func (r *ProjectsLocationsFeaturestoresEntityTypesFeaturesService) List(parent string) *ProjectsLocationsFeaturestoresEntityTypesFeaturesListCall
List: Lists Features in a given EntityType.
func (r *ProjectsLocationsFeaturestoresEntityTypesFeaturesService) Patch(name string, googlecloudaiplatformv1feature *GoogleCloudAiplatformV1Feature) *ProjectsLocationsFeaturestoresEntityTypesFeaturesPatchCall
Patch: Updates the parameters of a single Feature.
type ProjectsLocationsFeaturestoresEntityTypesGetCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsFeaturestoresEntityTypesGetCall) Context(ctx context.Context) *ProjectsLocationsFeaturestoresEntityTypesGetCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsFeaturestoresEntityTypesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1EntityType, error)
Do executes the "aiplatform.projects.locations.featurestores.entityTypes.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1EntityType.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsFeaturestoresEntityTypesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsFeaturestoresEntityTypesGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsFeaturestoresEntityTypesGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsFeaturestoresEntityTypesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsFeaturestoresEntityTypesGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsLocationsFeaturestoresEntityTypesGetIamPolicyCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsFeaturestoresEntityTypesGetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsFeaturestoresEntityTypesGetIamPolicyCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsFeaturestoresEntityTypesGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*GoogleIamV1Policy, error)
Do executes the "aiplatform.projects.locations.featurestores.entityTypes.getIamPolicy" call. Any non-2xx status code is an error. Response headers are in either *GoogleIamV1Policy.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsFeaturestoresEntityTypesGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsFeaturestoresEntityTypesGetIamPolicyCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsFeaturestoresEntityTypesGetIamPolicyCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsFeaturestoresEntityTypesGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersion int64) *ProjectsLocationsFeaturestoresEntityTypesGetIamPolicyCall
OptionsRequestedPolicyVersion sets the optional parameter "options.requestedPolicyVersion": The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies).
type ProjectsLocationsFeaturestoresEntityTypesImportFeatureValuesCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsFeaturestoresEntityTypesImportFeatureValuesCall) Context(ctx context.Context) *ProjectsLocationsFeaturestoresEntityTypesImportFeatureValuesCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsFeaturestoresEntityTypesImportFeatureValuesCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.featurestores.entityTypes.importFeatureValues" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsFeaturestoresEntityTypesImportFeatureValuesCall) Fields(s ...googleapi.Field) *ProjectsLocationsFeaturestoresEntityTypesImportFeatureValuesCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsFeaturestoresEntityTypesImportFeatureValuesCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsFeaturestoresEntityTypesListCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsFeaturestoresEntityTypesListCall) Context(ctx context.Context) *ProjectsLocationsFeaturestoresEntityTypesListCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsFeaturestoresEntityTypesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1ListEntityTypesResponse, error)
Do executes the "aiplatform.projects.locations.featurestores.entityTypes.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1ListEntityTypesResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsFeaturestoresEntityTypesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsFeaturestoresEntityTypesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsFeaturestoresEntityTypesListCall) Filter(filter string) *ProjectsLocationsFeaturestoresEntityTypesListCall
Filter sets the optional parameter "filter": Lists the EntityTypes that match the filter expression. The following filters are supported: * `create_time`: Supports `=`, `!=`, `<`, `>`, `>=`, and `<=` comparisons. Values must be in RFC 3339 format. * `update_time`: Supports `=`, `!=`, `<`, `>`, `>=`, and `<=` comparisons. Values must be in RFC 3339 format. * `labels`: Supports key-value equality as well as key presence. Examples: * `create_time > \"2020-01-31T15:30:00.000000Z\" OR update_time > \"2020-01-31T15:30:00.000000Z\" --> EntityTypes created or updated after 2020-01-31T15:30:00.000000Z. * `labels.active = yes AND labels.env = prod` --> EntityTypes having both (active: yes) and (env: prod) labels. * `labels.env: *` --> Any EntityType which has a label with 'env' as the key.
func (c *ProjectsLocationsFeaturestoresEntityTypesListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsFeaturestoresEntityTypesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsFeaturestoresEntityTypesListCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (c *ProjectsLocationsFeaturestoresEntityTypesListCall) OrderBy(orderBy string) *ProjectsLocationsFeaturestoresEntityTypesListCall
OrderBy sets the optional parameter "orderBy": A comma-separated list of fields to order by, sorted in ascending order. Use "desc" after a field name for descending. Supported fields: * `entity_type_id` * `create_time` * `update_time`
func (c *ProjectsLocationsFeaturestoresEntityTypesListCall) PageSize(pageSize int64) *ProjectsLocationsFeaturestoresEntityTypesListCall
PageSize sets the optional parameter "pageSize": The maximum number of EntityTypes to return. The service may return fewer than this value. If unspecified, at most 1000 EntityTypes will be returned. The maximum value is 1000; any value greater than 1000 will be coerced to 1000.
func (c *ProjectsLocationsFeaturestoresEntityTypesListCall) PageToken(pageToken string) *ProjectsLocationsFeaturestoresEntityTypesListCall
PageToken sets the optional parameter "pageToken": A page token, received from a previous FeaturestoreService.ListEntityTypes call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to FeaturestoreService.ListEntityTypes must match the call that provided the page token.
func (c *ProjectsLocationsFeaturestoresEntityTypesListCall) Pages(ctx context.Context, f func(*GoogleCloudAiplatformV1ListEntityTypesResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
func (c *ProjectsLocationsFeaturestoresEntityTypesListCall) ReadMask(readMask string) *ProjectsLocationsFeaturestoresEntityTypesListCall
ReadMask sets the optional parameter "readMask": Mask specifying which fields to read.
type ProjectsLocationsFeaturestoresEntityTypesOperationsCancelCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsFeaturestoresEntityTypesOperationsCancelCall) Context(ctx context.Context) *ProjectsLocationsFeaturestoresEntityTypesOperationsCancelCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsFeaturestoresEntityTypesOperationsCancelCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "aiplatform.projects.locations.featurestores.entityTypes.operations.cancel" call. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsFeaturestoresEntityTypesOperationsCancelCall) Fields(s ...googleapi.Field) *ProjectsLocationsFeaturestoresEntityTypesOperationsCancelCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsFeaturestoresEntityTypesOperationsCancelCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsFeaturestoresEntityTypesOperationsDeleteCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsFeaturestoresEntityTypesOperationsDeleteCall) Context(ctx context.Context) *ProjectsLocationsFeaturestoresEntityTypesOperationsDeleteCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsFeaturestoresEntityTypesOperationsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "aiplatform.projects.locations.featurestores.entityTypes.operations.delete" call. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsFeaturestoresEntityTypesOperationsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsFeaturestoresEntityTypesOperationsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsFeaturestoresEntityTypesOperationsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsFeaturestoresEntityTypesOperationsGetCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsFeaturestoresEntityTypesOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsFeaturestoresEntityTypesOperationsGetCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsFeaturestoresEntityTypesOperationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.featurestores.entityTypes.operations.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsFeaturestoresEntityTypesOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsFeaturestoresEntityTypesOperationsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsFeaturestoresEntityTypesOperationsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsFeaturestoresEntityTypesOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsFeaturestoresEntityTypesOperationsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsLocationsFeaturestoresEntityTypesOperationsListCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsFeaturestoresEntityTypesOperationsListCall) Context(ctx context.Context) *ProjectsLocationsFeaturestoresEntityTypesOperationsListCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsFeaturestoresEntityTypesOperationsListCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningListOperationsResponse, error)
Do executes the "aiplatform.projects.locations.featurestores.entityTypes.operations.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningListOperationsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsFeaturestoresEntityTypesOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsFeaturestoresEntityTypesOperationsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsFeaturestoresEntityTypesOperationsListCall) Filter(filter string) *ProjectsLocationsFeaturestoresEntityTypesOperationsListCall
Filter sets the optional parameter "filter": The standard list filter.
func (c *ProjectsLocationsFeaturestoresEntityTypesOperationsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsFeaturestoresEntityTypesOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsFeaturestoresEntityTypesOperationsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (c *ProjectsLocationsFeaturestoresEntityTypesOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsFeaturestoresEntityTypesOperationsListCall
PageSize sets the optional parameter "pageSize": The standard list page size.
func (c *ProjectsLocationsFeaturestoresEntityTypesOperationsListCall) PageToken(pageToken string) *ProjectsLocationsFeaturestoresEntityTypesOperationsListCall
PageToken sets the optional parameter "pageToken": The standard list page token.
func (c *ProjectsLocationsFeaturestoresEntityTypesOperationsListCall) Pages(ctx context.Context, f func(*GoogleLongrunningListOperationsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ProjectsLocationsFeaturestoresEntityTypesOperationsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsFeaturestoresEntityTypesOperationsService(s *Service) *ProjectsLocationsFeaturestoresEntityTypesOperationsService
func (r *ProjectsLocationsFeaturestoresEntityTypesOperationsService) Cancel(name string) *ProjectsLocationsFeaturestoresEntityTypesOperationsCancelCall
Cancel: Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
- name: The name of the operation resource to be cancelled.
func (r *ProjectsLocationsFeaturestoresEntityTypesOperationsService) Delete(name string) *ProjectsLocationsFeaturestoresEntityTypesOperationsDeleteCall
Delete: Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
- name: The name of the operation resource to be deleted.
func (r *ProjectsLocationsFeaturestoresEntityTypesOperationsService) Get(name string) *ProjectsLocationsFeaturestoresEntityTypesOperationsGetCall
Get: Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
- name: The name of the operation resource.
func (r *ProjectsLocationsFeaturestoresEntityTypesOperationsService) List(name string) *ProjectsLocationsFeaturestoresEntityTypesOperationsListCall
List: Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.
- name: The name of the operation's parent resource.
func (r *ProjectsLocationsFeaturestoresEntityTypesOperationsService) Wait(name string) *ProjectsLocationsFeaturestoresEntityTypesOperationsWaitCall
Wait: Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.
- name: The name of the operation resource to wait on.
type ProjectsLocationsFeaturestoresEntityTypesOperationsWaitCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsFeaturestoresEntityTypesOperationsWaitCall) Context(ctx context.Context) *ProjectsLocationsFeaturestoresEntityTypesOperationsWaitCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsFeaturestoresEntityTypesOperationsWaitCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.featurestores.entityTypes.operations.wait" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsFeaturestoresEntityTypesOperationsWaitCall) Fields(s ...googleapi.Field) *ProjectsLocationsFeaturestoresEntityTypesOperationsWaitCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsFeaturestoresEntityTypesOperationsWaitCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsFeaturestoresEntityTypesOperationsWaitCall) Timeout(timeout string) *ProjectsLocationsFeaturestoresEntityTypesOperationsWaitCall
Timeout sets the optional parameter "timeout": The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.
type ProjectsLocationsFeaturestoresEntityTypesPatchCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsFeaturestoresEntityTypesPatchCall) Context(ctx context.Context) *ProjectsLocationsFeaturestoresEntityTypesPatchCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsFeaturestoresEntityTypesPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1EntityType, error)
Do executes the "aiplatform.projects.locations.featurestores.entityTypes.patch" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1EntityType.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsFeaturestoresEntityTypesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsFeaturestoresEntityTypesPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsFeaturestoresEntityTypesPatchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsFeaturestoresEntityTypesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsFeaturestoresEntityTypesPatchCall
UpdateMask sets the optional parameter "updateMask": Field mask is used to specify the fields to be overwritten in the EntityType resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to `*` to override all fields. Updatable fields: * `description` * `labels` * `monitoring_config.snapshot_analysis.disabled` * `monitoring_config.snapshot_analysis.monitoring_interval_days` * `monitoring_config.snapshot_analysis.staleness_days` * `monitoring_config.import_features_analysis.state` * `monitoring_config.import_features_analysis.anomaly_detection_baseline` * `monitoring_config.numerical_threshold_config.value` * `monitoring_config.categorical_threshold_config.value` * `offline_storage_ttl_days`
type ProjectsLocationsFeaturestoresEntityTypesReadFeatureValuesCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsFeaturestoresEntityTypesReadFeatureValuesCall) Context(ctx context.Context) *ProjectsLocationsFeaturestoresEntityTypesReadFeatureValuesCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsFeaturestoresEntityTypesReadFeatureValuesCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1ReadFeatureValuesResponse, error)
Do executes the "aiplatform.projects.locations.featurestores.entityTypes.readFeatureValues" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1ReadFeatureValuesResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsFeaturestoresEntityTypesReadFeatureValuesCall) Fields(s ...googleapi.Field) *ProjectsLocationsFeaturestoresEntityTypesReadFeatureValuesCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsFeaturestoresEntityTypesReadFeatureValuesCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsFeaturestoresEntityTypesService struct { Features *ProjectsLocationsFeaturestoresEntityTypesFeaturesService Operations *ProjectsLocationsFeaturestoresEntityTypesOperationsService // contains filtered or unexported fields }
func NewProjectsLocationsFeaturestoresEntityTypesService(s *Service) *ProjectsLocationsFeaturestoresEntityTypesService
func (r *ProjectsLocationsFeaturestoresEntityTypesService) Create(parent string, googlecloudaiplatformv1entitytype *GoogleCloudAiplatformV1EntityType) *ProjectsLocationsFeaturestoresEntityTypesCreateCall
Create: Creates a new EntityType in a given Featurestore.
func (r *ProjectsLocationsFeaturestoresEntityTypesService) Delete(name string) *ProjectsLocationsFeaturestoresEntityTypesDeleteCall
Delete: Deletes a single EntityType. The EntityType must not have any Features or `force` must be set to true for the request to succeed.
func (r *ProjectsLocationsFeaturestoresEntityTypesService) DeleteFeatureValues(entityType string, googlecloudaiplatformv1deletefeaturevaluesrequest *GoogleCloudAiplatformV1DeleteFeatureValuesRequest) *ProjectsLocationsFeaturestoresEntityTypesDeleteFeatureValuesCall
DeleteFeatureValues: Delete Feature values from Featurestore. The progress of the deletion is tracked by the returned operation. The deleted feature values are guaranteed to be invisible to subsequent read operations after the operation is marked as successfully done. If a delete feature values operation fails, the feature values returned from reads and exports may be inconsistent. If consistency is required, the caller must retry the same delete request again and wait till the new operation returned is marked as successfully done.
func (r *ProjectsLocationsFeaturestoresEntityTypesService) ExportFeatureValues(entityType string, googlecloudaiplatformv1exportfeaturevaluesrequest *GoogleCloudAiplatformV1ExportFeatureValuesRequest) *ProjectsLocationsFeaturestoresEntityTypesExportFeatureValuesCall
ExportFeatureValues: Exports Feature values from all the entities of a target EntityType.
func (r *ProjectsLocationsFeaturestoresEntityTypesService) Get(name string) *ProjectsLocationsFeaturestoresEntityTypesGetCall
Get: Gets details of a single EntityType.
func (r *ProjectsLocationsFeaturestoresEntityTypesService) GetIamPolicy(resource string) *ProjectsLocationsFeaturestoresEntityTypesGetIamPolicyCall
GetIamPolicy: Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
func (r *ProjectsLocationsFeaturestoresEntityTypesService) ImportFeatureValues(entityType string, googlecloudaiplatformv1importfeaturevaluesrequest *GoogleCloudAiplatformV1ImportFeatureValuesRequest) *ProjectsLocationsFeaturestoresEntityTypesImportFeatureValuesCall
ImportFeatureValues: Imports Feature values into the Featurestore from a source storage. The progress of the import is tracked by the returned operation. The imported features are guaranteed to be visible to subsequent read operations after the operation is marked as successfully done. If an import operation fails, the Feature values returned from reads and exports may be inconsistent. If consistency is required, the caller must retry the same import request again and wait till the new operation returned is marked as successfully done. There are also scenarios where the caller can cause inconsistency. - Source data for import contains multiple distinct Feature values for the same entity ID and timestamp. - Source is modified during an import. This includes adding, updating, or removing source data and/or metadata. Examples of updating metadata include but are not limited to changing storage location, storage class, or retention policy. - Online serving cluster is under-provisioned.
func (r *ProjectsLocationsFeaturestoresEntityTypesService) List(parent string) *ProjectsLocationsFeaturestoresEntityTypesListCall
List: Lists EntityTypes in a given Featurestore.
func (r *ProjectsLocationsFeaturestoresEntityTypesService) Patch(name string, googlecloudaiplatformv1entitytype *GoogleCloudAiplatformV1EntityType) *ProjectsLocationsFeaturestoresEntityTypesPatchCall
Patch: Updates the parameters of a single EntityType.
func (r *ProjectsLocationsFeaturestoresEntityTypesService) ReadFeatureValues(entityType string, googlecloudaiplatformv1readfeaturevaluesrequest *GoogleCloudAiplatformV1ReadFeatureValuesRequest) *ProjectsLocationsFeaturestoresEntityTypesReadFeatureValuesCall
ReadFeatureValues: Reads Feature values of a specific entity of an EntityType. For reading feature values of multiple entities of an EntityType, please use StreamingReadFeatureValues.
func (r *ProjectsLocationsFeaturestoresEntityTypesService) SetIamPolicy(resource string, googleiamv1setiampolicyrequest *GoogleIamV1SetIamPolicyRequest) *ProjectsLocationsFeaturestoresEntityTypesSetIamPolicyCall
SetIamPolicy: Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
func (r *ProjectsLocationsFeaturestoresEntityTypesService) StreamingReadFeatureValues(entityType string, googlecloudaiplatformv1streamingreadfeaturevaluesrequest *GoogleCloudAiplatformV1StreamingReadFeatureValuesRequest) *ProjectsLocationsFeaturestoresEntityTypesStreamingReadFeatureValuesCall
StreamingReadFeatureValues: Reads Feature values for multiple entities. Depending on their size, data for different entities may be broken up across multiple responses.
func (r *ProjectsLocationsFeaturestoresEntityTypesService) TestIamPermissions(resource string) *ProjectsLocationsFeaturestoresEntityTypesTestIamPermissionsCall
TestIamPermissions: 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.
func (r *ProjectsLocationsFeaturestoresEntityTypesService) WriteFeatureValues(entityType string, googlecloudaiplatformv1writefeaturevaluesrequest *GoogleCloudAiplatformV1WriteFeatureValuesRequest) *ProjectsLocationsFeaturestoresEntityTypesWriteFeatureValuesCall
WriteFeatureValues: Writes Feature values of one or more entities of an EntityType. The Feature values are merged into existing entities if any. The Feature values to be written must have timestamp within the online storage retention.
type ProjectsLocationsFeaturestoresEntityTypesSetIamPolicyCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsFeaturestoresEntityTypesSetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsFeaturestoresEntityTypesSetIamPolicyCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsFeaturestoresEntityTypesSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*GoogleIamV1Policy, error)
Do executes the "aiplatform.projects.locations.featurestores.entityTypes.setIamPolicy" call. Any non-2xx status code is an error. Response headers are in either *GoogleIamV1Policy.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsFeaturestoresEntityTypesSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsFeaturestoresEntityTypesSetIamPolicyCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsFeaturestoresEntityTypesSetIamPolicyCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsFeaturestoresEntityTypesStreamingReadFeatureValuesCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsFeaturestoresEntityTypesStreamingReadFeatureValuesCall) Context(ctx context.Context) *ProjectsLocationsFeaturestoresEntityTypesStreamingReadFeatureValuesCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsFeaturestoresEntityTypesStreamingReadFeatureValuesCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1ReadFeatureValuesResponse, error)
Do executes the "aiplatform.projects.locations.featurestores.entityTypes.streamingReadFeatureValues" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1ReadFeatureValuesResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsFeaturestoresEntityTypesStreamingReadFeatureValuesCall) Fields(s ...googleapi.Field) *ProjectsLocationsFeaturestoresEntityTypesStreamingReadFeatureValuesCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsFeaturestoresEntityTypesStreamingReadFeatureValuesCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsFeaturestoresEntityTypesTestIamPermissionsCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsFeaturestoresEntityTypesTestIamPermissionsCall) Context(ctx context.Context) *ProjectsLocationsFeaturestoresEntityTypesTestIamPermissionsCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsFeaturestoresEntityTypesTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*GoogleIamV1TestIamPermissionsResponse, error)
Do executes the "aiplatform.projects.locations.featurestores.entityTypes.testIamPermissions" call. Any non-2xx status code is an error. Response headers are in either *GoogleIamV1TestIamPermissionsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsFeaturestoresEntityTypesTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsFeaturestoresEntityTypesTestIamPermissionsCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsFeaturestoresEntityTypesTestIamPermissionsCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsFeaturestoresEntityTypesTestIamPermissionsCall) Permissions(permissions ...string) *ProjectsLocationsFeaturestoresEntityTypesTestIamPermissionsCall
Permissions sets the optional parameter "permissions": The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see IAM Overview (https://cloud.google.com/iam/docs/overview#permissions).
type ProjectsLocationsFeaturestoresEntityTypesWriteFeatureValuesCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsFeaturestoresEntityTypesWriteFeatureValuesCall) Context(ctx context.Context) *ProjectsLocationsFeaturestoresEntityTypesWriteFeatureValuesCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsFeaturestoresEntityTypesWriteFeatureValuesCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1WriteFeatureValuesResponse, error)
Do executes the "aiplatform.projects.locations.featurestores.entityTypes.writeFeatureValues" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1WriteFeatureValuesResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsFeaturestoresEntityTypesWriteFeatureValuesCall) Fields(s ...googleapi.Field) *ProjectsLocationsFeaturestoresEntityTypesWriteFeatureValuesCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsFeaturestoresEntityTypesWriteFeatureValuesCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsFeaturestoresGetCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsFeaturestoresGetCall) Context(ctx context.Context) *ProjectsLocationsFeaturestoresGetCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsFeaturestoresGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1Featurestore, error)
Do executes the "aiplatform.projects.locations.featurestores.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1Featurestore.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsFeaturestoresGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsFeaturestoresGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsFeaturestoresGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsFeaturestoresGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsFeaturestoresGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsLocationsFeaturestoresGetIamPolicyCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsFeaturestoresGetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsFeaturestoresGetIamPolicyCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsFeaturestoresGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*GoogleIamV1Policy, error)
Do executes the "aiplatform.projects.locations.featurestores.getIamPolicy" call. Any non-2xx status code is an error. Response headers are in either *GoogleIamV1Policy.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsFeaturestoresGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsFeaturestoresGetIamPolicyCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsFeaturestoresGetIamPolicyCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsFeaturestoresGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersion int64) *ProjectsLocationsFeaturestoresGetIamPolicyCall
OptionsRequestedPolicyVersion sets the optional parameter "options.requestedPolicyVersion": The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies).
type ProjectsLocationsFeaturestoresListCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsFeaturestoresListCall) Context(ctx context.Context) *ProjectsLocationsFeaturestoresListCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsFeaturestoresListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1ListFeaturestoresResponse, error)
Do executes the "aiplatform.projects.locations.featurestores.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1ListFeaturestoresResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsFeaturestoresListCall) Fields(s ...googleapi.Field) *ProjectsLocationsFeaturestoresListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsFeaturestoresListCall) Filter(filter string) *ProjectsLocationsFeaturestoresListCall
Filter sets the optional parameter "filter": Lists the featurestores that match the filter expression. The following fields are supported: * `create_time`: Supports `=`, `!=`, `<`, `>`, `<=`, and `>=` comparisons. Values must be in RFC 3339 format. * `update_time`: Supports `=`, `!=`, `<`, `>`, `<=`, and `>=` comparisons. Values must be in RFC 3339 format. * `online_serving_config.fixed_node_count`: Supports `=`, `!=`, `<`, `>`, `<=`, and `>=` comparisons. * `labels`: Supports key-value equality and key presence. Examples: * `create_time > "2020-01-01" OR update_time > "2020-01-01" Featurestores created or updated after 2020-01-01. * `labels.env = "prod" Featurestores with label "env" set to "prod".
func (c *ProjectsLocationsFeaturestoresListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsFeaturestoresListCall) IfNoneMatch(entityTag string) *ProjectsLocationsFeaturestoresListCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (c *ProjectsLocationsFeaturestoresListCall) OrderBy(orderBy string) *ProjectsLocationsFeaturestoresListCall
OrderBy sets the optional parameter "orderBy": A comma-separated list of fields to order by, sorted in ascending order. Use "desc" after a field name for descending. Supported Fields: * `create_time` * `update_time` * `online_serving_config.fixed_node_count`
func (c *ProjectsLocationsFeaturestoresListCall) PageSize(pageSize int64) *ProjectsLocationsFeaturestoresListCall
PageSize sets the optional parameter "pageSize": The maximum number of Featurestores to return. The service may return fewer than this value. If unspecified, at most 100 Featurestores will be returned. The maximum value is 100; any value greater than 100 will be coerced to 100.
func (c *ProjectsLocationsFeaturestoresListCall) PageToken(pageToken string) *ProjectsLocationsFeaturestoresListCall
PageToken sets the optional parameter "pageToken": A page token, received from a previous FeaturestoreService.ListFeaturestores call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to FeaturestoreService.ListFeaturestores must match the call that provided the page token.
func (c *ProjectsLocationsFeaturestoresListCall) Pages(ctx context.Context, f func(*GoogleCloudAiplatformV1ListFeaturestoresResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
func (c *ProjectsLocationsFeaturestoresListCall) ReadMask(readMask string) *ProjectsLocationsFeaturestoresListCall
ReadMask sets the optional parameter "readMask": Mask specifying which fields to read.
type ProjectsLocationsFeaturestoresOperationsCancelCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsFeaturestoresOperationsCancelCall) Context(ctx context.Context) *ProjectsLocationsFeaturestoresOperationsCancelCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsFeaturestoresOperationsCancelCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "aiplatform.projects.locations.featurestores.operations.cancel" call. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsFeaturestoresOperationsCancelCall) Fields(s ...googleapi.Field) *ProjectsLocationsFeaturestoresOperationsCancelCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsFeaturestoresOperationsCancelCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsFeaturestoresOperationsDeleteCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsFeaturestoresOperationsDeleteCall) Context(ctx context.Context) *ProjectsLocationsFeaturestoresOperationsDeleteCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsFeaturestoresOperationsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "aiplatform.projects.locations.featurestores.operations.delete" call. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsFeaturestoresOperationsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsFeaturestoresOperationsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsFeaturestoresOperationsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsFeaturestoresOperationsGetCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsFeaturestoresOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsFeaturestoresOperationsGetCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsFeaturestoresOperationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.featurestores.operations.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsFeaturestoresOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsFeaturestoresOperationsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsFeaturestoresOperationsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsFeaturestoresOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsFeaturestoresOperationsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsLocationsFeaturestoresOperationsListCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsFeaturestoresOperationsListCall) Context(ctx context.Context) *ProjectsLocationsFeaturestoresOperationsListCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsFeaturestoresOperationsListCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningListOperationsResponse, error)
Do executes the "aiplatform.projects.locations.featurestores.operations.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningListOperationsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsFeaturestoresOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsFeaturestoresOperationsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsFeaturestoresOperationsListCall) Filter(filter string) *ProjectsLocationsFeaturestoresOperationsListCall
Filter sets the optional parameter "filter": The standard list filter.
func (c *ProjectsLocationsFeaturestoresOperationsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsFeaturestoresOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsFeaturestoresOperationsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (c *ProjectsLocationsFeaturestoresOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsFeaturestoresOperationsListCall
PageSize sets the optional parameter "pageSize": The standard list page size.
func (c *ProjectsLocationsFeaturestoresOperationsListCall) PageToken(pageToken string) *ProjectsLocationsFeaturestoresOperationsListCall
PageToken sets the optional parameter "pageToken": The standard list page token.
func (c *ProjectsLocationsFeaturestoresOperationsListCall) Pages(ctx context.Context, f func(*GoogleLongrunningListOperationsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ProjectsLocationsFeaturestoresOperationsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsFeaturestoresOperationsService(s *Service) *ProjectsLocationsFeaturestoresOperationsService
func (r *ProjectsLocationsFeaturestoresOperationsService) Cancel(name string) *ProjectsLocationsFeaturestoresOperationsCancelCall
Cancel: Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
- name: The name of the operation resource to be cancelled.
func (r *ProjectsLocationsFeaturestoresOperationsService) Delete(name string) *ProjectsLocationsFeaturestoresOperationsDeleteCall
Delete: Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
- name: The name of the operation resource to be deleted.
func (r *ProjectsLocationsFeaturestoresOperationsService) Get(name string) *ProjectsLocationsFeaturestoresOperationsGetCall
Get: Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
- name: The name of the operation resource.
func (r *ProjectsLocationsFeaturestoresOperationsService) List(name string) *ProjectsLocationsFeaturestoresOperationsListCall
List: Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.
- name: The name of the operation's parent resource.
func (r *ProjectsLocationsFeaturestoresOperationsService) Wait(name string) *ProjectsLocationsFeaturestoresOperationsWaitCall
Wait: Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.
- name: The name of the operation resource to wait on.
type ProjectsLocationsFeaturestoresOperationsWaitCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsFeaturestoresOperationsWaitCall) Context(ctx context.Context) *ProjectsLocationsFeaturestoresOperationsWaitCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsFeaturestoresOperationsWaitCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.featurestores.operations.wait" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsFeaturestoresOperationsWaitCall) Fields(s ...googleapi.Field) *ProjectsLocationsFeaturestoresOperationsWaitCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsFeaturestoresOperationsWaitCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsFeaturestoresOperationsWaitCall) Timeout(timeout string) *ProjectsLocationsFeaturestoresOperationsWaitCall
Timeout sets the optional parameter "timeout": The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.
type ProjectsLocationsFeaturestoresPatchCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsFeaturestoresPatchCall) Context(ctx context.Context) *ProjectsLocationsFeaturestoresPatchCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsFeaturestoresPatchCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.featurestores.patch" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsFeaturestoresPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsFeaturestoresPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsFeaturestoresPatchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsFeaturestoresPatchCall) UpdateMask(updateMask string) *ProjectsLocationsFeaturestoresPatchCall
UpdateMask sets the optional parameter "updateMask": Field mask is used to specify the fields to be overwritten in the Featurestore resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to `*` to override all fields. Updatable fields: * `labels` * `online_serving_config.fixed_node_count` * `online_serving_config.scaling` * `online_storage_ttl_days`
type ProjectsLocationsFeaturestoresSearchFeaturesCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsFeaturestoresSearchFeaturesCall) Context(ctx context.Context) *ProjectsLocationsFeaturestoresSearchFeaturesCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsFeaturestoresSearchFeaturesCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1SearchFeaturesResponse, error)
Do executes the "aiplatform.projects.locations.featurestores.searchFeatures" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1SearchFeaturesResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsFeaturestoresSearchFeaturesCall) Fields(s ...googleapi.Field) *ProjectsLocationsFeaturestoresSearchFeaturesCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsFeaturestoresSearchFeaturesCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsFeaturestoresSearchFeaturesCall) IfNoneMatch(entityTag string) *ProjectsLocationsFeaturestoresSearchFeaturesCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (c *ProjectsLocationsFeaturestoresSearchFeaturesCall) PageSize(pageSize int64) *ProjectsLocationsFeaturestoresSearchFeaturesCall
PageSize sets the optional parameter "pageSize": The maximum number of Features to return. The service may return fewer than this value. If unspecified, at most 100 Features will be returned. The maximum value is 100; any value greater than 100 will be coerced to 100.
func (c *ProjectsLocationsFeaturestoresSearchFeaturesCall) PageToken(pageToken string) *ProjectsLocationsFeaturestoresSearchFeaturesCall
PageToken sets the optional parameter "pageToken": A page token, received from a previous FeaturestoreService.SearchFeatures call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to FeaturestoreService.SearchFeatures, except `page_size`, must match the call that provided the page token.
func (c *ProjectsLocationsFeaturestoresSearchFeaturesCall) Pages(ctx context.Context, f func(*GoogleCloudAiplatformV1SearchFeaturesResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
func (c *ProjectsLocationsFeaturestoresSearchFeaturesCall) Query(query string) *ProjectsLocationsFeaturestoresSearchFeaturesCall
Query sets the optional parameter "query": Query string that is a conjunction of field-restricted queries and/or field-restricted filters. Field-restricted queries and filters can be combined using `AND` to form a conjunction. A field query is in the form FIELD:QUERY. This implicitly checks if QUERY exists as a substring within Feature's FIELD. The QUERY and the FIELD are converted to a sequence of words (i.e. tokens) for comparison. This is done by: * Removing leading/trailing whitespace and tokenizing the search value. Characters that are not one of alphanumeric `[a-zA-Z0-9]`, underscore `_`, or asterisk `*` are treated as delimiters for tokens. `*` is treated as a wildcard that matches characters within a token. * Ignoring case. * Prepending an asterisk to the first and appending an asterisk to the last token in QUERY. A QUERY must be either a singular token or a phrase. A phrase is one or multiple words enclosed in double quotation marks ("). With phrases, the order of the words is important. Words in the phrase must be matching in order and consecutively. Supported FIELDs for field-restricted queries: * `feature_id` * `description` * `entity_type_id` Examples: * `feature_id: foo` --> Matches a Feature with ID containing the substring `foo` (eg. `foo`, `foofeature`, `barfoo`). * `feature_id: foo*feature` --> Matches a Feature with ID containing the substring `foo*feature` (eg. `foobarfeature`). * `feature_id: foo AND description: bar` --> Matches a Feature with ID containing the substring `foo` and description containing the substring `bar`. Besides field queries, the following exact-match filters are supported. The exact-match filters do not support wildcards. Unlike field-restricted queries, exact-match filters are case-sensitive. * `feature_id`: Supports = comparisons. * `description`: Supports = comparisons. Multi-token filters should be enclosed in quotes. * `entity_type_id`: Supports = comparisons. * `value_type`: Supports = and != comparisons. * `labels`: Supports key-value equality as well as key presence. * `featurestore_id`: Supports = comparisons. Examples: * `description = "foo bar" --> Any Feature with description exactly equal to `foo bar` * `value_type = DOUBLE` --> Features whose type is DOUBLE. * `labels.active = yes AND labels.env = prod` --> Features having both (active: yes) and (env: prod) labels. * `labels.env: *` --> Any Feature which has a label with `env` as the key.
type ProjectsLocationsFeaturestoresService struct { EntityTypes *ProjectsLocationsFeaturestoresEntityTypesService Operations *ProjectsLocationsFeaturestoresOperationsService // contains filtered or unexported fields }
func NewProjectsLocationsFeaturestoresService(s *Service) *ProjectsLocationsFeaturestoresService
func (r *ProjectsLocationsFeaturestoresService) BatchReadFeatureValues(featurestore string, googlecloudaiplatformv1batchreadfeaturevaluesrequest *GoogleCloudAiplatformV1BatchReadFeatureValuesRequest) *ProjectsLocationsFeaturestoresBatchReadFeatureValuesCall
BatchReadFeatureValues: Batch reads Feature values from a Featurestore. This API enables batch reading Feature values, where each read instance in the batch may read Feature values of entities from one or more EntityTypes. Point-in-time correctness is guaranteed for Feature values of each read instance as of each instance's read timestamp.
func (r *ProjectsLocationsFeaturestoresService) Create(parent string, googlecloudaiplatformv1featurestore *GoogleCloudAiplatformV1Featurestore) *ProjectsLocationsFeaturestoresCreateCall
Create: Creates a new Featurestore in a given project and location.
func (r *ProjectsLocationsFeaturestoresService) Delete(name string) *ProjectsLocationsFeaturestoresDeleteCall
Delete: Deletes a single Featurestore. The Featurestore must not contain any EntityTypes or `force` must be set to true for the request to succeed.
func (r *ProjectsLocationsFeaturestoresService) Get(name string) *ProjectsLocationsFeaturestoresGetCall
Get: Gets details of a single Featurestore.
- name: The name of the Featurestore resource.
func (r *ProjectsLocationsFeaturestoresService) GetIamPolicy(resource string) *ProjectsLocationsFeaturestoresGetIamPolicyCall
GetIamPolicy: Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
func (r *ProjectsLocationsFeaturestoresService) List(parent string) *ProjectsLocationsFeaturestoresListCall
List: Lists Featurestores in a given project and location.
func (r *ProjectsLocationsFeaturestoresService) Patch(name string, googlecloudaiplatformv1featurestore *GoogleCloudAiplatformV1Featurestore) *ProjectsLocationsFeaturestoresPatchCall
Patch: Updates the parameters of a single Featurestore.
func (r *ProjectsLocationsFeaturestoresService) SearchFeatures(location string) *ProjectsLocationsFeaturestoresSearchFeaturesCall
SearchFeatures: Searches Features matching a query in a given project.
func (r *ProjectsLocationsFeaturestoresService) SetIamPolicy(resource string, googleiamv1setiampolicyrequest *GoogleIamV1SetIamPolicyRequest) *ProjectsLocationsFeaturestoresSetIamPolicyCall
SetIamPolicy: Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
func (r *ProjectsLocationsFeaturestoresService) TestIamPermissions(resource string) *ProjectsLocationsFeaturestoresTestIamPermissionsCall
TestIamPermissions: 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.
type ProjectsLocationsFeaturestoresSetIamPolicyCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsFeaturestoresSetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsFeaturestoresSetIamPolicyCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsFeaturestoresSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*GoogleIamV1Policy, error)
Do executes the "aiplatform.projects.locations.featurestores.setIamPolicy" call. Any non-2xx status code is an error. Response headers are in either *GoogleIamV1Policy.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsFeaturestoresSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsFeaturestoresSetIamPolicyCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsFeaturestoresSetIamPolicyCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsFeaturestoresTestIamPermissionsCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsFeaturestoresTestIamPermissionsCall) Context(ctx context.Context) *ProjectsLocationsFeaturestoresTestIamPermissionsCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsFeaturestoresTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*GoogleIamV1TestIamPermissionsResponse, error)
Do executes the "aiplatform.projects.locations.featurestores.testIamPermissions" call. Any non-2xx status code is an error. Response headers are in either *GoogleIamV1TestIamPermissionsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsFeaturestoresTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsFeaturestoresTestIamPermissionsCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsFeaturestoresTestIamPermissionsCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsFeaturestoresTestIamPermissionsCall) Permissions(permissions ...string) *ProjectsLocationsFeaturestoresTestIamPermissionsCall
Permissions sets the optional parameter "permissions": The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see IAM Overview (https://cloud.google.com/iam/docs/overview#permissions).
type ProjectsLocationsGetCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsGetCall) Context(ctx context.Context) *ProjectsLocationsGetCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudLocationLocation, error)
Do executes the "aiplatform.projects.locations.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudLocationLocation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsLocationsHyperparameterTuningJobsCancelCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsHyperparameterTuningJobsCancelCall) Context(ctx context.Context) *ProjectsLocationsHyperparameterTuningJobsCancelCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsHyperparameterTuningJobsCancelCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "aiplatform.projects.locations.hyperparameterTuningJobs.cancel" call. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsHyperparameterTuningJobsCancelCall) Fields(s ...googleapi.Field) *ProjectsLocationsHyperparameterTuningJobsCancelCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsHyperparameterTuningJobsCancelCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsHyperparameterTuningJobsCreateCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsHyperparameterTuningJobsCreateCall) Context(ctx context.Context) *ProjectsLocationsHyperparameterTuningJobsCreateCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsHyperparameterTuningJobsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1HyperparameterTuningJob, error)
Do executes the "aiplatform.projects.locations.hyperparameterTuningJobs.create" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1HyperparameterTuningJob.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsHyperparameterTuningJobsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsHyperparameterTuningJobsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsHyperparameterTuningJobsCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsHyperparameterTuningJobsDeleteCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsHyperparameterTuningJobsDeleteCall) Context(ctx context.Context) *ProjectsLocationsHyperparameterTuningJobsDeleteCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsHyperparameterTuningJobsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.hyperparameterTuningJobs.delete" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsHyperparameterTuningJobsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsHyperparameterTuningJobsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsHyperparameterTuningJobsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsHyperparameterTuningJobsGetCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsHyperparameterTuningJobsGetCall) Context(ctx context.Context) *ProjectsLocationsHyperparameterTuningJobsGetCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsHyperparameterTuningJobsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1HyperparameterTuningJob, error)
Do executes the "aiplatform.projects.locations.hyperparameterTuningJobs.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1HyperparameterTuningJob.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsHyperparameterTuningJobsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsHyperparameterTuningJobsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsHyperparameterTuningJobsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsHyperparameterTuningJobsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsHyperparameterTuningJobsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsLocationsHyperparameterTuningJobsListCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsHyperparameterTuningJobsListCall) Context(ctx context.Context) *ProjectsLocationsHyperparameterTuningJobsListCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsHyperparameterTuningJobsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1ListHyperparameterTuningJobsResponse, error)
Do executes the "aiplatform.projects.locations.hyperparameterTuningJobs.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1ListHyperparameterTuningJobsResponse.ServerResponse.H eader or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsHyperparameterTuningJobsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsHyperparameterTuningJobsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsHyperparameterTuningJobsListCall) Filter(filter string) *ProjectsLocationsHyperparameterTuningJobsListCall
Filter sets the optional parameter "filter": The standard list filter. Supported fields: * `display_name` supports `=`, `!=` comparisons, and `:` wildcard. * `state` supports `=`, `!=` comparisons. * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. `create_time` must be in RFC 3339 format. * `labels` supports general map functions that is: `labels.key=value` - key:value equality `labels.key:* - key existence Some examples of using the filter are: * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*" * `state!="JOB_STATE_FAILED" OR display_name="my_job" * `NOT display_name="my_job" * `create_time>"2021-05-18T00:00:00Z" * `labels.keyA=valueA` * `labels.keyB:*`
func (c *ProjectsLocationsHyperparameterTuningJobsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsHyperparameterTuningJobsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsHyperparameterTuningJobsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (c *ProjectsLocationsHyperparameterTuningJobsListCall) PageSize(pageSize int64) *ProjectsLocationsHyperparameterTuningJobsListCall
PageSize sets the optional parameter "pageSize": The standard list page size.
func (c *ProjectsLocationsHyperparameterTuningJobsListCall) PageToken(pageToken string) *ProjectsLocationsHyperparameterTuningJobsListCall
PageToken sets the optional parameter "pageToken": The standard list page token. Typically obtained via ListHyperparameterTuningJobsResponse.next_page_token of the previous JobService.ListHyperparameterTuningJobs call.
func (c *ProjectsLocationsHyperparameterTuningJobsListCall) Pages(ctx context.Context, f func(*GoogleCloudAiplatformV1ListHyperparameterTuningJobsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
func (c *ProjectsLocationsHyperparameterTuningJobsListCall) ReadMask(readMask string) *ProjectsLocationsHyperparameterTuningJobsListCall
ReadMask sets the optional parameter "readMask": Mask specifying which fields to read.
type ProjectsLocationsHyperparameterTuningJobsOperationsCancelCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsHyperparameterTuningJobsOperationsCancelCall) Context(ctx context.Context) *ProjectsLocationsHyperparameterTuningJobsOperationsCancelCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsHyperparameterTuningJobsOperationsCancelCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "aiplatform.projects.locations.hyperparameterTuningJobs.operations.cancel" call. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsHyperparameterTuningJobsOperationsCancelCall) Fields(s ...googleapi.Field) *ProjectsLocationsHyperparameterTuningJobsOperationsCancelCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsHyperparameterTuningJobsOperationsCancelCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsHyperparameterTuningJobsOperationsDeleteCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsHyperparameterTuningJobsOperationsDeleteCall) Context(ctx context.Context) *ProjectsLocationsHyperparameterTuningJobsOperationsDeleteCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsHyperparameterTuningJobsOperationsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "aiplatform.projects.locations.hyperparameterTuningJobs.operations.delete" call. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsHyperparameterTuningJobsOperationsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsHyperparameterTuningJobsOperationsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsHyperparameterTuningJobsOperationsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsHyperparameterTuningJobsOperationsGetCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsHyperparameterTuningJobsOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsHyperparameterTuningJobsOperationsGetCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsHyperparameterTuningJobsOperationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.hyperparameterTuningJobs.operations.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsHyperparameterTuningJobsOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsHyperparameterTuningJobsOperationsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsHyperparameterTuningJobsOperationsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsHyperparameterTuningJobsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsHyperparameterTuningJobsOperationsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsLocationsHyperparameterTuningJobsOperationsListCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsHyperparameterTuningJobsOperationsListCall) Context(ctx context.Context) *ProjectsLocationsHyperparameterTuningJobsOperationsListCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsHyperparameterTuningJobsOperationsListCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningListOperationsResponse, error)
Do executes the "aiplatform.projects.locations.hyperparameterTuningJobs.operations.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningListOperationsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsHyperparameterTuningJobsOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsHyperparameterTuningJobsOperationsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsHyperparameterTuningJobsOperationsListCall) Filter(filter string) *ProjectsLocationsHyperparameterTuningJobsOperationsListCall
Filter sets the optional parameter "filter": The standard list filter.
func (c *ProjectsLocationsHyperparameterTuningJobsOperationsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsHyperparameterTuningJobsOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsHyperparameterTuningJobsOperationsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (c *ProjectsLocationsHyperparameterTuningJobsOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsHyperparameterTuningJobsOperationsListCall
PageSize sets the optional parameter "pageSize": The standard list page size.
func (c *ProjectsLocationsHyperparameterTuningJobsOperationsListCall) PageToken(pageToken string) *ProjectsLocationsHyperparameterTuningJobsOperationsListCall
PageToken sets the optional parameter "pageToken": The standard list page token.
func (c *ProjectsLocationsHyperparameterTuningJobsOperationsListCall) Pages(ctx context.Context, f func(*GoogleLongrunningListOperationsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ProjectsLocationsHyperparameterTuningJobsOperationsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsHyperparameterTuningJobsOperationsService(s *Service) *ProjectsLocationsHyperparameterTuningJobsOperationsService
func (r *ProjectsLocationsHyperparameterTuningJobsOperationsService) Cancel(name string) *ProjectsLocationsHyperparameterTuningJobsOperationsCancelCall
Cancel: Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
- name: The name of the operation resource to be cancelled.
func (r *ProjectsLocationsHyperparameterTuningJobsOperationsService) Delete(name string) *ProjectsLocationsHyperparameterTuningJobsOperationsDeleteCall
Delete: Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
- name: The name of the operation resource to be deleted.
func (r *ProjectsLocationsHyperparameterTuningJobsOperationsService) Get(name string) *ProjectsLocationsHyperparameterTuningJobsOperationsGetCall
Get: Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
- name: The name of the operation resource.
func (r *ProjectsLocationsHyperparameterTuningJobsOperationsService) List(name string) *ProjectsLocationsHyperparameterTuningJobsOperationsListCall
List: Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.
- name: The name of the operation's parent resource.
func (r *ProjectsLocationsHyperparameterTuningJobsOperationsService) Wait(name string) *ProjectsLocationsHyperparameterTuningJobsOperationsWaitCall
Wait: Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.
- name: The name of the operation resource to wait on.
type ProjectsLocationsHyperparameterTuningJobsOperationsWaitCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsHyperparameterTuningJobsOperationsWaitCall) Context(ctx context.Context) *ProjectsLocationsHyperparameterTuningJobsOperationsWaitCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsHyperparameterTuningJobsOperationsWaitCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.hyperparameterTuningJobs.operations.wait" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsHyperparameterTuningJobsOperationsWaitCall) Fields(s ...googleapi.Field) *ProjectsLocationsHyperparameterTuningJobsOperationsWaitCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsHyperparameterTuningJobsOperationsWaitCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsHyperparameterTuningJobsOperationsWaitCall) Timeout(timeout string) *ProjectsLocationsHyperparameterTuningJobsOperationsWaitCall
Timeout sets the optional parameter "timeout": The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.
type ProjectsLocationsHyperparameterTuningJobsService struct { Operations *ProjectsLocationsHyperparameterTuningJobsOperationsService // contains filtered or unexported fields }
func NewProjectsLocationsHyperparameterTuningJobsService(s *Service) *ProjectsLocationsHyperparameterTuningJobsService
func (r *ProjectsLocationsHyperparameterTuningJobsService) Cancel(name string, googlecloudaiplatformv1cancelhyperparametertuningjobrequest *GoogleCloudAiplatformV1CancelHyperparameterTuningJobRequest) *ProjectsLocationsHyperparameterTuningJobsCancelCall
Cancel: Cancels a HyperparameterTuningJob. Starts asynchronous cancellation on the HyperparameterTuningJob. The server makes a best effort to cancel the job, but success is not guaranteed. Clients can use JobService.GetHyperparameterTuningJob or other methods to check whether the cancellation succeeded or whether the job completed despite cancellation. On successful cancellation, the HyperparameterTuningJob is not deleted; instead it becomes a job with a HyperparameterTuningJob.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`, and HyperparameterTuningJob.state is set to `CANCELLED`.
func (r *ProjectsLocationsHyperparameterTuningJobsService) Create(parent string, googlecloudaiplatformv1hyperparametertuningjob *GoogleCloudAiplatformV1HyperparameterTuningJob) *ProjectsLocationsHyperparameterTuningJobsCreateCall
Create: Creates a HyperparameterTuningJob
func (r *ProjectsLocationsHyperparameterTuningJobsService) Delete(name string) *ProjectsLocationsHyperparameterTuningJobsDeleteCall
Delete: Deletes a HyperparameterTuningJob.
func (r *ProjectsLocationsHyperparameterTuningJobsService) Get(name string) *ProjectsLocationsHyperparameterTuningJobsGetCall
Get: Gets a HyperparameterTuningJob
func (r *ProjectsLocationsHyperparameterTuningJobsService) List(parent string) *ProjectsLocationsHyperparameterTuningJobsListCall
List: Lists HyperparameterTuningJobs in a Location.
type ProjectsLocationsIndexEndpointsCreateCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsIndexEndpointsCreateCall) Context(ctx context.Context) *ProjectsLocationsIndexEndpointsCreateCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsIndexEndpointsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.indexEndpoints.create" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsIndexEndpointsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsIndexEndpointsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsIndexEndpointsCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsIndexEndpointsDeleteCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsIndexEndpointsDeleteCall) Context(ctx context.Context) *ProjectsLocationsIndexEndpointsDeleteCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsIndexEndpointsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.indexEndpoints.delete" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsIndexEndpointsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsIndexEndpointsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsIndexEndpointsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsIndexEndpointsDeployIndexCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsIndexEndpointsDeployIndexCall) Context(ctx context.Context) *ProjectsLocationsIndexEndpointsDeployIndexCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsIndexEndpointsDeployIndexCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.indexEndpoints.deployIndex" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsIndexEndpointsDeployIndexCall) Fields(s ...googleapi.Field) *ProjectsLocationsIndexEndpointsDeployIndexCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsIndexEndpointsDeployIndexCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsIndexEndpointsFindNeighborsCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsIndexEndpointsFindNeighborsCall) Context(ctx context.Context) *ProjectsLocationsIndexEndpointsFindNeighborsCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsIndexEndpointsFindNeighborsCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1FindNeighborsResponse, error)
Do executes the "aiplatform.projects.locations.indexEndpoints.findNeighbors" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1FindNeighborsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsIndexEndpointsFindNeighborsCall) Fields(s ...googleapi.Field) *ProjectsLocationsIndexEndpointsFindNeighborsCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsIndexEndpointsFindNeighborsCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsIndexEndpointsGetCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsIndexEndpointsGetCall) Context(ctx context.Context) *ProjectsLocationsIndexEndpointsGetCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsIndexEndpointsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1IndexEndpoint, error)
Do executes the "aiplatform.projects.locations.indexEndpoints.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1IndexEndpoint.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsIndexEndpointsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsIndexEndpointsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsIndexEndpointsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsIndexEndpointsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsIndexEndpointsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsLocationsIndexEndpointsListCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsIndexEndpointsListCall) Context(ctx context.Context) *ProjectsLocationsIndexEndpointsListCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsIndexEndpointsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1ListIndexEndpointsResponse, error)
Do executes the "aiplatform.projects.locations.indexEndpoints.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1ListIndexEndpointsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsIndexEndpointsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsIndexEndpointsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsIndexEndpointsListCall) Filter(filter string) *ProjectsLocationsIndexEndpointsListCall
Filter sets the optional parameter "filter": An expression for filtering the results of the request. For field names both snake_case and camelCase are supported. * `index_endpoint` supports = and !=. `index_endpoint` represents the IndexEndpoint ID, ie. the last segment of the IndexEndpoint's resourcename. * `display_name` supports =, != and regex() (uses re2 (https://github.com/google/re2/wiki/Syntax) syntax) * `labels` supports general map functions that is: `labels.key=value` - key:value equality `labels.key:* or labels:key - key existence A key including a space must be quoted. `labels."a key". Some examples: * `index_endpoint="1" * `display_name="myDisplayName" * `regex(display_name, "^A") -> The display name starts with an A. * `labels.myKey="myValue"
func (c *ProjectsLocationsIndexEndpointsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsIndexEndpointsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsIndexEndpointsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (c *ProjectsLocationsIndexEndpointsListCall) PageSize(pageSize int64) *ProjectsLocationsIndexEndpointsListCall
PageSize sets the optional parameter "pageSize": The standard list page size.
func (c *ProjectsLocationsIndexEndpointsListCall) PageToken(pageToken string) *ProjectsLocationsIndexEndpointsListCall
PageToken sets the optional parameter "pageToken": The standard list page token. Typically obtained via ListIndexEndpointsResponse.next_page_token of the previous IndexEndpointService.ListIndexEndpoints call.
func (c *ProjectsLocationsIndexEndpointsListCall) Pages(ctx context.Context, f func(*GoogleCloudAiplatformV1ListIndexEndpointsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
func (c *ProjectsLocationsIndexEndpointsListCall) ReadMask(readMask string) *ProjectsLocationsIndexEndpointsListCall
ReadMask sets the optional parameter "readMask": Mask specifying which fields to read.
type ProjectsLocationsIndexEndpointsMutateDeployedIndexCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsIndexEndpointsMutateDeployedIndexCall) Context(ctx context.Context) *ProjectsLocationsIndexEndpointsMutateDeployedIndexCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsIndexEndpointsMutateDeployedIndexCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.indexEndpoints.mutateDeployedIndex" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsIndexEndpointsMutateDeployedIndexCall) Fields(s ...googleapi.Field) *ProjectsLocationsIndexEndpointsMutateDeployedIndexCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsIndexEndpointsMutateDeployedIndexCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsIndexEndpointsOperationsCancelCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsIndexEndpointsOperationsCancelCall) Context(ctx context.Context) *ProjectsLocationsIndexEndpointsOperationsCancelCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsIndexEndpointsOperationsCancelCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "aiplatform.projects.locations.indexEndpoints.operations.cancel" call. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsIndexEndpointsOperationsCancelCall) Fields(s ...googleapi.Field) *ProjectsLocationsIndexEndpointsOperationsCancelCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsIndexEndpointsOperationsCancelCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsIndexEndpointsOperationsDeleteCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsIndexEndpointsOperationsDeleteCall) Context(ctx context.Context) *ProjectsLocationsIndexEndpointsOperationsDeleteCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsIndexEndpointsOperationsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "aiplatform.projects.locations.indexEndpoints.operations.delete" call. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsIndexEndpointsOperationsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsIndexEndpointsOperationsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsIndexEndpointsOperationsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsIndexEndpointsOperationsGetCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsIndexEndpointsOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsIndexEndpointsOperationsGetCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsIndexEndpointsOperationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.indexEndpoints.operations.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsIndexEndpointsOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsIndexEndpointsOperationsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsIndexEndpointsOperationsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsIndexEndpointsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsIndexEndpointsOperationsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsLocationsIndexEndpointsOperationsListCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsIndexEndpointsOperationsListCall) Context(ctx context.Context) *ProjectsLocationsIndexEndpointsOperationsListCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsIndexEndpointsOperationsListCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningListOperationsResponse, error)
Do executes the "aiplatform.projects.locations.indexEndpoints.operations.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningListOperationsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsIndexEndpointsOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsIndexEndpointsOperationsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsIndexEndpointsOperationsListCall) Filter(filter string) *ProjectsLocationsIndexEndpointsOperationsListCall
Filter sets the optional parameter "filter": The standard list filter.
func (c *ProjectsLocationsIndexEndpointsOperationsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsIndexEndpointsOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsIndexEndpointsOperationsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (c *ProjectsLocationsIndexEndpointsOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsIndexEndpointsOperationsListCall
PageSize sets the optional parameter "pageSize": The standard list page size.
func (c *ProjectsLocationsIndexEndpointsOperationsListCall) PageToken(pageToken string) *ProjectsLocationsIndexEndpointsOperationsListCall
PageToken sets the optional parameter "pageToken": The standard list page token.
func (c *ProjectsLocationsIndexEndpointsOperationsListCall) Pages(ctx context.Context, f func(*GoogleLongrunningListOperationsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ProjectsLocationsIndexEndpointsOperationsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsIndexEndpointsOperationsService(s *Service) *ProjectsLocationsIndexEndpointsOperationsService
func (r *ProjectsLocationsIndexEndpointsOperationsService) Cancel(name string) *ProjectsLocationsIndexEndpointsOperationsCancelCall
Cancel: Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
- name: The name of the operation resource to be cancelled.
func (r *ProjectsLocationsIndexEndpointsOperationsService) Delete(name string) *ProjectsLocationsIndexEndpointsOperationsDeleteCall
Delete: Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
- name: The name of the operation resource to be deleted.
func (r *ProjectsLocationsIndexEndpointsOperationsService) Get(name string) *ProjectsLocationsIndexEndpointsOperationsGetCall
Get: Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
- name: The name of the operation resource.
func (r *ProjectsLocationsIndexEndpointsOperationsService) List(name string) *ProjectsLocationsIndexEndpointsOperationsListCall
List: Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.
- name: The name of the operation's parent resource.
func (r *ProjectsLocationsIndexEndpointsOperationsService) Wait(name string) *ProjectsLocationsIndexEndpointsOperationsWaitCall
Wait: Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.
- name: The name of the operation resource to wait on.
type ProjectsLocationsIndexEndpointsOperationsWaitCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsIndexEndpointsOperationsWaitCall) Context(ctx context.Context) *ProjectsLocationsIndexEndpointsOperationsWaitCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsIndexEndpointsOperationsWaitCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.indexEndpoints.operations.wait" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsIndexEndpointsOperationsWaitCall) Fields(s ...googleapi.Field) *ProjectsLocationsIndexEndpointsOperationsWaitCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsIndexEndpointsOperationsWaitCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsIndexEndpointsOperationsWaitCall) Timeout(timeout string) *ProjectsLocationsIndexEndpointsOperationsWaitCall
Timeout sets the optional parameter "timeout": The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.
type ProjectsLocationsIndexEndpointsPatchCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsIndexEndpointsPatchCall) Context(ctx context.Context) *ProjectsLocationsIndexEndpointsPatchCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsIndexEndpointsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1IndexEndpoint, error)
Do executes the "aiplatform.projects.locations.indexEndpoints.patch" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1IndexEndpoint.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsIndexEndpointsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsIndexEndpointsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsIndexEndpointsPatchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsIndexEndpointsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsIndexEndpointsPatchCall
UpdateMask sets the optional parameter "updateMask": Required. The update mask applies to the resource. See google.protobuf.FieldMask.
type ProjectsLocationsIndexEndpointsReadIndexDatapointsCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsIndexEndpointsReadIndexDatapointsCall) Context(ctx context.Context) *ProjectsLocationsIndexEndpointsReadIndexDatapointsCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsIndexEndpointsReadIndexDatapointsCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1ReadIndexDatapointsResponse, error)
Do executes the "aiplatform.projects.locations.indexEndpoints.readIndexDatapoints" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1ReadIndexDatapointsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsIndexEndpointsReadIndexDatapointsCall) Fields(s ...googleapi.Field) *ProjectsLocationsIndexEndpointsReadIndexDatapointsCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsIndexEndpointsReadIndexDatapointsCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsIndexEndpointsService struct { Operations *ProjectsLocationsIndexEndpointsOperationsService // contains filtered or unexported fields }
func NewProjectsLocationsIndexEndpointsService(s *Service) *ProjectsLocationsIndexEndpointsService
func (r *ProjectsLocationsIndexEndpointsService) Create(parent string, googlecloudaiplatformv1indexendpoint *GoogleCloudAiplatformV1IndexEndpoint) *ProjectsLocationsIndexEndpointsCreateCall
Create: Creates an IndexEndpoint.
func (r *ProjectsLocationsIndexEndpointsService) Delete(name string) *ProjectsLocationsIndexEndpointsDeleteCall
Delete: Deletes an IndexEndpoint.
func (r *ProjectsLocationsIndexEndpointsService) DeployIndex(indexEndpoint string, googlecloudaiplatformv1deployindexrequest *GoogleCloudAiplatformV1DeployIndexRequest) *ProjectsLocationsIndexEndpointsDeployIndexCall
DeployIndex: Deploys an Index into this IndexEndpoint, creating a DeployedIndex within it. Only non-empty Indexes can be deployed.
func (r *ProjectsLocationsIndexEndpointsService) FindNeighbors(indexEndpoint string, googlecloudaiplatformv1findneighborsrequest *GoogleCloudAiplatformV1FindNeighborsRequest) *ProjectsLocationsIndexEndpointsFindNeighborsCall
FindNeighbors: Finds the nearest neighbors of each vector within the request.
func (r *ProjectsLocationsIndexEndpointsService) Get(name string) *ProjectsLocationsIndexEndpointsGetCall
Get: Gets an IndexEndpoint.
func (r *ProjectsLocationsIndexEndpointsService) List(parent string) *ProjectsLocationsIndexEndpointsListCall
List: Lists IndexEndpoints in a Location.
func (r *ProjectsLocationsIndexEndpointsService) MutateDeployedIndex(indexEndpoint string, googlecloudaiplatformv1deployedindex *GoogleCloudAiplatformV1DeployedIndex) *ProjectsLocationsIndexEndpointsMutateDeployedIndexCall
MutateDeployedIndex: Update an existing DeployedIndex under an IndexEndpoint.
func (r *ProjectsLocationsIndexEndpointsService) Patch(name string, googlecloudaiplatformv1indexendpoint *GoogleCloudAiplatformV1IndexEndpoint) *ProjectsLocationsIndexEndpointsPatchCall
Patch: Updates an IndexEndpoint.
- name: Output only. The resource name of the IndexEndpoint.
func (r *ProjectsLocationsIndexEndpointsService) ReadIndexDatapoints(indexEndpoint string, googlecloudaiplatformv1readindexdatapointsrequest *GoogleCloudAiplatformV1ReadIndexDatapointsRequest) *ProjectsLocationsIndexEndpointsReadIndexDatapointsCall
ReadIndexDatapoints: Reads the datapoints/vectors of the given IDs. A maximum of 1000 datapoints can be retrieved in a batch.
func (r *ProjectsLocationsIndexEndpointsService) UndeployIndex(indexEndpoint string, googlecloudaiplatformv1undeployindexrequest *GoogleCloudAiplatformV1UndeployIndexRequest) *ProjectsLocationsIndexEndpointsUndeployIndexCall
UndeployIndex: Undeploys an Index from an IndexEndpoint, removing a DeployedIndex from it, and freeing all resources it's using.
type ProjectsLocationsIndexEndpointsUndeployIndexCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsIndexEndpointsUndeployIndexCall) Context(ctx context.Context) *ProjectsLocationsIndexEndpointsUndeployIndexCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsIndexEndpointsUndeployIndexCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.indexEndpoints.undeployIndex" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsIndexEndpointsUndeployIndexCall) Fields(s ...googleapi.Field) *ProjectsLocationsIndexEndpointsUndeployIndexCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsIndexEndpointsUndeployIndexCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsIndexesCreateCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsIndexesCreateCall) Context(ctx context.Context) *ProjectsLocationsIndexesCreateCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsIndexesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.indexes.create" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsIndexesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsIndexesCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsIndexesCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsIndexesDeleteCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsIndexesDeleteCall) Context(ctx context.Context) *ProjectsLocationsIndexesDeleteCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsIndexesDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.indexes.delete" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsIndexesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsIndexesDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsIndexesDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsIndexesGetCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsIndexesGetCall) Context(ctx context.Context) *ProjectsLocationsIndexesGetCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsIndexesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1Index, error)
Do executes the "aiplatform.projects.locations.indexes.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1Index.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsIndexesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsIndexesGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsIndexesGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsIndexesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsIndexesGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsLocationsIndexesListCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsIndexesListCall) Context(ctx context.Context) *ProjectsLocationsIndexesListCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsIndexesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1ListIndexesResponse, error)
Do executes the "aiplatform.projects.locations.indexes.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1ListIndexesResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsIndexesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsIndexesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsIndexesListCall) Filter(filter string) *ProjectsLocationsIndexesListCall
Filter sets the optional parameter "filter": The standard list filter.
func (c *ProjectsLocationsIndexesListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsIndexesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsIndexesListCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (c *ProjectsLocationsIndexesListCall) PageSize(pageSize int64) *ProjectsLocationsIndexesListCall
PageSize sets the optional parameter "pageSize": The standard list page size.
func (c *ProjectsLocationsIndexesListCall) PageToken(pageToken string) *ProjectsLocationsIndexesListCall
PageToken sets the optional parameter "pageToken": The standard list page token. Typically obtained via ListIndexesResponse.next_page_token of the previous IndexService.ListIndexes call.
func (c *ProjectsLocationsIndexesListCall) Pages(ctx context.Context, f func(*GoogleCloudAiplatformV1ListIndexesResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
func (c *ProjectsLocationsIndexesListCall) ReadMask(readMask string) *ProjectsLocationsIndexesListCall
ReadMask sets the optional parameter "readMask": Mask specifying which fields to read.
type ProjectsLocationsIndexesOperationsCancelCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsIndexesOperationsCancelCall) Context(ctx context.Context) *ProjectsLocationsIndexesOperationsCancelCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsIndexesOperationsCancelCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "aiplatform.projects.locations.indexes.operations.cancel" call. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsIndexesOperationsCancelCall) Fields(s ...googleapi.Field) *ProjectsLocationsIndexesOperationsCancelCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsIndexesOperationsCancelCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsIndexesOperationsDeleteCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsIndexesOperationsDeleteCall) Context(ctx context.Context) *ProjectsLocationsIndexesOperationsDeleteCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsIndexesOperationsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "aiplatform.projects.locations.indexes.operations.delete" call. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsIndexesOperationsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsIndexesOperationsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsIndexesOperationsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsIndexesOperationsGetCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsIndexesOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsIndexesOperationsGetCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsIndexesOperationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.indexes.operations.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsIndexesOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsIndexesOperationsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsIndexesOperationsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsIndexesOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsIndexesOperationsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsLocationsIndexesOperationsListCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsIndexesOperationsListCall) Context(ctx context.Context) *ProjectsLocationsIndexesOperationsListCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsIndexesOperationsListCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningListOperationsResponse, error)
Do executes the "aiplatform.projects.locations.indexes.operations.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningListOperationsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsIndexesOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsIndexesOperationsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsIndexesOperationsListCall) Filter(filter string) *ProjectsLocationsIndexesOperationsListCall
Filter sets the optional parameter "filter": The standard list filter.
func (c *ProjectsLocationsIndexesOperationsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsIndexesOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsIndexesOperationsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (c *ProjectsLocationsIndexesOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsIndexesOperationsListCall
PageSize sets the optional parameter "pageSize": The standard list page size.
func (c *ProjectsLocationsIndexesOperationsListCall) PageToken(pageToken string) *ProjectsLocationsIndexesOperationsListCall
PageToken sets the optional parameter "pageToken": The standard list page token.
func (c *ProjectsLocationsIndexesOperationsListCall) Pages(ctx context.Context, f func(*GoogleLongrunningListOperationsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ProjectsLocationsIndexesOperationsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsIndexesOperationsService(s *Service) *ProjectsLocationsIndexesOperationsService
func (r *ProjectsLocationsIndexesOperationsService) Cancel(name string) *ProjectsLocationsIndexesOperationsCancelCall
Cancel: Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
- name: The name of the operation resource to be cancelled.
func (r *ProjectsLocationsIndexesOperationsService) Delete(name string) *ProjectsLocationsIndexesOperationsDeleteCall
Delete: Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
- name: The name of the operation resource to be deleted.
func (r *ProjectsLocationsIndexesOperationsService) Get(name string) *ProjectsLocationsIndexesOperationsGetCall
Get: Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
- name: The name of the operation resource.
func (r *ProjectsLocationsIndexesOperationsService) List(name string) *ProjectsLocationsIndexesOperationsListCall
List: Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.
- name: The name of the operation's parent resource.
func (r *ProjectsLocationsIndexesOperationsService) Wait(name string) *ProjectsLocationsIndexesOperationsWaitCall
Wait: Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.
- name: The name of the operation resource to wait on.
type ProjectsLocationsIndexesOperationsWaitCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsIndexesOperationsWaitCall) Context(ctx context.Context) *ProjectsLocationsIndexesOperationsWaitCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsIndexesOperationsWaitCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.indexes.operations.wait" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsIndexesOperationsWaitCall) Fields(s ...googleapi.Field) *ProjectsLocationsIndexesOperationsWaitCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsIndexesOperationsWaitCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsIndexesOperationsWaitCall) Timeout(timeout string) *ProjectsLocationsIndexesOperationsWaitCall
Timeout sets the optional parameter "timeout": The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.
type ProjectsLocationsIndexesPatchCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsIndexesPatchCall) Context(ctx context.Context) *ProjectsLocationsIndexesPatchCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsIndexesPatchCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.indexes.patch" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsIndexesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsIndexesPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsIndexesPatchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsIndexesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsIndexesPatchCall
UpdateMask sets the optional parameter "updateMask": The update mask applies to the resource. For the `FieldMask` definition, see google.protobuf.FieldMask.
type ProjectsLocationsIndexesRemoveDatapointsCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsIndexesRemoveDatapointsCall) Context(ctx context.Context) *ProjectsLocationsIndexesRemoveDatapointsCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsIndexesRemoveDatapointsCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1RemoveDatapointsResponse, error)
Do executes the "aiplatform.projects.locations.indexes.removeDatapoints" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1RemoveDatapointsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsIndexesRemoveDatapointsCall) Fields(s ...googleapi.Field) *ProjectsLocationsIndexesRemoveDatapointsCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsIndexesRemoveDatapointsCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsIndexesService struct { Operations *ProjectsLocationsIndexesOperationsService // contains filtered or unexported fields }
func NewProjectsLocationsIndexesService(s *Service) *ProjectsLocationsIndexesService
func (r *ProjectsLocationsIndexesService) Create(parent string, googlecloudaiplatformv1index *GoogleCloudAiplatformV1Index) *ProjectsLocationsIndexesCreateCall
Create: Creates an Index.
func (r *ProjectsLocationsIndexesService) Delete(name string) *ProjectsLocationsIndexesDeleteCall
Delete: Deletes an Index. An Index can only be deleted when all its DeployedIndexes had been undeployed.
func (r *ProjectsLocationsIndexesService) Get(name string) *ProjectsLocationsIndexesGetCall
Get: Gets an Index.
func (r *ProjectsLocationsIndexesService) List(parent string) *ProjectsLocationsIndexesListCall
List: Lists Indexes in a Location.
func (r *ProjectsLocationsIndexesService) Patch(name string, googlecloudaiplatformv1index *GoogleCloudAiplatformV1Index) *ProjectsLocationsIndexesPatchCall
Patch: Updates an Index.
- name: Output only. The resource name of the Index.
func (r *ProjectsLocationsIndexesService) RemoveDatapoints(index string, googlecloudaiplatformv1removedatapointsrequest *GoogleCloudAiplatformV1RemoveDatapointsRequest) *ProjectsLocationsIndexesRemoveDatapointsCall
RemoveDatapoints: Remove Datapoints from an Index.
func (r *ProjectsLocationsIndexesService) UpsertDatapoints(index string, googlecloudaiplatformv1upsertdatapointsrequest *GoogleCloudAiplatformV1UpsertDatapointsRequest) *ProjectsLocationsIndexesUpsertDatapointsCall
UpsertDatapoints: Add/update Datapoints into an Index.
type ProjectsLocationsIndexesUpsertDatapointsCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsIndexesUpsertDatapointsCall) Context(ctx context.Context) *ProjectsLocationsIndexesUpsertDatapointsCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsIndexesUpsertDatapointsCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1UpsertDatapointsResponse, error)
Do executes the "aiplatform.projects.locations.indexes.upsertDatapoints" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1UpsertDatapointsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsIndexesUpsertDatapointsCall) Fields(s ...googleapi.Field) *ProjectsLocationsIndexesUpsertDatapointsCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsIndexesUpsertDatapointsCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsListCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsListCall) Context(ctx context.Context) *ProjectsLocationsListCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudLocationListLocationsResponse, error)
Do executes the "aiplatform.projects.locations.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudLocationListLocationsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsListCall) Filter(filter string) *ProjectsLocationsListCall
Filter sets the optional parameter "filter": A filter to narrow down results to a preferred subset. The filtering language accepts strings like "displayName=tokyo", and is documented in more detail in AIP-160 (https://google.aip.dev/160).
func (c *ProjectsLocationsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (c *ProjectsLocationsListCall) PageSize(pageSize int64) *ProjectsLocationsListCall
PageSize sets the optional parameter "pageSize": The maximum number of results to return. If not set, the service selects a default.
func (c *ProjectsLocationsListCall) PageToken(pageToken string) *ProjectsLocationsListCall
PageToken sets the optional parameter "pageToken": A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.
func (c *ProjectsLocationsListCall) Pages(ctx context.Context, f func(*GoogleCloudLocationListLocationsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ProjectsLocationsMetadataStoresArtifactsCreateCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsMetadataStoresArtifactsCreateCall) ArtifactId(artifactId string) *ProjectsLocationsMetadataStoresArtifactsCreateCall
ArtifactId sets the optional parameter "artifactId": The {artifact} portion of the resource name with the format: `projects/{project}/locations/{location}/metadataStores/{metadatastore}/artif acts/{artifact}` If not provided, the Artifact's ID will be a UUID generated by the service. Must be 4-128 characters in length. Valid characters are `/a-z-/`. Must be unique across all Artifacts in the parent MetadataStore. (Otherwise the request will fail with ALREADY_EXISTS, or PERMISSION_DENIED if the caller can't view the preexisting Artifact.)
func (c *ProjectsLocationsMetadataStoresArtifactsCreateCall) Context(ctx context.Context) *ProjectsLocationsMetadataStoresArtifactsCreateCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsMetadataStoresArtifactsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1Artifact, error)
Do executes the "aiplatform.projects.locations.metadataStores.artifacts.create" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1Artifact.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsMetadataStoresArtifactsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsMetadataStoresArtifactsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsMetadataStoresArtifactsCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsMetadataStoresArtifactsDeleteCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsMetadataStoresArtifactsDeleteCall) Context(ctx context.Context) *ProjectsLocationsMetadataStoresArtifactsDeleteCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsMetadataStoresArtifactsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.metadataStores.artifacts.delete" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsMetadataStoresArtifactsDeleteCall) Etag(etag string) *ProjectsLocationsMetadataStoresArtifactsDeleteCall
Etag sets the optional parameter "etag": The etag of the Artifact to delete. If this is provided, it must match the server's etag. Otherwise, the request will fail with a FAILED_PRECONDITION.
func (c *ProjectsLocationsMetadataStoresArtifactsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsMetadataStoresArtifactsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsMetadataStoresArtifactsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsMetadataStoresArtifactsGetCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsMetadataStoresArtifactsGetCall) Context(ctx context.Context) *ProjectsLocationsMetadataStoresArtifactsGetCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsMetadataStoresArtifactsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1Artifact, error)
Do executes the "aiplatform.projects.locations.metadataStores.artifacts.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1Artifact.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsMetadataStoresArtifactsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsMetadataStoresArtifactsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsMetadataStoresArtifactsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsMetadataStoresArtifactsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsMetadataStoresArtifactsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsLocationsMetadataStoresArtifactsListCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsMetadataStoresArtifactsListCall) Context(ctx context.Context) *ProjectsLocationsMetadataStoresArtifactsListCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsMetadataStoresArtifactsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1ListArtifactsResponse, error)
Do executes the "aiplatform.projects.locations.metadataStores.artifacts.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1ListArtifactsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsMetadataStoresArtifactsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsMetadataStoresArtifactsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsMetadataStoresArtifactsListCall) Filter(filter string) *ProjectsLocationsMetadataStoresArtifactsListCall
Filter sets the optional parameter "filter": Filter specifying the boolean condition for the Artifacts to satisfy in order to be part of the result set. The syntax to define filter query is based on https://google.aip.dev/160. The supported set of filters include the following: * **Attribute filtering**: For example: `display_name = "test". Supported fields include: `name`, `display_name`, `uri`, `state`, `schema_title`, `create_time`, and `update_time`. Time fields, such as `create_time` and `update_time`, require values specified in RFC-3339 format. For example: `create_time = "2020-11-19T11:30:00-04:00" * **Metadata field**: To filter on metadata fields use traversal operation as follows: `metadata..`. For example: `metadata.field_1.number_value = 10.0` In case the field name contains special characters (such as colon), one can embed it inside double quote. For example: `metadata."field:1".number_value = 10.0` * **Context based filtering**: To filter Artifacts based on the contexts to which they belong, use the function operator with the full resource name `in_context()`. For example: `in_context("projects//locations//metadataStores//contexts/")` Each of the above supported filter types can be combined together using logical operators (`AND` & `OR`). Maximum nested expression depth allowed is 5. For example: `display_name = "test" AND metadata.field1.bool_value = true`.
func (c *ProjectsLocationsMetadataStoresArtifactsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsMetadataStoresArtifactsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsMetadataStoresArtifactsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (c *ProjectsLocationsMetadataStoresArtifactsListCall) OrderBy(orderBy string) *ProjectsLocationsMetadataStoresArtifactsListCall
OrderBy sets the optional parameter "orderBy": How the list of messages is ordered. Specify the values to order by and an ordering operation. The default sorting order is ascending. To specify descending order for a field, users append a " desc" suffix; for example: "foo desc, bar". Subfields are specified with a `.` character, such as foo.bar. see https://google.aip.dev/132#ordering for more details.
func (c *ProjectsLocationsMetadataStoresArtifactsListCall) PageSize(pageSize int64) *ProjectsLocationsMetadataStoresArtifactsListCall
PageSize sets the optional parameter "pageSize": The maximum number of Artifacts to return. The service may return fewer. Must be in range 1-1000, inclusive. Defaults to 100.
func (c *ProjectsLocationsMetadataStoresArtifactsListCall) PageToken(pageToken string) *ProjectsLocationsMetadataStoresArtifactsListCall
PageToken sets the optional parameter "pageToken": A page token, received from a previous MetadataService.ListArtifacts call. Provide this to retrieve the subsequent page. When paginating, all other provided parameters must match the call that provided the page token. (Otherwise the request will fail with INVALID_ARGUMENT error.)
func (c *ProjectsLocationsMetadataStoresArtifactsListCall) Pages(ctx context.Context, f func(*GoogleCloudAiplatformV1ListArtifactsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ProjectsLocationsMetadataStoresArtifactsOperationsCancelCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsMetadataStoresArtifactsOperationsCancelCall) Context(ctx context.Context) *ProjectsLocationsMetadataStoresArtifactsOperationsCancelCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsMetadataStoresArtifactsOperationsCancelCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "aiplatform.projects.locations.metadataStores.artifacts.operations.cancel" call. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsMetadataStoresArtifactsOperationsCancelCall) Fields(s ...googleapi.Field) *ProjectsLocationsMetadataStoresArtifactsOperationsCancelCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsMetadataStoresArtifactsOperationsCancelCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsMetadataStoresArtifactsOperationsDeleteCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsMetadataStoresArtifactsOperationsDeleteCall) Context(ctx context.Context) *ProjectsLocationsMetadataStoresArtifactsOperationsDeleteCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsMetadataStoresArtifactsOperationsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "aiplatform.projects.locations.metadataStores.artifacts.operations.delete" call. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsMetadataStoresArtifactsOperationsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsMetadataStoresArtifactsOperationsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsMetadataStoresArtifactsOperationsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsMetadataStoresArtifactsOperationsGetCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsMetadataStoresArtifactsOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsMetadataStoresArtifactsOperationsGetCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsMetadataStoresArtifactsOperationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.metadataStores.artifacts.operations.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsMetadataStoresArtifactsOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsMetadataStoresArtifactsOperationsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsMetadataStoresArtifactsOperationsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsMetadataStoresArtifactsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsMetadataStoresArtifactsOperationsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsLocationsMetadataStoresArtifactsOperationsListCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsMetadataStoresArtifactsOperationsListCall) Context(ctx context.Context) *ProjectsLocationsMetadataStoresArtifactsOperationsListCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsMetadataStoresArtifactsOperationsListCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningListOperationsResponse, error)
Do executes the "aiplatform.projects.locations.metadataStores.artifacts.operations.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningListOperationsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsMetadataStoresArtifactsOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsMetadataStoresArtifactsOperationsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsMetadataStoresArtifactsOperationsListCall) Filter(filter string) *ProjectsLocationsMetadataStoresArtifactsOperationsListCall
Filter sets the optional parameter "filter": The standard list filter.
func (c *ProjectsLocationsMetadataStoresArtifactsOperationsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsMetadataStoresArtifactsOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsMetadataStoresArtifactsOperationsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (c *ProjectsLocationsMetadataStoresArtifactsOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsMetadataStoresArtifactsOperationsListCall
PageSize sets the optional parameter "pageSize": The standard list page size.
func (c *ProjectsLocationsMetadataStoresArtifactsOperationsListCall) PageToken(pageToken string) *ProjectsLocationsMetadataStoresArtifactsOperationsListCall
PageToken sets the optional parameter "pageToken": The standard list page token.
func (c *ProjectsLocationsMetadataStoresArtifactsOperationsListCall) Pages(ctx context.Context, f func(*GoogleLongrunningListOperationsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ProjectsLocationsMetadataStoresArtifactsOperationsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsMetadataStoresArtifactsOperationsService(s *Service) *ProjectsLocationsMetadataStoresArtifactsOperationsService
func (r *ProjectsLocationsMetadataStoresArtifactsOperationsService) Cancel(name string) *ProjectsLocationsMetadataStoresArtifactsOperationsCancelCall
Cancel: Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
- name: The name of the operation resource to be cancelled.
func (r *ProjectsLocationsMetadataStoresArtifactsOperationsService) Delete(name string) *ProjectsLocationsMetadataStoresArtifactsOperationsDeleteCall
Delete: Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
- name: The name of the operation resource to be deleted.
func (r *ProjectsLocationsMetadataStoresArtifactsOperationsService) Get(name string) *ProjectsLocationsMetadataStoresArtifactsOperationsGetCall
Get: Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
- name: The name of the operation resource.
func (r *ProjectsLocationsMetadataStoresArtifactsOperationsService) List(name string) *ProjectsLocationsMetadataStoresArtifactsOperationsListCall
List: Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.
- name: The name of the operation's parent resource.
func (r *ProjectsLocationsMetadataStoresArtifactsOperationsService) Wait(name string) *ProjectsLocationsMetadataStoresArtifactsOperationsWaitCall
Wait: Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.
- name: The name of the operation resource to wait on.
type ProjectsLocationsMetadataStoresArtifactsOperationsWaitCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsMetadataStoresArtifactsOperationsWaitCall) Context(ctx context.Context) *ProjectsLocationsMetadataStoresArtifactsOperationsWaitCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsMetadataStoresArtifactsOperationsWaitCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.metadataStores.artifacts.operations.wait" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsMetadataStoresArtifactsOperationsWaitCall) Fields(s ...googleapi.Field) *ProjectsLocationsMetadataStoresArtifactsOperationsWaitCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsMetadataStoresArtifactsOperationsWaitCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsMetadataStoresArtifactsOperationsWaitCall) Timeout(timeout string) *ProjectsLocationsMetadataStoresArtifactsOperationsWaitCall
Timeout sets the optional parameter "timeout": The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.
type ProjectsLocationsMetadataStoresArtifactsPatchCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsMetadataStoresArtifactsPatchCall) AllowMissing(allowMissing bool) *ProjectsLocationsMetadataStoresArtifactsPatchCall
AllowMissing sets the optional parameter "allowMissing": If set to true, and the Artifact is not found, a new Artifact is created.
func (c *ProjectsLocationsMetadataStoresArtifactsPatchCall) Context(ctx context.Context) *ProjectsLocationsMetadataStoresArtifactsPatchCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsMetadataStoresArtifactsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1Artifact, error)
Do executes the "aiplatform.projects.locations.metadataStores.artifacts.patch" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1Artifact.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsMetadataStoresArtifactsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsMetadataStoresArtifactsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsMetadataStoresArtifactsPatchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsMetadataStoresArtifactsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsMetadataStoresArtifactsPatchCall
UpdateMask sets the optional parameter "updateMask": A FieldMask indicating which fields should be updated.
type ProjectsLocationsMetadataStoresArtifactsPurgeCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsMetadataStoresArtifactsPurgeCall) Context(ctx context.Context) *ProjectsLocationsMetadataStoresArtifactsPurgeCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsMetadataStoresArtifactsPurgeCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.metadataStores.artifacts.purge" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsMetadataStoresArtifactsPurgeCall) Fields(s ...googleapi.Field) *ProjectsLocationsMetadataStoresArtifactsPurgeCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsMetadataStoresArtifactsPurgeCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsMetadataStoresArtifactsQueryArtifactLineageSubgraphCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsMetadataStoresArtifactsQueryArtifactLineageSubgraphCall) Context(ctx context.Context) *ProjectsLocationsMetadataStoresArtifactsQueryArtifactLineageSubgraphCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsMetadataStoresArtifactsQueryArtifactLineageSubgraphCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1LineageSubgraph, error)
Do executes the "aiplatform.projects.locations.metadataStores.artifacts.queryArtifactLineageSubgraph" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1LineageSubgraph.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsMetadataStoresArtifactsQueryArtifactLineageSubgraphCall) Fields(s ...googleapi.Field) *ProjectsLocationsMetadataStoresArtifactsQueryArtifactLineageSubgraphCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsMetadataStoresArtifactsQueryArtifactLineageSubgraphCall) Filter(filter string) *ProjectsLocationsMetadataStoresArtifactsQueryArtifactLineageSubgraphCall
Filter sets the optional parameter "filter": Filter specifying the boolean condition for the Artifacts to satisfy in order to be part of the Lineage Subgraph. The syntax to define filter query is based on https://google.aip.dev/160. The supported set of filters include the following: * **Attribute filtering**: For example: `display_name = "test" Supported fields include: `name`, `display_name`, `uri`, `state`, `schema_title`, `create_time`, and `update_time`. Time fields, such as `create_time` and `update_time`, require values specified in RFC-3339 format. For example: `create_time = "2020-11-19T11:30:00-04:00" * **Metadata field**: To filter on metadata fields use traversal operation as follows: `metadata..`. For example: `metadata.field_1.number_value = 10.0` In case the field name contains special characters (such as colon), one can embed it inside double quote. For example: `metadata."field:1".number_value = 10.0` Each of the above supported filter types can be combined together using logical operators (`AND` & `OR`). Maximum nested expression depth allowed is 5. For example: `display_name = "test" AND metadata.field1.bool_value = true`.
func (c *ProjectsLocationsMetadataStoresArtifactsQueryArtifactLineageSubgraphCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsMetadataStoresArtifactsQueryArtifactLineageSubgraphCall) IfNoneMatch(entityTag string) *ProjectsLocationsMetadataStoresArtifactsQueryArtifactLineageSubgraphCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (c *ProjectsLocationsMetadataStoresArtifactsQueryArtifactLineageSubgraphCall) MaxHops(maxHops int64) *ProjectsLocationsMetadataStoresArtifactsQueryArtifactLineageSubgraphCall
MaxHops sets the optional parameter "maxHops": Specifies the size of the lineage graph in terms of number of hops from the specified artifact. Negative Value: INVALID_ARGUMENT error is returned 0: Only input artifact is returned. No value: Transitive closure is performed to return the complete graph.
type ProjectsLocationsMetadataStoresArtifactsService struct { Operations *ProjectsLocationsMetadataStoresArtifactsOperationsService // contains filtered or unexported fields }
func NewProjectsLocationsMetadataStoresArtifactsService(s *Service) *ProjectsLocationsMetadataStoresArtifactsService
func (r *ProjectsLocationsMetadataStoresArtifactsService) Create(parent string, googlecloudaiplatformv1artifact *GoogleCloudAiplatformV1Artifact) *ProjectsLocationsMetadataStoresArtifactsCreateCall
Create: Creates an Artifact associated with a MetadataStore.
func (r *ProjectsLocationsMetadataStoresArtifactsService) Delete(name string) *ProjectsLocationsMetadataStoresArtifactsDeleteCall
Delete: Deletes an Artifact.
func (r *ProjectsLocationsMetadataStoresArtifactsService) Get(name string) *ProjectsLocationsMetadataStoresArtifactsGetCall
Get: Retrieves a specific Artifact.
func (r *ProjectsLocationsMetadataStoresArtifactsService) List(parent string) *ProjectsLocationsMetadataStoresArtifactsListCall
List: Lists Artifacts in the MetadataStore.
func (r *ProjectsLocationsMetadataStoresArtifactsService) Patch(name string, googlecloudaiplatformv1artifact *GoogleCloudAiplatformV1Artifact) *ProjectsLocationsMetadataStoresArtifactsPatchCall
Patch: Updates a stored Artifact.
- name: Output only. The resource name of the Artifact.
func (r *ProjectsLocationsMetadataStoresArtifactsService) Purge(parent string, googlecloudaiplatformv1purgeartifactsrequest *GoogleCloudAiplatformV1PurgeArtifactsRequest) *ProjectsLocationsMetadataStoresArtifactsPurgeCall
Purge: Purges Artifacts.
func (r *ProjectsLocationsMetadataStoresArtifactsService) QueryArtifactLineageSubgraph(artifact string) *ProjectsLocationsMetadataStoresArtifactsQueryArtifactLineageSubgraphCall
QueryArtifactLineageSubgraph: Retrieves lineage of an Artifact represented through Artifacts and Executions connected by Event edges and returned as a LineageSubgraph.
type ProjectsLocationsMetadataStoresContextsAddContextArtifactsAndExecutionsCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsMetadataStoresContextsAddContextArtifactsAndExecutionsCall) Context(ctx context.Context) *ProjectsLocationsMetadataStoresContextsAddContextArtifactsAndExecutionsCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsMetadataStoresContextsAddContextArtifactsAndExecutionsCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1AddContextArtifactsAndExecutionsResponse, error)
Do executes the "aiplatform.projects.locations.metadataStores.contexts.addContextArtifactsAndExecutions" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1AddContextArtifactsAndExecutionsResponse.ServerRespon se.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsMetadataStoresContextsAddContextArtifactsAndExecutionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsMetadataStoresContextsAddContextArtifactsAndExecutionsCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsMetadataStoresContextsAddContextArtifactsAndExecutionsCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsMetadataStoresContextsAddContextChildrenCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsMetadataStoresContextsAddContextChildrenCall) Context(ctx context.Context) *ProjectsLocationsMetadataStoresContextsAddContextChildrenCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsMetadataStoresContextsAddContextChildrenCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1AddContextChildrenResponse, error)
Do executes the "aiplatform.projects.locations.metadataStores.contexts.addContextChildren" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1AddContextChildrenResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsMetadataStoresContextsAddContextChildrenCall) Fields(s ...googleapi.Field) *ProjectsLocationsMetadataStoresContextsAddContextChildrenCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsMetadataStoresContextsAddContextChildrenCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsMetadataStoresContextsCreateCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsMetadataStoresContextsCreateCall) Context(ctx context.Context) *ProjectsLocationsMetadataStoresContextsCreateCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsMetadataStoresContextsCreateCall) ContextId(contextId string) *ProjectsLocationsMetadataStoresContextsCreateCall
ContextId sets the optional parameter "contextId": The {context} portion of the resource name with the format: `projects/{project}/locations/{location}/metadataStores/{metadatastore}/conte xts/{context}`. If not provided, the Context's ID will be a UUID generated by the service. Must be 4-128 characters in length. Valid characters are `/a-z-/`. Must be unique across all Contexts in the parent MetadataStore. (Otherwise the request will fail with ALREADY_EXISTS, or PERMISSION_DENIED if the caller can't view the preexisting Context.)
func (c *ProjectsLocationsMetadataStoresContextsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1Context, error)
Do executes the "aiplatform.projects.locations.metadataStores.contexts.create" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1Context.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsMetadataStoresContextsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsMetadataStoresContextsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsMetadataStoresContextsCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsMetadataStoresContextsDeleteCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsMetadataStoresContextsDeleteCall) Context(ctx context.Context) *ProjectsLocationsMetadataStoresContextsDeleteCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsMetadataStoresContextsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.metadataStores.contexts.delete" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsMetadataStoresContextsDeleteCall) Etag(etag string) *ProjectsLocationsMetadataStoresContextsDeleteCall
Etag sets the optional parameter "etag": The etag of the Context to delete. If this is provided, it must match the server's etag. Otherwise, the request will fail with a FAILED_PRECONDITION.
func (c *ProjectsLocationsMetadataStoresContextsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsMetadataStoresContextsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsMetadataStoresContextsDeleteCall) Force(force bool) *ProjectsLocationsMetadataStoresContextsDeleteCall
Force sets the optional parameter "force": The force deletion semantics is still undefined. Users should not use this field.
func (c *ProjectsLocationsMetadataStoresContextsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsMetadataStoresContextsGetCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsMetadataStoresContextsGetCall) Context(ctx context.Context) *ProjectsLocationsMetadataStoresContextsGetCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsMetadataStoresContextsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1Context, error)
Do executes the "aiplatform.projects.locations.metadataStores.contexts.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1Context.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsMetadataStoresContextsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsMetadataStoresContextsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsMetadataStoresContextsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsMetadataStoresContextsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsMetadataStoresContextsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsLocationsMetadataStoresContextsListCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsMetadataStoresContextsListCall) Context(ctx context.Context) *ProjectsLocationsMetadataStoresContextsListCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsMetadataStoresContextsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1ListContextsResponse, error)
Do executes the "aiplatform.projects.locations.metadataStores.contexts.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1ListContextsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsMetadataStoresContextsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsMetadataStoresContextsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsMetadataStoresContextsListCall) Filter(filter string) *ProjectsLocationsMetadataStoresContextsListCall
Filter sets the optional parameter "filter": Filter specifying the boolean condition for the Contexts to satisfy in order to be part of the result set. The syntax to define filter query is based on https://google.aip.dev/160. Following are the supported set of filters: * **Attribute filtering**: For example: `display_name = "test". Supported fields include: `name`, `display_name`, `schema_title`, `create_time`, and `update_time`. Time fields, such as `create_time` and `update_time`, require values specified in RFC-3339 format. For example: `create_time = "2020-11-19T11:30:00-04:00". * **Metadata field**: To filter on metadata fields use traversal operation as follows: `metadata..`. For example: `metadata.field_1.number_value = 10.0`. In case the field name contains special characters (such as colon), one can embed it inside double quote. For example: `metadata."field:1".number_value = 10.0` * **Parent Child filtering**: To filter Contexts based on parent-child relationship use the HAS operator as follows: ``` parent_contexts: "projects//locations//metadataStores//contexts/" child_contexts: "projects//locations//metadataStores//contexts/" ``` Each of the above supported filters can be combined together using logical operators (`AND` & `OR`). Maximum nested expression depth allowed is 5. For example: `display_name = "test" AND metadata.field1.bool_value = true`.
func (c *ProjectsLocationsMetadataStoresContextsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsMetadataStoresContextsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsMetadataStoresContextsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (c *ProjectsLocationsMetadataStoresContextsListCall) OrderBy(orderBy string) *ProjectsLocationsMetadataStoresContextsListCall
OrderBy sets the optional parameter "orderBy": How the list of messages is ordered. Specify the values to order by and an ordering operation. The default sorting order is ascending. To specify descending order for a field, users append a " desc" suffix; for example: "foo desc, bar". Subfields are specified with a `.` character, such as foo.bar. see https://google.aip.dev/132#ordering for more details.
func (c *ProjectsLocationsMetadataStoresContextsListCall) PageSize(pageSize int64) *ProjectsLocationsMetadataStoresContextsListCall
PageSize sets the optional parameter "pageSize": The maximum number of Contexts to return. The service may return fewer. Must be in range 1-1000, inclusive. Defaults to 100.
func (c *ProjectsLocationsMetadataStoresContextsListCall) PageToken(pageToken string) *ProjectsLocationsMetadataStoresContextsListCall
PageToken sets the optional parameter "pageToken": A page token, received from a previous MetadataService.ListContexts call. Provide this to retrieve the subsequent page. When paginating, all other provided parameters must match the call that provided the page token. (Otherwise the request will fail with INVALID_ARGUMENT error.)
func (c *ProjectsLocationsMetadataStoresContextsListCall) Pages(ctx context.Context, f func(*GoogleCloudAiplatformV1ListContextsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ProjectsLocationsMetadataStoresContextsOperationsCancelCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsMetadataStoresContextsOperationsCancelCall) Context(ctx context.Context) *ProjectsLocationsMetadataStoresContextsOperationsCancelCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsMetadataStoresContextsOperationsCancelCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "aiplatform.projects.locations.metadataStores.contexts.operations.cancel" call. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsMetadataStoresContextsOperationsCancelCall) Fields(s ...googleapi.Field) *ProjectsLocationsMetadataStoresContextsOperationsCancelCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsMetadataStoresContextsOperationsCancelCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsMetadataStoresContextsOperationsDeleteCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsMetadataStoresContextsOperationsDeleteCall) Context(ctx context.Context) *ProjectsLocationsMetadataStoresContextsOperationsDeleteCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsMetadataStoresContextsOperationsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "aiplatform.projects.locations.metadataStores.contexts.operations.delete" call. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsMetadataStoresContextsOperationsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsMetadataStoresContextsOperationsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsMetadataStoresContextsOperationsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsMetadataStoresContextsOperationsGetCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsMetadataStoresContextsOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsMetadataStoresContextsOperationsGetCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsMetadataStoresContextsOperationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.metadataStores.contexts.operations.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsMetadataStoresContextsOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsMetadataStoresContextsOperationsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsMetadataStoresContextsOperationsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsMetadataStoresContextsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsMetadataStoresContextsOperationsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsLocationsMetadataStoresContextsOperationsListCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsMetadataStoresContextsOperationsListCall) Context(ctx context.Context) *ProjectsLocationsMetadataStoresContextsOperationsListCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsMetadataStoresContextsOperationsListCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningListOperationsResponse, error)
Do executes the "aiplatform.projects.locations.metadataStores.contexts.operations.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningListOperationsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsMetadataStoresContextsOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsMetadataStoresContextsOperationsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsMetadataStoresContextsOperationsListCall) Filter(filter string) *ProjectsLocationsMetadataStoresContextsOperationsListCall
Filter sets the optional parameter "filter": The standard list filter.
func (c *ProjectsLocationsMetadataStoresContextsOperationsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsMetadataStoresContextsOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsMetadataStoresContextsOperationsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (c *ProjectsLocationsMetadataStoresContextsOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsMetadataStoresContextsOperationsListCall
PageSize sets the optional parameter "pageSize": The standard list page size.
func (c *ProjectsLocationsMetadataStoresContextsOperationsListCall) PageToken(pageToken string) *ProjectsLocationsMetadataStoresContextsOperationsListCall
PageToken sets the optional parameter "pageToken": The standard list page token.
func (c *ProjectsLocationsMetadataStoresContextsOperationsListCall) Pages(ctx context.Context, f func(*GoogleLongrunningListOperationsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ProjectsLocationsMetadataStoresContextsOperationsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsMetadataStoresContextsOperationsService(s *Service) *ProjectsLocationsMetadataStoresContextsOperationsService
func (r *ProjectsLocationsMetadataStoresContextsOperationsService) Cancel(name string) *ProjectsLocationsMetadataStoresContextsOperationsCancelCall
Cancel: Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
- name: The name of the operation resource to be cancelled.
func (r *ProjectsLocationsMetadataStoresContextsOperationsService) Delete(name string) *ProjectsLocationsMetadataStoresContextsOperationsDeleteCall
Delete: Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
- name: The name of the operation resource to be deleted.
func (r *ProjectsLocationsMetadataStoresContextsOperationsService) Get(name string) *ProjectsLocationsMetadataStoresContextsOperationsGetCall
Get: Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
- name: The name of the operation resource.
func (r *ProjectsLocationsMetadataStoresContextsOperationsService) List(name string) *ProjectsLocationsMetadataStoresContextsOperationsListCall
List: Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.
- name: The name of the operation's parent resource.
func (r *ProjectsLocationsMetadataStoresContextsOperationsService) Wait(name string) *ProjectsLocationsMetadataStoresContextsOperationsWaitCall
Wait: Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.
- name: The name of the operation resource to wait on.
type ProjectsLocationsMetadataStoresContextsOperationsWaitCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsMetadataStoresContextsOperationsWaitCall) Context(ctx context.Context) *ProjectsLocationsMetadataStoresContextsOperationsWaitCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsMetadataStoresContextsOperationsWaitCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.metadataStores.contexts.operations.wait" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsMetadataStoresContextsOperationsWaitCall) Fields(s ...googleapi.Field) *ProjectsLocationsMetadataStoresContextsOperationsWaitCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsMetadataStoresContextsOperationsWaitCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsMetadataStoresContextsOperationsWaitCall) Timeout(timeout string) *ProjectsLocationsMetadataStoresContextsOperationsWaitCall
Timeout sets the optional parameter "timeout": The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.
type ProjectsLocationsMetadataStoresContextsPatchCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsMetadataStoresContextsPatchCall) AllowMissing(allowMissing bool) *ProjectsLocationsMetadataStoresContextsPatchCall
AllowMissing sets the optional parameter "allowMissing": If set to true, and the Context is not found, a new Context is created.
func (c *ProjectsLocationsMetadataStoresContextsPatchCall) Context(ctx context.Context) *ProjectsLocationsMetadataStoresContextsPatchCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsMetadataStoresContextsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1Context, error)
Do executes the "aiplatform.projects.locations.metadataStores.contexts.patch" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1Context.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsMetadataStoresContextsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsMetadataStoresContextsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsMetadataStoresContextsPatchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsMetadataStoresContextsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsMetadataStoresContextsPatchCall
UpdateMask sets the optional parameter "updateMask": A FieldMask indicating which fields should be updated.
type ProjectsLocationsMetadataStoresContextsPurgeCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsMetadataStoresContextsPurgeCall) Context(ctx context.Context) *ProjectsLocationsMetadataStoresContextsPurgeCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsMetadataStoresContextsPurgeCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.metadataStores.contexts.purge" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsMetadataStoresContextsPurgeCall) Fields(s ...googleapi.Field) *ProjectsLocationsMetadataStoresContextsPurgeCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsMetadataStoresContextsPurgeCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsMetadataStoresContextsQueryContextLineageSubgraphCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsMetadataStoresContextsQueryContextLineageSubgraphCall) Context(ctx context.Context) *ProjectsLocationsMetadataStoresContextsQueryContextLineageSubgraphCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsMetadataStoresContextsQueryContextLineageSubgraphCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1LineageSubgraph, error)
Do executes the "aiplatform.projects.locations.metadataStores.contexts.queryContextLineageSubgraph" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1LineageSubgraph.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsMetadataStoresContextsQueryContextLineageSubgraphCall) Fields(s ...googleapi.Field) *ProjectsLocationsMetadataStoresContextsQueryContextLineageSubgraphCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsMetadataStoresContextsQueryContextLineageSubgraphCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsMetadataStoresContextsQueryContextLineageSubgraphCall) IfNoneMatch(entityTag string) *ProjectsLocationsMetadataStoresContextsQueryContextLineageSubgraphCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsLocationsMetadataStoresContextsRemoveContextChildrenCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsMetadataStoresContextsRemoveContextChildrenCall) Context(ctx context.Context) *ProjectsLocationsMetadataStoresContextsRemoveContextChildrenCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsMetadataStoresContextsRemoveContextChildrenCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1RemoveContextChildrenResponse, error)
Do executes the "aiplatform.projects.locations.metadataStores.contexts.removeContextChildren" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1RemoveContextChildrenResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsMetadataStoresContextsRemoveContextChildrenCall) Fields(s ...googleapi.Field) *ProjectsLocationsMetadataStoresContextsRemoveContextChildrenCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsMetadataStoresContextsRemoveContextChildrenCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsMetadataStoresContextsService struct { Operations *ProjectsLocationsMetadataStoresContextsOperationsService // contains filtered or unexported fields }
func NewProjectsLocationsMetadataStoresContextsService(s *Service) *ProjectsLocationsMetadataStoresContextsService
func (r *ProjectsLocationsMetadataStoresContextsService) AddContextArtifactsAndExecutions(context string, googlecloudaiplatformv1addcontextartifactsandexecutionsrequest *GoogleCloudAiplatformV1AddContextArtifactsAndExecutionsRequest) *ProjectsLocationsMetadataStoresContextsAddContextArtifactsAndExecutionsCall
AddContextArtifactsAndExecutions: Adds a set of Artifacts and Executions to a Context. If any of the Artifacts or Executions have already been added to a Context, they are simply skipped.
func (r *ProjectsLocationsMetadataStoresContextsService) AddContextChildren(context string, googlecloudaiplatformv1addcontextchildrenrequest *GoogleCloudAiplatformV1AddContextChildrenRequest) *ProjectsLocationsMetadataStoresContextsAddContextChildrenCall
AddContextChildren: Adds a set of Contexts as children to a parent Context. If any of the child Contexts have already been added to the parent Context, they are simply skipped. If this call would create a cycle or cause any Context to have more than 10 parents, the request will fail with an INVALID_ARGUMENT error.
func (r *ProjectsLocationsMetadataStoresContextsService) Create(parent string, googlecloudaiplatformv1context *GoogleCloudAiplatformV1Context) *ProjectsLocationsMetadataStoresContextsCreateCall
Create: Creates a Context associated with a MetadataStore.
func (r *ProjectsLocationsMetadataStoresContextsService) Delete(name string) *ProjectsLocationsMetadataStoresContextsDeleteCall
Delete: Deletes a stored Context.
func (r *ProjectsLocationsMetadataStoresContextsService) Get(name string) *ProjectsLocationsMetadataStoresContextsGetCall
Get: Retrieves a specific Context.
func (r *ProjectsLocationsMetadataStoresContextsService) List(parent string) *ProjectsLocationsMetadataStoresContextsListCall
List: Lists Contexts on the MetadataStore.
func (r *ProjectsLocationsMetadataStoresContextsService) Patch(name string, googlecloudaiplatformv1context *GoogleCloudAiplatformV1Context) *ProjectsLocationsMetadataStoresContextsPatchCall
Patch: Updates a stored Context.
- name: Immutable. The resource name of the Context.
func (r *ProjectsLocationsMetadataStoresContextsService) Purge(parent string, googlecloudaiplatformv1purgecontextsrequest *GoogleCloudAiplatformV1PurgeContextsRequest) *ProjectsLocationsMetadataStoresContextsPurgeCall
Purge: Purges Contexts.
func (r *ProjectsLocationsMetadataStoresContextsService) QueryContextLineageSubgraph(context string) *ProjectsLocationsMetadataStoresContextsQueryContextLineageSubgraphCall
QueryContextLineageSubgraph: Retrieves Artifacts and Executions within the specified Context, connected by Event edges and returned as a LineageSubgraph.
func (r *ProjectsLocationsMetadataStoresContextsService) RemoveContextChildren(context string, googlecloudaiplatformv1removecontextchildrenrequest *GoogleCloudAiplatformV1RemoveContextChildrenRequest) *ProjectsLocationsMetadataStoresContextsRemoveContextChildrenCall
RemoveContextChildren: Remove a set of children contexts from a parent Context. If any of the child Contexts were NOT added to the parent Context, they are simply skipped.
type ProjectsLocationsMetadataStoresCreateCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsMetadataStoresCreateCall) Context(ctx context.Context) *ProjectsLocationsMetadataStoresCreateCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsMetadataStoresCreateCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.metadataStores.create" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsMetadataStoresCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsMetadataStoresCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsMetadataStoresCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsMetadataStoresCreateCall) MetadataStoreId(metadataStoreId string) *ProjectsLocationsMetadataStoresCreateCall
MetadataStoreId sets the optional parameter "metadataStoreId": The {metadatastore} portion of the resource name with the format: `projects/{project}/locations/{location}/metadataStores/{metadatastore}` If not provided, the MetadataStore's ID will be a UUID generated by the service. Must be 4-128 characters in length. Valid characters are `/a-z-/`. Must be unique across all MetadataStores in the parent Location. (Otherwise the request will fail with ALREADY_EXISTS, or PERMISSION_DENIED if the caller can't view the preexisting MetadataStore.)
type ProjectsLocationsMetadataStoresDeleteCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsMetadataStoresDeleteCall) Context(ctx context.Context) *ProjectsLocationsMetadataStoresDeleteCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsMetadataStoresDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.metadataStores.delete" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsMetadataStoresDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsMetadataStoresDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsMetadataStoresDeleteCall) Force(force bool) *ProjectsLocationsMetadataStoresDeleteCall
Force sets the optional parameter "force": Deprecated: Field is no longer supported.
func (c *ProjectsLocationsMetadataStoresDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsMetadataStoresExecutionsAddExecutionEventsCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsMetadataStoresExecutionsAddExecutionEventsCall) Context(ctx context.Context) *ProjectsLocationsMetadataStoresExecutionsAddExecutionEventsCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsMetadataStoresExecutionsAddExecutionEventsCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1AddExecutionEventsResponse, error)
Do executes the "aiplatform.projects.locations.metadataStores.executions.addExecutionEvents" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1AddExecutionEventsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsMetadataStoresExecutionsAddExecutionEventsCall) Fields(s ...googleapi.Field) *ProjectsLocationsMetadataStoresExecutionsAddExecutionEventsCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsMetadataStoresExecutionsAddExecutionEventsCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsMetadataStoresExecutionsCreateCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsMetadataStoresExecutionsCreateCall) Context(ctx context.Context) *ProjectsLocationsMetadataStoresExecutionsCreateCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsMetadataStoresExecutionsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1Execution, error)
Do executes the "aiplatform.projects.locations.metadataStores.executions.create" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1Execution.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsMetadataStoresExecutionsCreateCall) ExecutionId(executionId string) *ProjectsLocationsMetadataStoresExecutionsCreateCall
ExecutionId sets the optional parameter "executionId": The {execution} portion of the resource name with the format: `projects/{project}/locations/{location}/metadataStores/{metadatastore}/execu tions/{execution}` If not provided, the Execution's ID will be a UUID generated by the service. Must be 4-128 characters in length. Valid characters are `/a-z-/`. Must be unique across all Executions in the parent MetadataStore. (Otherwise the request will fail with ALREADY_EXISTS, or PERMISSION_DENIED if the caller can't view the preexisting Execution.)
func (c *ProjectsLocationsMetadataStoresExecutionsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsMetadataStoresExecutionsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsMetadataStoresExecutionsCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsMetadataStoresExecutionsDeleteCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsMetadataStoresExecutionsDeleteCall) Context(ctx context.Context) *ProjectsLocationsMetadataStoresExecutionsDeleteCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsMetadataStoresExecutionsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.metadataStores.executions.delete" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsMetadataStoresExecutionsDeleteCall) Etag(etag string) *ProjectsLocationsMetadataStoresExecutionsDeleteCall
Etag sets the optional parameter "etag": The etag of the Execution to delete. If this is provided, it must match the server's etag. Otherwise, the request will fail with a FAILED_PRECONDITION.
func (c *ProjectsLocationsMetadataStoresExecutionsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsMetadataStoresExecutionsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsMetadataStoresExecutionsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsMetadataStoresExecutionsGetCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsMetadataStoresExecutionsGetCall) Context(ctx context.Context) *ProjectsLocationsMetadataStoresExecutionsGetCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsMetadataStoresExecutionsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1Execution, error)
Do executes the "aiplatform.projects.locations.metadataStores.executions.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1Execution.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsMetadataStoresExecutionsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsMetadataStoresExecutionsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsMetadataStoresExecutionsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsMetadataStoresExecutionsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsMetadataStoresExecutionsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsLocationsMetadataStoresExecutionsListCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsMetadataStoresExecutionsListCall) Context(ctx context.Context) *ProjectsLocationsMetadataStoresExecutionsListCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsMetadataStoresExecutionsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1ListExecutionsResponse, error)
Do executes the "aiplatform.projects.locations.metadataStores.executions.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1ListExecutionsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsMetadataStoresExecutionsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsMetadataStoresExecutionsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsMetadataStoresExecutionsListCall) Filter(filter string) *ProjectsLocationsMetadataStoresExecutionsListCall
Filter sets the optional parameter "filter": Filter specifying the boolean condition for the Executions to satisfy in order to be part of the result set. The syntax to define filter query is based on https://google.aip.dev/160. Following are the supported set of filters: * **Attribute filtering**: For example: `display_name = "test". Supported fields include: `name`, `display_name`, `state`, `schema_title`, `create_time`, and `update_time`. Time fields, such as `create_time` and `update_time`, require values specified in RFC-3339 format. For example: `create_time = "2020-11-19T11:30:00-04:00". * **Metadata field**: To filter on metadata fields use traversal operation as follows: `metadata..` For example: `metadata.field_1.number_value = 10.0` In case the field name contains special characters (such as colon), one can embed it inside double quote. For example: `metadata."field:1".number_value = 10.0` * **Context based filtering**: To filter Executions based on the contexts to which they belong use the function operator with the full resource name: `in_context()`. For example: `in_context("projects//locations//metadataStores//contexts/")` Each of the above supported filters can be combined together using logical operators (`AND` & `OR`). Maximum nested expression depth allowed is 5. For example: `display_name = "test" AND metadata.field1.bool_value = true`.
func (c *ProjectsLocationsMetadataStoresExecutionsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsMetadataStoresExecutionsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsMetadataStoresExecutionsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (c *ProjectsLocationsMetadataStoresExecutionsListCall) OrderBy(orderBy string) *ProjectsLocationsMetadataStoresExecutionsListCall
OrderBy sets the optional parameter "orderBy": How the list of messages is ordered. Specify the values to order by and an ordering operation. The default sorting order is ascending. To specify descending order for a field, users append a " desc" suffix; for example: "foo desc, bar". Subfields are specified with a `.` character, such as foo.bar. see https://google.aip.dev/132#ordering for more details.
func (c *ProjectsLocationsMetadataStoresExecutionsListCall) PageSize(pageSize int64) *ProjectsLocationsMetadataStoresExecutionsListCall
PageSize sets the optional parameter "pageSize": The maximum number of Executions to return. The service may return fewer. Must be in range 1-1000, inclusive. Defaults to 100.
func (c *ProjectsLocationsMetadataStoresExecutionsListCall) PageToken(pageToken string) *ProjectsLocationsMetadataStoresExecutionsListCall
PageToken sets the optional parameter "pageToken": A page token, received from a previous MetadataService.ListExecutions call. Provide this to retrieve the subsequent page. When paginating, all other provided parameters must match the call that provided the page token. (Otherwise the request will fail with an INVALID_ARGUMENT error.)
func (c *ProjectsLocationsMetadataStoresExecutionsListCall) Pages(ctx context.Context, f func(*GoogleCloudAiplatformV1ListExecutionsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ProjectsLocationsMetadataStoresExecutionsOperationsCancelCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsMetadataStoresExecutionsOperationsCancelCall) Context(ctx context.Context) *ProjectsLocationsMetadataStoresExecutionsOperationsCancelCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsMetadataStoresExecutionsOperationsCancelCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "aiplatform.projects.locations.metadataStores.executions.operations.cancel" call. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsMetadataStoresExecutionsOperationsCancelCall) Fields(s ...googleapi.Field) *ProjectsLocationsMetadataStoresExecutionsOperationsCancelCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsMetadataStoresExecutionsOperationsCancelCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsMetadataStoresExecutionsOperationsDeleteCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsMetadataStoresExecutionsOperationsDeleteCall) Context(ctx context.Context) *ProjectsLocationsMetadataStoresExecutionsOperationsDeleteCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsMetadataStoresExecutionsOperationsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "aiplatform.projects.locations.metadataStores.executions.operations.delete" call. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsMetadataStoresExecutionsOperationsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsMetadataStoresExecutionsOperationsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsMetadataStoresExecutionsOperationsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsMetadataStoresExecutionsOperationsGetCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsMetadataStoresExecutionsOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsMetadataStoresExecutionsOperationsGetCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsMetadataStoresExecutionsOperationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.metadataStores.executions.operations.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsMetadataStoresExecutionsOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsMetadataStoresExecutionsOperationsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsMetadataStoresExecutionsOperationsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsMetadataStoresExecutionsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsMetadataStoresExecutionsOperationsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsLocationsMetadataStoresExecutionsOperationsListCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsMetadataStoresExecutionsOperationsListCall) Context(ctx context.Context) *ProjectsLocationsMetadataStoresExecutionsOperationsListCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsMetadataStoresExecutionsOperationsListCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningListOperationsResponse, error)
Do executes the "aiplatform.projects.locations.metadataStores.executions.operations.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningListOperationsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsMetadataStoresExecutionsOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsMetadataStoresExecutionsOperationsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsMetadataStoresExecutionsOperationsListCall) Filter(filter string) *ProjectsLocationsMetadataStoresExecutionsOperationsListCall
Filter sets the optional parameter "filter": The standard list filter.
func (c *ProjectsLocationsMetadataStoresExecutionsOperationsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsMetadataStoresExecutionsOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsMetadataStoresExecutionsOperationsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (c *ProjectsLocationsMetadataStoresExecutionsOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsMetadataStoresExecutionsOperationsListCall
PageSize sets the optional parameter "pageSize": The standard list page size.
func (c *ProjectsLocationsMetadataStoresExecutionsOperationsListCall) PageToken(pageToken string) *ProjectsLocationsMetadataStoresExecutionsOperationsListCall
PageToken sets the optional parameter "pageToken": The standard list page token.
func (c *ProjectsLocationsMetadataStoresExecutionsOperationsListCall) Pages(ctx context.Context, f func(*GoogleLongrunningListOperationsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ProjectsLocationsMetadataStoresExecutionsOperationsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsMetadataStoresExecutionsOperationsService(s *Service) *ProjectsLocationsMetadataStoresExecutionsOperationsService
func (r *ProjectsLocationsMetadataStoresExecutionsOperationsService) Cancel(name string) *ProjectsLocationsMetadataStoresExecutionsOperationsCancelCall
Cancel: Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
- name: The name of the operation resource to be cancelled.
func (r *ProjectsLocationsMetadataStoresExecutionsOperationsService) Delete(name string) *ProjectsLocationsMetadataStoresExecutionsOperationsDeleteCall
Delete: Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
- name: The name of the operation resource to be deleted.
func (r *ProjectsLocationsMetadataStoresExecutionsOperationsService) Get(name string) *ProjectsLocationsMetadataStoresExecutionsOperationsGetCall
Get: Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
- name: The name of the operation resource.
func (r *ProjectsLocationsMetadataStoresExecutionsOperationsService) List(name string) *ProjectsLocationsMetadataStoresExecutionsOperationsListCall
List: Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.
- name: The name of the operation's parent resource.
func (r *ProjectsLocationsMetadataStoresExecutionsOperationsService) Wait(name string) *ProjectsLocationsMetadataStoresExecutionsOperationsWaitCall
Wait: Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.
- name: The name of the operation resource to wait on.
type ProjectsLocationsMetadataStoresExecutionsOperationsWaitCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsMetadataStoresExecutionsOperationsWaitCall) Context(ctx context.Context) *ProjectsLocationsMetadataStoresExecutionsOperationsWaitCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsMetadataStoresExecutionsOperationsWaitCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.metadataStores.executions.operations.wait" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsMetadataStoresExecutionsOperationsWaitCall) Fields(s ...googleapi.Field) *ProjectsLocationsMetadataStoresExecutionsOperationsWaitCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsMetadataStoresExecutionsOperationsWaitCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsMetadataStoresExecutionsOperationsWaitCall) Timeout(timeout string) *ProjectsLocationsMetadataStoresExecutionsOperationsWaitCall
Timeout sets the optional parameter "timeout": The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.
type ProjectsLocationsMetadataStoresExecutionsPatchCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsMetadataStoresExecutionsPatchCall) AllowMissing(allowMissing bool) *ProjectsLocationsMetadataStoresExecutionsPatchCall
AllowMissing sets the optional parameter "allowMissing": If set to true, and the Execution is not found, a new Execution is created.
func (c *ProjectsLocationsMetadataStoresExecutionsPatchCall) Context(ctx context.Context) *ProjectsLocationsMetadataStoresExecutionsPatchCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsMetadataStoresExecutionsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1Execution, error)
Do executes the "aiplatform.projects.locations.metadataStores.executions.patch" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1Execution.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsMetadataStoresExecutionsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsMetadataStoresExecutionsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsMetadataStoresExecutionsPatchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsMetadataStoresExecutionsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsMetadataStoresExecutionsPatchCall
UpdateMask sets the optional parameter "updateMask": A FieldMask indicating which fields should be updated.
type ProjectsLocationsMetadataStoresExecutionsPurgeCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsMetadataStoresExecutionsPurgeCall) Context(ctx context.Context) *ProjectsLocationsMetadataStoresExecutionsPurgeCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsMetadataStoresExecutionsPurgeCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.metadataStores.executions.purge" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsMetadataStoresExecutionsPurgeCall) Fields(s ...googleapi.Field) *ProjectsLocationsMetadataStoresExecutionsPurgeCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsMetadataStoresExecutionsPurgeCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsMetadataStoresExecutionsQueryExecutionInputsAndOutputsCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsMetadataStoresExecutionsQueryExecutionInputsAndOutputsCall) Context(ctx context.Context) *ProjectsLocationsMetadataStoresExecutionsQueryExecutionInputsAndOutputsCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsMetadataStoresExecutionsQueryExecutionInputsAndOutputsCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1LineageSubgraph, error)
Do executes the "aiplatform.projects.locations.metadataStores.executions.queryExecutionInputsAndOutputs" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1LineageSubgraph.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsMetadataStoresExecutionsQueryExecutionInputsAndOutputsCall) Fields(s ...googleapi.Field) *ProjectsLocationsMetadataStoresExecutionsQueryExecutionInputsAndOutputsCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsMetadataStoresExecutionsQueryExecutionInputsAndOutputsCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsMetadataStoresExecutionsQueryExecutionInputsAndOutputsCall) IfNoneMatch(entityTag string) *ProjectsLocationsMetadataStoresExecutionsQueryExecutionInputsAndOutputsCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsLocationsMetadataStoresExecutionsService struct { Operations *ProjectsLocationsMetadataStoresExecutionsOperationsService // contains filtered or unexported fields }
func NewProjectsLocationsMetadataStoresExecutionsService(s *Service) *ProjectsLocationsMetadataStoresExecutionsService
func (r *ProjectsLocationsMetadataStoresExecutionsService) AddExecutionEvents(execution string, googlecloudaiplatformv1addexecutioneventsrequest *GoogleCloudAiplatformV1AddExecutionEventsRequest) *ProjectsLocationsMetadataStoresExecutionsAddExecutionEventsCall
AddExecutionEvents: Adds Events to the specified Execution. An Event indicates whether an Artifact was used as an input or output for an Execution. If an Event already exists between the Execution and the Artifact, the Event is skipped.
func (r *ProjectsLocationsMetadataStoresExecutionsService) Create(parent string, googlecloudaiplatformv1execution *GoogleCloudAiplatformV1Execution) *ProjectsLocationsMetadataStoresExecutionsCreateCall
Create: Creates an Execution associated with a MetadataStore.
func (r *ProjectsLocationsMetadataStoresExecutionsService) Delete(name string) *ProjectsLocationsMetadataStoresExecutionsDeleteCall
Delete: Deletes an Execution.
func (r *ProjectsLocationsMetadataStoresExecutionsService) Get(name string) *ProjectsLocationsMetadataStoresExecutionsGetCall
Get: Retrieves a specific Execution.
func (r *ProjectsLocationsMetadataStoresExecutionsService) List(parent string) *ProjectsLocationsMetadataStoresExecutionsListCall
List: Lists Executions in the MetadataStore.
func (r *ProjectsLocationsMetadataStoresExecutionsService) Patch(name string, googlecloudaiplatformv1execution *GoogleCloudAiplatformV1Execution) *ProjectsLocationsMetadataStoresExecutionsPatchCall
Patch: Updates a stored Execution.
- name: Output only. The resource name of the Execution.
func (r *ProjectsLocationsMetadataStoresExecutionsService) Purge(parent string, googlecloudaiplatformv1purgeexecutionsrequest *GoogleCloudAiplatformV1PurgeExecutionsRequest) *ProjectsLocationsMetadataStoresExecutionsPurgeCall
Purge: Purges Executions.
func (r *ProjectsLocationsMetadataStoresExecutionsService) QueryExecutionInputsAndOutputs(execution string) *ProjectsLocationsMetadataStoresExecutionsQueryExecutionInputsAndOutputsCall
QueryExecutionInputsAndOutputs: Obtains the set of input and output Artifacts for this Execution, in the form of LineageSubgraph that also contains the Execution and connecting Events.
type ProjectsLocationsMetadataStoresGetCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsMetadataStoresGetCall) Context(ctx context.Context) *ProjectsLocationsMetadataStoresGetCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsMetadataStoresGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1MetadataStore, error)
Do executes the "aiplatform.projects.locations.metadataStores.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1MetadataStore.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsMetadataStoresGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsMetadataStoresGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsMetadataStoresGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsMetadataStoresGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsMetadataStoresGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsLocationsMetadataStoresListCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsMetadataStoresListCall) Context(ctx context.Context) *ProjectsLocationsMetadataStoresListCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsMetadataStoresListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1ListMetadataStoresResponse, error)
Do executes the "aiplatform.projects.locations.metadataStores.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1ListMetadataStoresResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsMetadataStoresListCall) Fields(s ...googleapi.Field) *ProjectsLocationsMetadataStoresListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsMetadataStoresListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsMetadataStoresListCall) IfNoneMatch(entityTag string) *ProjectsLocationsMetadataStoresListCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (c *ProjectsLocationsMetadataStoresListCall) PageSize(pageSize int64) *ProjectsLocationsMetadataStoresListCall
PageSize sets the optional parameter "pageSize": The maximum number of Metadata Stores to return. The service may return fewer. Must be in range 1-1000, inclusive. Defaults to 100.
func (c *ProjectsLocationsMetadataStoresListCall) PageToken(pageToken string) *ProjectsLocationsMetadataStoresListCall
PageToken sets the optional parameter "pageToken": A page token, received from a previous MetadataService.ListMetadataStores call. Provide this to retrieve the subsequent page. When paginating, all other provided parameters must match the call that provided the page token. (Otherwise the request will fail with INVALID_ARGUMENT error.)
func (c *ProjectsLocationsMetadataStoresListCall) Pages(ctx context.Context, f func(*GoogleCloudAiplatformV1ListMetadataStoresResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ProjectsLocationsMetadataStoresMetadataSchemasCreateCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsMetadataStoresMetadataSchemasCreateCall) Context(ctx context.Context) *ProjectsLocationsMetadataStoresMetadataSchemasCreateCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsMetadataStoresMetadataSchemasCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1MetadataSchema, error)
Do executes the "aiplatform.projects.locations.metadataStores.metadataSchemas.create" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1MetadataSchema.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsMetadataStoresMetadataSchemasCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsMetadataStoresMetadataSchemasCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsMetadataStoresMetadataSchemasCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsMetadataStoresMetadataSchemasCreateCall) MetadataSchemaId(metadataSchemaId string) *ProjectsLocationsMetadataStoresMetadataSchemasCreateCall
MetadataSchemaId sets the optional parameter "metadataSchemaId": The {metadata_schema} portion of the resource name with the format: `projects/{project}/locations/{location}/metadataStores/{metadatastore}/metad ataSchemas/{metadataschema}` If not provided, the MetadataStore's ID will be a UUID generated by the service. Must be 4-128 characters in length. Valid characters are `/a-z-/`. Must be unique across all MetadataSchemas in the parent Location. (Otherwise the request will fail with ALREADY_EXISTS, or PERMISSION_DENIED if the caller can't view the preexisting MetadataSchema.)
type ProjectsLocationsMetadataStoresMetadataSchemasGetCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsMetadataStoresMetadataSchemasGetCall) Context(ctx context.Context) *ProjectsLocationsMetadataStoresMetadataSchemasGetCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsMetadataStoresMetadataSchemasGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1MetadataSchema, error)
Do executes the "aiplatform.projects.locations.metadataStores.metadataSchemas.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1MetadataSchema.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsMetadataStoresMetadataSchemasGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsMetadataStoresMetadataSchemasGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsMetadataStoresMetadataSchemasGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsMetadataStoresMetadataSchemasGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsMetadataStoresMetadataSchemasGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsLocationsMetadataStoresMetadataSchemasListCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsMetadataStoresMetadataSchemasListCall) Context(ctx context.Context) *ProjectsLocationsMetadataStoresMetadataSchemasListCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsMetadataStoresMetadataSchemasListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1ListMetadataSchemasResponse, error)
Do executes the "aiplatform.projects.locations.metadataStores.metadataSchemas.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1ListMetadataSchemasResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsMetadataStoresMetadataSchemasListCall) Fields(s ...googleapi.Field) *ProjectsLocationsMetadataStoresMetadataSchemasListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsMetadataStoresMetadataSchemasListCall) Filter(filter string) *ProjectsLocationsMetadataStoresMetadataSchemasListCall
Filter sets the optional parameter "filter": A query to filter available MetadataSchemas for matching results.
func (c *ProjectsLocationsMetadataStoresMetadataSchemasListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsMetadataStoresMetadataSchemasListCall) IfNoneMatch(entityTag string) *ProjectsLocationsMetadataStoresMetadataSchemasListCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (c *ProjectsLocationsMetadataStoresMetadataSchemasListCall) PageSize(pageSize int64) *ProjectsLocationsMetadataStoresMetadataSchemasListCall
PageSize sets the optional parameter "pageSize": The maximum number of MetadataSchemas to return. The service may return fewer. Must be in range 1-1000, inclusive. Defaults to 100.
func (c *ProjectsLocationsMetadataStoresMetadataSchemasListCall) PageToken(pageToken string) *ProjectsLocationsMetadataStoresMetadataSchemasListCall
PageToken sets the optional parameter "pageToken": A page token, received from a previous MetadataService.ListMetadataSchemas call. Provide this to retrieve the next page. When paginating, all other provided parameters must match the call that provided the page token. (Otherwise the request will fail with INVALID_ARGUMENT error.)
func (c *ProjectsLocationsMetadataStoresMetadataSchemasListCall) Pages(ctx context.Context, f func(*GoogleCloudAiplatformV1ListMetadataSchemasResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ProjectsLocationsMetadataStoresMetadataSchemasService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsMetadataStoresMetadataSchemasService(s *Service) *ProjectsLocationsMetadataStoresMetadataSchemasService
func (r *ProjectsLocationsMetadataStoresMetadataSchemasService) Create(parent string, googlecloudaiplatformv1metadataschema *GoogleCloudAiplatformV1MetadataSchema) *ProjectsLocationsMetadataStoresMetadataSchemasCreateCall
Create: Creates a MetadataSchema.
func (r *ProjectsLocationsMetadataStoresMetadataSchemasService) Get(name string) *ProjectsLocationsMetadataStoresMetadataSchemasGetCall
Get: Retrieves a specific MetadataSchema.
func (r *ProjectsLocationsMetadataStoresMetadataSchemasService) List(parent string) *ProjectsLocationsMetadataStoresMetadataSchemasListCall
List: Lists MetadataSchemas.
type ProjectsLocationsMetadataStoresOperationsCancelCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsMetadataStoresOperationsCancelCall) Context(ctx context.Context) *ProjectsLocationsMetadataStoresOperationsCancelCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsMetadataStoresOperationsCancelCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "aiplatform.projects.locations.metadataStores.operations.cancel" call. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsMetadataStoresOperationsCancelCall) Fields(s ...googleapi.Field) *ProjectsLocationsMetadataStoresOperationsCancelCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsMetadataStoresOperationsCancelCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsMetadataStoresOperationsDeleteCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsMetadataStoresOperationsDeleteCall) Context(ctx context.Context) *ProjectsLocationsMetadataStoresOperationsDeleteCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsMetadataStoresOperationsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "aiplatform.projects.locations.metadataStores.operations.delete" call. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsMetadataStoresOperationsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsMetadataStoresOperationsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsMetadataStoresOperationsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsMetadataStoresOperationsGetCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsMetadataStoresOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsMetadataStoresOperationsGetCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsMetadataStoresOperationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.metadataStores.operations.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsMetadataStoresOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsMetadataStoresOperationsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsMetadataStoresOperationsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsMetadataStoresOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsMetadataStoresOperationsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsLocationsMetadataStoresOperationsListCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsMetadataStoresOperationsListCall) Context(ctx context.Context) *ProjectsLocationsMetadataStoresOperationsListCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsMetadataStoresOperationsListCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningListOperationsResponse, error)
Do executes the "aiplatform.projects.locations.metadataStores.operations.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningListOperationsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsMetadataStoresOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsMetadataStoresOperationsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsMetadataStoresOperationsListCall) Filter(filter string) *ProjectsLocationsMetadataStoresOperationsListCall
Filter sets the optional parameter "filter": The standard list filter.
func (c *ProjectsLocationsMetadataStoresOperationsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsMetadataStoresOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsMetadataStoresOperationsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (c *ProjectsLocationsMetadataStoresOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsMetadataStoresOperationsListCall
PageSize sets the optional parameter "pageSize": The standard list page size.
func (c *ProjectsLocationsMetadataStoresOperationsListCall) PageToken(pageToken string) *ProjectsLocationsMetadataStoresOperationsListCall
PageToken sets the optional parameter "pageToken": The standard list page token.
func (c *ProjectsLocationsMetadataStoresOperationsListCall) Pages(ctx context.Context, f func(*GoogleLongrunningListOperationsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ProjectsLocationsMetadataStoresOperationsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsMetadataStoresOperationsService(s *Service) *ProjectsLocationsMetadataStoresOperationsService
func (r *ProjectsLocationsMetadataStoresOperationsService) Cancel(name string) *ProjectsLocationsMetadataStoresOperationsCancelCall
Cancel: Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
- name: The name of the operation resource to be cancelled.
func (r *ProjectsLocationsMetadataStoresOperationsService) Delete(name string) *ProjectsLocationsMetadataStoresOperationsDeleteCall
Delete: Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
- name: The name of the operation resource to be deleted.
func (r *ProjectsLocationsMetadataStoresOperationsService) Get(name string) *ProjectsLocationsMetadataStoresOperationsGetCall
Get: Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
- name: The name of the operation resource.
func (r *ProjectsLocationsMetadataStoresOperationsService) List(name string) *ProjectsLocationsMetadataStoresOperationsListCall
List: Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.
- name: The name of the operation's parent resource.
func (r *ProjectsLocationsMetadataStoresOperationsService) Wait(name string) *ProjectsLocationsMetadataStoresOperationsWaitCall
Wait: Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.
- name: The name of the operation resource to wait on.
type ProjectsLocationsMetadataStoresOperationsWaitCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsMetadataStoresOperationsWaitCall) Context(ctx context.Context) *ProjectsLocationsMetadataStoresOperationsWaitCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsMetadataStoresOperationsWaitCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.metadataStores.operations.wait" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsMetadataStoresOperationsWaitCall) Fields(s ...googleapi.Field) *ProjectsLocationsMetadataStoresOperationsWaitCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsMetadataStoresOperationsWaitCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsMetadataStoresOperationsWaitCall) Timeout(timeout string) *ProjectsLocationsMetadataStoresOperationsWaitCall
Timeout sets the optional parameter "timeout": The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.
type ProjectsLocationsMetadataStoresService struct { Artifacts *ProjectsLocationsMetadataStoresArtifactsService Contexts *ProjectsLocationsMetadataStoresContextsService Executions *ProjectsLocationsMetadataStoresExecutionsService MetadataSchemas *ProjectsLocationsMetadataStoresMetadataSchemasService Operations *ProjectsLocationsMetadataStoresOperationsService // contains filtered or unexported fields }
func NewProjectsLocationsMetadataStoresService(s *Service) *ProjectsLocationsMetadataStoresService
func (r *ProjectsLocationsMetadataStoresService) Create(parent string, googlecloudaiplatformv1metadatastore *GoogleCloudAiplatformV1MetadataStore) *ProjectsLocationsMetadataStoresCreateCall
Create: Initializes a MetadataStore, including allocation of resources.
func (r *ProjectsLocationsMetadataStoresService) Delete(name string) *ProjectsLocationsMetadataStoresDeleteCall
Delete: Deletes a single MetadataStore and all its child resources (Artifacts, Executions, and Contexts).
func (r *ProjectsLocationsMetadataStoresService) Get(name string) *ProjectsLocationsMetadataStoresGetCall
Get: Retrieves a specific MetadataStore.
func (r *ProjectsLocationsMetadataStoresService) List(parent string) *ProjectsLocationsMetadataStoresListCall
List: Lists MetadataStores for a Location.
type ProjectsLocationsMigratableResourcesBatchMigrateCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsMigratableResourcesBatchMigrateCall) Context(ctx context.Context) *ProjectsLocationsMigratableResourcesBatchMigrateCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsMigratableResourcesBatchMigrateCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.migratableResources.batchMigrate" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsMigratableResourcesBatchMigrateCall) Fields(s ...googleapi.Field) *ProjectsLocationsMigratableResourcesBatchMigrateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsMigratableResourcesBatchMigrateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsMigratableResourcesOperationsCancelCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsMigratableResourcesOperationsCancelCall) Context(ctx context.Context) *ProjectsLocationsMigratableResourcesOperationsCancelCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsMigratableResourcesOperationsCancelCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "aiplatform.projects.locations.migratableResources.operations.cancel" call. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsMigratableResourcesOperationsCancelCall) Fields(s ...googleapi.Field) *ProjectsLocationsMigratableResourcesOperationsCancelCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsMigratableResourcesOperationsCancelCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsMigratableResourcesOperationsDeleteCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsMigratableResourcesOperationsDeleteCall) Context(ctx context.Context) *ProjectsLocationsMigratableResourcesOperationsDeleteCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsMigratableResourcesOperationsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "aiplatform.projects.locations.migratableResources.operations.delete" call. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsMigratableResourcesOperationsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsMigratableResourcesOperationsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsMigratableResourcesOperationsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsMigratableResourcesOperationsGetCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsMigratableResourcesOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsMigratableResourcesOperationsGetCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsMigratableResourcesOperationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.migratableResources.operations.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsMigratableResourcesOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsMigratableResourcesOperationsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsMigratableResourcesOperationsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsMigratableResourcesOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsMigratableResourcesOperationsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsLocationsMigratableResourcesOperationsListCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsMigratableResourcesOperationsListCall) Context(ctx context.Context) *ProjectsLocationsMigratableResourcesOperationsListCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsMigratableResourcesOperationsListCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningListOperationsResponse, error)
Do executes the "aiplatform.projects.locations.migratableResources.operations.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningListOperationsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsMigratableResourcesOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsMigratableResourcesOperationsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsMigratableResourcesOperationsListCall) Filter(filter string) *ProjectsLocationsMigratableResourcesOperationsListCall
Filter sets the optional parameter "filter": The standard list filter.
func (c *ProjectsLocationsMigratableResourcesOperationsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsMigratableResourcesOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsMigratableResourcesOperationsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (c *ProjectsLocationsMigratableResourcesOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsMigratableResourcesOperationsListCall
PageSize sets the optional parameter "pageSize": The standard list page size.
func (c *ProjectsLocationsMigratableResourcesOperationsListCall) PageToken(pageToken string) *ProjectsLocationsMigratableResourcesOperationsListCall
PageToken sets the optional parameter "pageToken": The standard list page token.
func (c *ProjectsLocationsMigratableResourcesOperationsListCall) Pages(ctx context.Context, f func(*GoogleLongrunningListOperationsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ProjectsLocationsMigratableResourcesOperationsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsMigratableResourcesOperationsService(s *Service) *ProjectsLocationsMigratableResourcesOperationsService
func (r *ProjectsLocationsMigratableResourcesOperationsService) Cancel(name string) *ProjectsLocationsMigratableResourcesOperationsCancelCall
Cancel: Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
- name: The name of the operation resource to be cancelled.
func (r *ProjectsLocationsMigratableResourcesOperationsService) Delete(name string) *ProjectsLocationsMigratableResourcesOperationsDeleteCall
Delete: Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
- name: The name of the operation resource to be deleted.
func (r *ProjectsLocationsMigratableResourcesOperationsService) Get(name string) *ProjectsLocationsMigratableResourcesOperationsGetCall
Get: Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
- name: The name of the operation resource.
func (r *ProjectsLocationsMigratableResourcesOperationsService) List(name string) *ProjectsLocationsMigratableResourcesOperationsListCall
List: Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.
- name: The name of the operation's parent resource.
func (r *ProjectsLocationsMigratableResourcesOperationsService) Wait(name string) *ProjectsLocationsMigratableResourcesOperationsWaitCall
Wait: Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.
- name: The name of the operation resource to wait on.
type ProjectsLocationsMigratableResourcesOperationsWaitCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsMigratableResourcesOperationsWaitCall) Context(ctx context.Context) *ProjectsLocationsMigratableResourcesOperationsWaitCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsMigratableResourcesOperationsWaitCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.migratableResources.operations.wait" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsMigratableResourcesOperationsWaitCall) Fields(s ...googleapi.Field) *ProjectsLocationsMigratableResourcesOperationsWaitCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsMigratableResourcesOperationsWaitCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsMigratableResourcesOperationsWaitCall) Timeout(timeout string) *ProjectsLocationsMigratableResourcesOperationsWaitCall
Timeout sets the optional parameter "timeout": The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.
type ProjectsLocationsMigratableResourcesSearchCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsMigratableResourcesSearchCall) Context(ctx context.Context) *ProjectsLocationsMigratableResourcesSearchCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsMigratableResourcesSearchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1SearchMigratableResourcesResponse, error)
Do executes the "aiplatform.projects.locations.migratableResources.search" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1SearchMigratableResourcesResponse.ServerResponse.Head er or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsMigratableResourcesSearchCall) Fields(s ...googleapi.Field) *ProjectsLocationsMigratableResourcesSearchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsMigratableResourcesSearchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsMigratableResourcesSearchCall) Pages(ctx context.Context, f func(*GoogleCloudAiplatformV1SearchMigratableResourcesResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ProjectsLocationsMigratableResourcesService struct { Operations *ProjectsLocationsMigratableResourcesOperationsService // contains filtered or unexported fields }
func NewProjectsLocationsMigratableResourcesService(s *Service) *ProjectsLocationsMigratableResourcesService
func (r *ProjectsLocationsMigratableResourcesService) BatchMigrate(parent string, googlecloudaiplatformv1batchmigrateresourcesrequest *GoogleCloudAiplatformV1BatchMigrateResourcesRequest) *ProjectsLocationsMigratableResourcesBatchMigrateCall
BatchMigrate: Batch migrates resources from ml.googleapis.com, automl.googleapis.com, and datalabeling.googleapis.com to Vertex AI.
func (r *ProjectsLocationsMigratableResourcesService) Search(parent string, googlecloudaiplatformv1searchmigratableresourcesrequest *GoogleCloudAiplatformV1SearchMigratableResourcesRequest) *ProjectsLocationsMigratableResourcesSearchCall
Search: Searches all of the resources in automl.googleapis.com, datalabeling.googleapis.com and ml.googleapis.com that can be migrated to Vertex AI's given location.
type ProjectsLocationsModelDeploymentMonitoringJobsCreateCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsModelDeploymentMonitoringJobsCreateCall) Context(ctx context.Context) *ProjectsLocationsModelDeploymentMonitoringJobsCreateCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsModelDeploymentMonitoringJobsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1ModelDeploymentMonitoringJob, error)
Do executes the "aiplatform.projects.locations.modelDeploymentMonitoringJobs.create" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1ModelDeploymentMonitoringJob.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsModelDeploymentMonitoringJobsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsModelDeploymentMonitoringJobsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsModelDeploymentMonitoringJobsCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsModelDeploymentMonitoringJobsDeleteCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsModelDeploymentMonitoringJobsDeleteCall) Context(ctx context.Context) *ProjectsLocationsModelDeploymentMonitoringJobsDeleteCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsModelDeploymentMonitoringJobsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.modelDeploymentMonitoringJobs.delete" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsModelDeploymentMonitoringJobsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsModelDeploymentMonitoringJobsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsModelDeploymentMonitoringJobsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsModelDeploymentMonitoringJobsGetCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsModelDeploymentMonitoringJobsGetCall) Context(ctx context.Context) *ProjectsLocationsModelDeploymentMonitoringJobsGetCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsModelDeploymentMonitoringJobsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1ModelDeploymentMonitoringJob, error)
Do executes the "aiplatform.projects.locations.modelDeploymentMonitoringJobs.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1ModelDeploymentMonitoringJob.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsModelDeploymentMonitoringJobsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsModelDeploymentMonitoringJobsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsModelDeploymentMonitoringJobsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsModelDeploymentMonitoringJobsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsModelDeploymentMonitoringJobsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsLocationsModelDeploymentMonitoringJobsListCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsModelDeploymentMonitoringJobsListCall) Context(ctx context.Context) *ProjectsLocationsModelDeploymentMonitoringJobsListCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsModelDeploymentMonitoringJobsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1ListModelDeploymentMonitoringJobsResponse, error)
Do executes the "aiplatform.projects.locations.modelDeploymentMonitoringJobs.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1ListModelDeploymentMonitoringJobsResponse.ServerRespo nse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsModelDeploymentMonitoringJobsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsModelDeploymentMonitoringJobsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsModelDeploymentMonitoringJobsListCall) Filter(filter string) *ProjectsLocationsModelDeploymentMonitoringJobsListCall
Filter sets the optional parameter "filter": The standard list filter. Supported fields: * `display_name` supports `=`, `!=` comparisons, and `:` wildcard. * `state` supports `=`, `!=` comparisons. * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. `create_time` must be in RFC 3339 format. * `labels` supports general map functions that is: `labels.key=value` - key:value equality `labels.key:* - key existence Some examples of using the filter are: * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*" * `state!="JOB_STATE_FAILED" OR display_name="my_job" * `NOT display_name="my_job" * `create_time>"2021-05-18T00:00:00Z" * `labels.keyA=valueA` * `labels.keyB:*`
func (c *ProjectsLocationsModelDeploymentMonitoringJobsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsModelDeploymentMonitoringJobsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsModelDeploymentMonitoringJobsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (c *ProjectsLocationsModelDeploymentMonitoringJobsListCall) PageSize(pageSize int64) *ProjectsLocationsModelDeploymentMonitoringJobsListCall
PageSize sets the optional parameter "pageSize": The standard list page size.
func (c *ProjectsLocationsModelDeploymentMonitoringJobsListCall) PageToken(pageToken string) *ProjectsLocationsModelDeploymentMonitoringJobsListCall
PageToken sets the optional parameter "pageToken": The standard list page token.
func (c *ProjectsLocationsModelDeploymentMonitoringJobsListCall) Pages(ctx context.Context, f func(*GoogleCloudAiplatformV1ListModelDeploymentMonitoringJobsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
func (c *ProjectsLocationsModelDeploymentMonitoringJobsListCall) ReadMask(readMask string) *ProjectsLocationsModelDeploymentMonitoringJobsListCall
ReadMask sets the optional parameter "readMask": Mask specifying which fields to read
type ProjectsLocationsModelDeploymentMonitoringJobsOperationsCancelCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsModelDeploymentMonitoringJobsOperationsCancelCall) Context(ctx context.Context) *ProjectsLocationsModelDeploymentMonitoringJobsOperationsCancelCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsModelDeploymentMonitoringJobsOperationsCancelCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "aiplatform.projects.locations.modelDeploymentMonitoringJobs.operations.cancel" call. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsModelDeploymentMonitoringJobsOperationsCancelCall) Fields(s ...googleapi.Field) *ProjectsLocationsModelDeploymentMonitoringJobsOperationsCancelCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsModelDeploymentMonitoringJobsOperationsCancelCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsModelDeploymentMonitoringJobsOperationsDeleteCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsModelDeploymentMonitoringJobsOperationsDeleteCall) Context(ctx context.Context) *ProjectsLocationsModelDeploymentMonitoringJobsOperationsDeleteCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsModelDeploymentMonitoringJobsOperationsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "aiplatform.projects.locations.modelDeploymentMonitoringJobs.operations.delete" call. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsModelDeploymentMonitoringJobsOperationsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsModelDeploymentMonitoringJobsOperationsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsModelDeploymentMonitoringJobsOperationsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsModelDeploymentMonitoringJobsOperationsGetCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsModelDeploymentMonitoringJobsOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsModelDeploymentMonitoringJobsOperationsGetCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsModelDeploymentMonitoringJobsOperationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.modelDeploymentMonitoringJobs.operations.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsModelDeploymentMonitoringJobsOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsModelDeploymentMonitoringJobsOperationsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsModelDeploymentMonitoringJobsOperationsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsModelDeploymentMonitoringJobsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsModelDeploymentMonitoringJobsOperationsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsLocationsModelDeploymentMonitoringJobsOperationsListCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsModelDeploymentMonitoringJobsOperationsListCall) Context(ctx context.Context) *ProjectsLocationsModelDeploymentMonitoringJobsOperationsListCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsModelDeploymentMonitoringJobsOperationsListCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningListOperationsResponse, error)
Do executes the "aiplatform.projects.locations.modelDeploymentMonitoringJobs.operations.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningListOperationsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsModelDeploymentMonitoringJobsOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsModelDeploymentMonitoringJobsOperationsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsModelDeploymentMonitoringJobsOperationsListCall) Filter(filter string) *ProjectsLocationsModelDeploymentMonitoringJobsOperationsListCall
Filter sets the optional parameter "filter": The standard list filter.
func (c *ProjectsLocationsModelDeploymentMonitoringJobsOperationsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsModelDeploymentMonitoringJobsOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsModelDeploymentMonitoringJobsOperationsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (c *ProjectsLocationsModelDeploymentMonitoringJobsOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsModelDeploymentMonitoringJobsOperationsListCall
PageSize sets the optional parameter "pageSize": The standard list page size.
func (c *ProjectsLocationsModelDeploymentMonitoringJobsOperationsListCall) PageToken(pageToken string) *ProjectsLocationsModelDeploymentMonitoringJobsOperationsListCall
PageToken sets the optional parameter "pageToken": The standard list page token.
func (c *ProjectsLocationsModelDeploymentMonitoringJobsOperationsListCall) Pages(ctx context.Context, f func(*GoogleLongrunningListOperationsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ProjectsLocationsModelDeploymentMonitoringJobsOperationsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsModelDeploymentMonitoringJobsOperationsService(s *Service) *ProjectsLocationsModelDeploymentMonitoringJobsOperationsService
func (r *ProjectsLocationsModelDeploymentMonitoringJobsOperationsService) Cancel(name string) *ProjectsLocationsModelDeploymentMonitoringJobsOperationsCancelCall
Cancel: Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
- name: The name of the operation resource to be cancelled.
func (r *ProjectsLocationsModelDeploymentMonitoringJobsOperationsService) Delete(name string) *ProjectsLocationsModelDeploymentMonitoringJobsOperationsDeleteCall
Delete: Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
- name: The name of the operation resource to be deleted.
func (r *ProjectsLocationsModelDeploymentMonitoringJobsOperationsService) Get(name string) *ProjectsLocationsModelDeploymentMonitoringJobsOperationsGetCall
Get: Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
- name: The name of the operation resource.
func (r *ProjectsLocationsModelDeploymentMonitoringJobsOperationsService) List(name string) *ProjectsLocationsModelDeploymentMonitoringJobsOperationsListCall
List: Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.
- name: The name of the operation's parent resource.
func (r *ProjectsLocationsModelDeploymentMonitoringJobsOperationsService) Wait(name string) *ProjectsLocationsModelDeploymentMonitoringJobsOperationsWaitCall
Wait: Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.
- name: The name of the operation resource to wait on.
type ProjectsLocationsModelDeploymentMonitoringJobsOperationsWaitCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsModelDeploymentMonitoringJobsOperationsWaitCall) Context(ctx context.Context) *ProjectsLocationsModelDeploymentMonitoringJobsOperationsWaitCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsModelDeploymentMonitoringJobsOperationsWaitCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.modelDeploymentMonitoringJobs.operations.wait" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsModelDeploymentMonitoringJobsOperationsWaitCall) Fields(s ...googleapi.Field) *ProjectsLocationsModelDeploymentMonitoringJobsOperationsWaitCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsModelDeploymentMonitoringJobsOperationsWaitCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsModelDeploymentMonitoringJobsOperationsWaitCall) Timeout(timeout string) *ProjectsLocationsModelDeploymentMonitoringJobsOperationsWaitCall
Timeout sets the optional parameter "timeout": The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.
type ProjectsLocationsModelDeploymentMonitoringJobsPatchCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsModelDeploymentMonitoringJobsPatchCall) Context(ctx context.Context) *ProjectsLocationsModelDeploymentMonitoringJobsPatchCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsModelDeploymentMonitoringJobsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.modelDeploymentMonitoringJobs.patch" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsModelDeploymentMonitoringJobsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsModelDeploymentMonitoringJobsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsModelDeploymentMonitoringJobsPatchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsModelDeploymentMonitoringJobsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsModelDeploymentMonitoringJobsPatchCall
UpdateMask sets the optional parameter "updateMask": Required. The update mask is used to specify the fields to be overwritten in the ModelDeploymentMonitoringJob resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to `*` to override all fields. For the objective config, the user can either provide the update mask for model_deployment_monitoring_objective_configs or any combination of its nested fields, such as: model_deployment_monitoring_objective_configs.objective_config.training_datas et. Updatable fields: * `display_name` * `model_deployment_monitoring_schedule_config` * `model_monitoring_alert_config` * `logging_sampling_strategy` * `labels` * `log_ttl` * `enable_monitoring_pipeline_logs` . and * `model_deployment_monitoring_objective_configs` . or * `model_deployment_monitoring_objective_configs.objective_config.training_data set` * `model_deployment_monitoring_objective_configs.objective_config.training_pred iction_skew_detection_config` * `model_deployment_monitoring_objective_configs.objective_config.prediction_dr ift_detection_config`
type ProjectsLocationsModelDeploymentMonitoringJobsPauseCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsModelDeploymentMonitoringJobsPauseCall) Context(ctx context.Context) *ProjectsLocationsModelDeploymentMonitoringJobsPauseCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsModelDeploymentMonitoringJobsPauseCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "aiplatform.projects.locations.modelDeploymentMonitoringJobs.pause" call. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsModelDeploymentMonitoringJobsPauseCall) Fields(s ...googleapi.Field) *ProjectsLocationsModelDeploymentMonitoringJobsPauseCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsModelDeploymentMonitoringJobsPauseCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsModelDeploymentMonitoringJobsResumeCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsModelDeploymentMonitoringJobsResumeCall) Context(ctx context.Context) *ProjectsLocationsModelDeploymentMonitoringJobsResumeCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsModelDeploymentMonitoringJobsResumeCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "aiplatform.projects.locations.modelDeploymentMonitoringJobs.resume" call. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsModelDeploymentMonitoringJobsResumeCall) Fields(s ...googleapi.Field) *ProjectsLocationsModelDeploymentMonitoringJobsResumeCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsModelDeploymentMonitoringJobsResumeCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsModelDeploymentMonitoringJobsSearchModelDeploymentMonitoringStatsAnomaliesCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsModelDeploymentMonitoringJobsSearchModelDeploymentMonitoringStatsAnomaliesCall) Context(ctx context.Context) *ProjectsLocationsModelDeploymentMonitoringJobsSearchModelDeploymentMonitoringStatsAnomaliesCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsModelDeploymentMonitoringJobsSearchModelDeploymentMonitoringStatsAnomaliesCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1SearchModelDeploymentMonitoringStatsAnomaliesResponse, error)
Do executes the "aiplatform.projects.locations.modelDeploymentMonitoringJobs.searchModelDeploymentMonitoringStatsAnomalies" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1SearchModelDeploymentMonitoringStatsAnomaliesResponse .ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsModelDeploymentMonitoringJobsSearchModelDeploymentMonitoringStatsAnomaliesCall) Fields(s ...googleapi.Field) *ProjectsLocationsModelDeploymentMonitoringJobsSearchModelDeploymentMonitoringStatsAnomaliesCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsModelDeploymentMonitoringJobsSearchModelDeploymentMonitoringStatsAnomaliesCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsModelDeploymentMonitoringJobsSearchModelDeploymentMonitoringStatsAnomaliesCall) Pages(ctx context.Context, f func(*GoogleCloudAiplatformV1SearchModelDeploymentMonitoringStatsAnomaliesResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ProjectsLocationsModelDeploymentMonitoringJobsService struct { Operations *ProjectsLocationsModelDeploymentMonitoringJobsOperationsService // contains filtered or unexported fields }
func NewProjectsLocationsModelDeploymentMonitoringJobsService(s *Service) *ProjectsLocationsModelDeploymentMonitoringJobsService
func (r *ProjectsLocationsModelDeploymentMonitoringJobsService) Create(parent string, googlecloudaiplatformv1modeldeploymentmonitoringjob *GoogleCloudAiplatformV1ModelDeploymentMonitoringJob) *ProjectsLocationsModelDeploymentMonitoringJobsCreateCall
Create: Creates a ModelDeploymentMonitoringJob. It will run periodically on a configured interval.
func (r *ProjectsLocationsModelDeploymentMonitoringJobsService) Delete(name string) *ProjectsLocationsModelDeploymentMonitoringJobsDeleteCall
Delete: Deletes a ModelDeploymentMonitoringJob.
func (r *ProjectsLocationsModelDeploymentMonitoringJobsService) Get(name string) *ProjectsLocationsModelDeploymentMonitoringJobsGetCall
Get: Gets a ModelDeploymentMonitoringJob.
func (r *ProjectsLocationsModelDeploymentMonitoringJobsService) List(parent string) *ProjectsLocationsModelDeploymentMonitoringJobsListCall
List: Lists ModelDeploymentMonitoringJobs in a Location.
func (r *ProjectsLocationsModelDeploymentMonitoringJobsService) Patch(name string, googlecloudaiplatformv1modeldeploymentmonitoringjob *GoogleCloudAiplatformV1ModelDeploymentMonitoringJob) *ProjectsLocationsModelDeploymentMonitoringJobsPatchCall
Patch: Updates a ModelDeploymentMonitoringJob.
- name: Output only. Resource name of a ModelDeploymentMonitoringJob.
func (r *ProjectsLocationsModelDeploymentMonitoringJobsService) Pause(name string, googlecloudaiplatformv1pausemodeldeploymentmonitoringjobrequest *GoogleCloudAiplatformV1PauseModelDeploymentMonitoringJobRequest) *ProjectsLocationsModelDeploymentMonitoringJobsPauseCall
Pause: Pauses a ModelDeploymentMonitoringJob. If the job is running, the server makes a best effort to cancel the job. Will mark ModelDeploymentMonitoringJob.state to 'PAUSED'.
func (r *ProjectsLocationsModelDeploymentMonitoringJobsService) Resume(name string, googlecloudaiplatformv1resumemodeldeploymentmonitoringjobrequest *GoogleCloudAiplatformV1ResumeModelDeploymentMonitoringJobRequest) *ProjectsLocationsModelDeploymentMonitoringJobsResumeCall
Resume: Resumes a paused ModelDeploymentMonitoringJob. It will start to run from next scheduled time. A deleted ModelDeploymentMonitoringJob can't be resumed.
func (r *ProjectsLocationsModelDeploymentMonitoringJobsService) SearchModelDeploymentMonitoringStatsAnomalies(modelDeploymentMonitoringJob string, googlecloudaiplatformv1searchmodeldeploymentmonitoringstatsanomaliesrequest *GoogleCloudAiplatformV1SearchModelDeploymentMonitoringStatsAnomaliesRequest) *ProjectsLocationsModelDeploymentMonitoringJobsSearchModelDeploymentMonitoringStatsAnomaliesCall
SearchModelDeploymentMonitoringStatsAnomalies: Searches Model Monitoring Statistics generated within a given time window.
type ProjectsLocationsModelsCopyCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsModelsCopyCall) Context(ctx context.Context) *ProjectsLocationsModelsCopyCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsModelsCopyCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.models.copy" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsModelsCopyCall) Fields(s ...googleapi.Field) *ProjectsLocationsModelsCopyCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsModelsCopyCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsModelsDeleteCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsModelsDeleteCall) Context(ctx context.Context) *ProjectsLocationsModelsDeleteCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsModelsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.models.delete" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsModelsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsModelsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsModelsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsModelsDeleteVersionCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsModelsDeleteVersionCall) Context(ctx context.Context) *ProjectsLocationsModelsDeleteVersionCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsModelsDeleteVersionCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.models.deleteVersion" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsModelsDeleteVersionCall) Fields(s ...googleapi.Field) *ProjectsLocationsModelsDeleteVersionCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsModelsDeleteVersionCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsModelsEvaluationsGetCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsModelsEvaluationsGetCall) Context(ctx context.Context) *ProjectsLocationsModelsEvaluationsGetCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsModelsEvaluationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1ModelEvaluation, error)
Do executes the "aiplatform.projects.locations.models.evaluations.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1ModelEvaluation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsModelsEvaluationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsModelsEvaluationsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsModelsEvaluationsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsModelsEvaluationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsModelsEvaluationsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsLocationsModelsEvaluationsImportCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsModelsEvaluationsImportCall) Context(ctx context.Context) *ProjectsLocationsModelsEvaluationsImportCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsModelsEvaluationsImportCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1ModelEvaluation, error)
Do executes the "aiplatform.projects.locations.models.evaluations.import" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1ModelEvaluation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsModelsEvaluationsImportCall) Fields(s ...googleapi.Field) *ProjectsLocationsModelsEvaluationsImportCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsModelsEvaluationsImportCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsModelsEvaluationsListCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsModelsEvaluationsListCall) Context(ctx context.Context) *ProjectsLocationsModelsEvaluationsListCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsModelsEvaluationsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1ListModelEvaluationsResponse, error)
Do executes the "aiplatform.projects.locations.models.evaluations.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1ListModelEvaluationsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsModelsEvaluationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsModelsEvaluationsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsModelsEvaluationsListCall) Filter(filter string) *ProjectsLocationsModelsEvaluationsListCall
Filter sets the optional parameter "filter": The standard list filter.
func (c *ProjectsLocationsModelsEvaluationsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsModelsEvaluationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsModelsEvaluationsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (c *ProjectsLocationsModelsEvaluationsListCall) PageSize(pageSize int64) *ProjectsLocationsModelsEvaluationsListCall
PageSize sets the optional parameter "pageSize": The standard list page size.
func (c *ProjectsLocationsModelsEvaluationsListCall) PageToken(pageToken string) *ProjectsLocationsModelsEvaluationsListCall
PageToken sets the optional parameter "pageToken": The standard list page token. Typically obtained via ListModelEvaluationsResponse.next_page_token of the previous ModelService.ListModelEvaluations call.
func (c *ProjectsLocationsModelsEvaluationsListCall) Pages(ctx context.Context, f func(*GoogleCloudAiplatformV1ListModelEvaluationsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
func (c *ProjectsLocationsModelsEvaluationsListCall) ReadMask(readMask string) *ProjectsLocationsModelsEvaluationsListCall
ReadMask sets the optional parameter "readMask": Mask specifying which fields to read.
type ProjectsLocationsModelsEvaluationsOperationsCancelCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsModelsEvaluationsOperationsCancelCall) Context(ctx context.Context) *ProjectsLocationsModelsEvaluationsOperationsCancelCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsModelsEvaluationsOperationsCancelCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "aiplatform.projects.locations.models.evaluations.operations.cancel" call. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsModelsEvaluationsOperationsCancelCall) Fields(s ...googleapi.Field) *ProjectsLocationsModelsEvaluationsOperationsCancelCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsModelsEvaluationsOperationsCancelCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsModelsEvaluationsOperationsDeleteCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsModelsEvaluationsOperationsDeleteCall) Context(ctx context.Context) *ProjectsLocationsModelsEvaluationsOperationsDeleteCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsModelsEvaluationsOperationsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "aiplatform.projects.locations.models.evaluations.operations.delete" call. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsModelsEvaluationsOperationsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsModelsEvaluationsOperationsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsModelsEvaluationsOperationsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsModelsEvaluationsOperationsGetCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsModelsEvaluationsOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsModelsEvaluationsOperationsGetCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsModelsEvaluationsOperationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.models.evaluations.operations.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsModelsEvaluationsOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsModelsEvaluationsOperationsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsModelsEvaluationsOperationsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsModelsEvaluationsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsModelsEvaluationsOperationsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsLocationsModelsEvaluationsOperationsListCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsModelsEvaluationsOperationsListCall) Context(ctx context.Context) *ProjectsLocationsModelsEvaluationsOperationsListCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsModelsEvaluationsOperationsListCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningListOperationsResponse, error)
Do executes the "aiplatform.projects.locations.models.evaluations.operations.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningListOperationsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsModelsEvaluationsOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsModelsEvaluationsOperationsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsModelsEvaluationsOperationsListCall) Filter(filter string) *ProjectsLocationsModelsEvaluationsOperationsListCall
Filter sets the optional parameter "filter": The standard list filter.
func (c *ProjectsLocationsModelsEvaluationsOperationsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsModelsEvaluationsOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsModelsEvaluationsOperationsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (c *ProjectsLocationsModelsEvaluationsOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsModelsEvaluationsOperationsListCall
PageSize sets the optional parameter "pageSize": The standard list page size.
func (c *ProjectsLocationsModelsEvaluationsOperationsListCall) PageToken(pageToken string) *ProjectsLocationsModelsEvaluationsOperationsListCall
PageToken sets the optional parameter "pageToken": The standard list page token.
func (c *ProjectsLocationsModelsEvaluationsOperationsListCall) Pages(ctx context.Context, f func(*GoogleLongrunningListOperationsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ProjectsLocationsModelsEvaluationsOperationsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsModelsEvaluationsOperationsService(s *Service) *ProjectsLocationsModelsEvaluationsOperationsService
func (r *ProjectsLocationsModelsEvaluationsOperationsService) Cancel(name string) *ProjectsLocationsModelsEvaluationsOperationsCancelCall
Cancel: Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
- name: The name of the operation resource to be cancelled.
func (r *ProjectsLocationsModelsEvaluationsOperationsService) Delete(name string) *ProjectsLocationsModelsEvaluationsOperationsDeleteCall
Delete: Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
- name: The name of the operation resource to be deleted.
func (r *ProjectsLocationsModelsEvaluationsOperationsService) Get(name string) *ProjectsLocationsModelsEvaluationsOperationsGetCall
Get: Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
- name: The name of the operation resource.
func (r *ProjectsLocationsModelsEvaluationsOperationsService) List(name string) *ProjectsLocationsModelsEvaluationsOperationsListCall
List: Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.
- name: The name of the operation's parent resource.
func (r *ProjectsLocationsModelsEvaluationsOperationsService) Wait(name string) *ProjectsLocationsModelsEvaluationsOperationsWaitCall
Wait: Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.
- name: The name of the operation resource to wait on.
type ProjectsLocationsModelsEvaluationsOperationsWaitCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsModelsEvaluationsOperationsWaitCall) Context(ctx context.Context) *ProjectsLocationsModelsEvaluationsOperationsWaitCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsModelsEvaluationsOperationsWaitCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.models.evaluations.operations.wait" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsModelsEvaluationsOperationsWaitCall) Fields(s ...googleapi.Field) *ProjectsLocationsModelsEvaluationsOperationsWaitCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsModelsEvaluationsOperationsWaitCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsModelsEvaluationsOperationsWaitCall) Timeout(timeout string) *ProjectsLocationsModelsEvaluationsOperationsWaitCall
Timeout sets the optional parameter "timeout": The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.
type ProjectsLocationsModelsEvaluationsService struct { Operations *ProjectsLocationsModelsEvaluationsOperationsService Slices *ProjectsLocationsModelsEvaluationsSlicesService // contains filtered or unexported fields }
func NewProjectsLocationsModelsEvaluationsService(s *Service) *ProjectsLocationsModelsEvaluationsService
func (r *ProjectsLocationsModelsEvaluationsService) Get(name string) *ProjectsLocationsModelsEvaluationsGetCall
Get: Gets a ModelEvaluation.
func (r *ProjectsLocationsModelsEvaluationsService) Import(parent string, googlecloudaiplatformv1importmodelevaluationrequest *GoogleCloudAiplatformV1ImportModelEvaluationRequest) *ProjectsLocationsModelsEvaluationsImportCall
Import: Imports an externally generated ModelEvaluation.
func (r *ProjectsLocationsModelsEvaluationsService) List(parent string) *ProjectsLocationsModelsEvaluationsListCall
List: Lists ModelEvaluations in a Model.
type ProjectsLocationsModelsEvaluationsSlicesBatchImportCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsModelsEvaluationsSlicesBatchImportCall) Context(ctx context.Context) *ProjectsLocationsModelsEvaluationsSlicesBatchImportCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsModelsEvaluationsSlicesBatchImportCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1BatchImportEvaluatedAnnotationsResponse, error)
Do executes the "aiplatform.projects.locations.models.evaluations.slices.batchImport" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1BatchImportEvaluatedAnnotationsResponse.ServerRespons e.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsModelsEvaluationsSlicesBatchImportCall) Fields(s ...googleapi.Field) *ProjectsLocationsModelsEvaluationsSlicesBatchImportCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsModelsEvaluationsSlicesBatchImportCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsModelsEvaluationsSlicesGetCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsModelsEvaluationsSlicesGetCall) Context(ctx context.Context) *ProjectsLocationsModelsEvaluationsSlicesGetCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsModelsEvaluationsSlicesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1ModelEvaluationSlice, error)
Do executes the "aiplatform.projects.locations.models.evaluations.slices.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1ModelEvaluationSlice.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsModelsEvaluationsSlicesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsModelsEvaluationsSlicesGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsModelsEvaluationsSlicesGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsModelsEvaluationsSlicesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsModelsEvaluationsSlicesGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsLocationsModelsEvaluationsSlicesListCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsModelsEvaluationsSlicesListCall) Context(ctx context.Context) *ProjectsLocationsModelsEvaluationsSlicesListCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsModelsEvaluationsSlicesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1ListModelEvaluationSlicesResponse, error)
Do executes the "aiplatform.projects.locations.models.evaluations.slices.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1ListModelEvaluationSlicesResponse.ServerResponse.Head er or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsModelsEvaluationsSlicesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsModelsEvaluationsSlicesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsModelsEvaluationsSlicesListCall) Filter(filter string) *ProjectsLocationsModelsEvaluationsSlicesListCall
Filter sets the optional parameter "filter": The standard list filter. * `slice.dimension` - for =.
func (c *ProjectsLocationsModelsEvaluationsSlicesListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsModelsEvaluationsSlicesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsModelsEvaluationsSlicesListCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (c *ProjectsLocationsModelsEvaluationsSlicesListCall) PageSize(pageSize int64) *ProjectsLocationsModelsEvaluationsSlicesListCall
PageSize sets the optional parameter "pageSize": The standard list page size.
func (c *ProjectsLocationsModelsEvaluationsSlicesListCall) PageToken(pageToken string) *ProjectsLocationsModelsEvaluationsSlicesListCall
PageToken sets the optional parameter "pageToken": The standard list page token. Typically obtained via ListModelEvaluationSlicesResponse.next_page_token of the previous ModelService.ListModelEvaluationSlices call.
func (c *ProjectsLocationsModelsEvaluationsSlicesListCall) Pages(ctx context.Context, f func(*GoogleCloudAiplatformV1ListModelEvaluationSlicesResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
func (c *ProjectsLocationsModelsEvaluationsSlicesListCall) ReadMask(readMask string) *ProjectsLocationsModelsEvaluationsSlicesListCall
ReadMask sets the optional parameter "readMask": Mask specifying which fields to read.
type ProjectsLocationsModelsEvaluationsSlicesService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsModelsEvaluationsSlicesService(s *Service) *ProjectsLocationsModelsEvaluationsSlicesService
func (r *ProjectsLocationsModelsEvaluationsSlicesService) BatchImport(parent string, googlecloudaiplatformv1batchimportevaluatedannotationsrequest *GoogleCloudAiplatformV1BatchImportEvaluatedAnnotationsRequest) *ProjectsLocationsModelsEvaluationsSlicesBatchImportCall
BatchImport: Imports a list of externally generated EvaluatedAnnotations.
func (r *ProjectsLocationsModelsEvaluationsSlicesService) Get(name string) *ProjectsLocationsModelsEvaluationsSlicesGetCall
Get: Gets a ModelEvaluationSlice.
func (r *ProjectsLocationsModelsEvaluationsSlicesService) List(parent string) *ProjectsLocationsModelsEvaluationsSlicesListCall
List: Lists ModelEvaluationSlices in a ModelEvaluation.
type ProjectsLocationsModelsExportCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsModelsExportCall) Context(ctx context.Context) *ProjectsLocationsModelsExportCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsModelsExportCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.models.export" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsModelsExportCall) Fields(s ...googleapi.Field) *ProjectsLocationsModelsExportCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsModelsExportCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsModelsGetCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsModelsGetCall) Context(ctx context.Context) *ProjectsLocationsModelsGetCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsModelsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1Model, error)
Do executes the "aiplatform.projects.locations.models.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1Model.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsModelsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsModelsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsModelsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsModelsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsModelsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsLocationsModelsGetIamPolicyCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsModelsGetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsModelsGetIamPolicyCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsModelsGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*GoogleIamV1Policy, error)
Do executes the "aiplatform.projects.locations.models.getIamPolicy" call. Any non-2xx status code is an error. Response headers are in either *GoogleIamV1Policy.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsModelsGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsModelsGetIamPolicyCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsModelsGetIamPolicyCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsModelsGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersion int64) *ProjectsLocationsModelsGetIamPolicyCall
OptionsRequestedPolicyVersion sets the optional parameter "options.requestedPolicyVersion": The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies).
type ProjectsLocationsModelsListCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsModelsListCall) Context(ctx context.Context) *ProjectsLocationsModelsListCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsModelsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1ListModelsResponse, error)
Do executes the "aiplatform.projects.locations.models.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1ListModelsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsModelsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsModelsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsModelsListCall) Filter(filter string) *ProjectsLocationsModelsListCall
Filter sets the optional parameter "filter": An expression for filtering the results of the request. For field names both snake_case and camelCase are supported. * `model` supports = and !=. `model` represents the Model ID, i.e. the last segment of the Model's resource name. * `display_name` supports = and != * `labels` supports general map functions that is: * `labels.key=value` - key:value equality * `labels.key:* or labels:key - key existence * A key including a space must be quoted. `labels."a key". * `base_model_name` only supports = Some examples: * `model=1234` * `displayName="myDisplayName" * `labels.myKey="myValue" * `baseModelName="text-bison"
func (c *ProjectsLocationsModelsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsModelsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsModelsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (c *ProjectsLocationsModelsListCall) OrderBy(orderBy string) *ProjectsLocationsModelsListCall
OrderBy sets the optional parameter "orderBy": A comma-separated list of fields to order by, sorted in ascending order. Use "desc" after a field name for descending. Supported fields: * `display_name` * `create_time` * `update_time` Example: `display_name, create_time desc`.
func (c *ProjectsLocationsModelsListCall) PageSize(pageSize int64) *ProjectsLocationsModelsListCall
PageSize sets the optional parameter "pageSize": The standard list page size.
func (c *ProjectsLocationsModelsListCall) PageToken(pageToken string) *ProjectsLocationsModelsListCall
PageToken sets the optional parameter "pageToken": The standard list page token. Typically obtained via ListModelsResponse.next_page_token of the previous ModelService.ListModels call.
func (c *ProjectsLocationsModelsListCall) Pages(ctx context.Context, f func(*GoogleCloudAiplatformV1ListModelsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
func (c *ProjectsLocationsModelsListCall) ReadMask(readMask string) *ProjectsLocationsModelsListCall
ReadMask sets the optional parameter "readMask": Mask specifying which fields to read.
type ProjectsLocationsModelsListVersionsCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsModelsListVersionsCall) Context(ctx context.Context) *ProjectsLocationsModelsListVersionsCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsModelsListVersionsCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1ListModelVersionsResponse, error)
Do executes the "aiplatform.projects.locations.models.listVersions" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1ListModelVersionsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsModelsListVersionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsModelsListVersionsCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsModelsListVersionsCall) Filter(filter string) *ProjectsLocationsModelsListVersionsCall
Filter sets the optional parameter "filter": An expression for filtering the results of the request. For field names both snake_case and camelCase are supported. * `labels` supports general map functions that is: * `labels.key=value` - key:value equality * `labels.key:* or labels:key - key existence * A key including a space must be quoted. `labels."a key". Some examples: * `labels.myKey="myValue"
func (c *ProjectsLocationsModelsListVersionsCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsModelsListVersionsCall) IfNoneMatch(entityTag string) *ProjectsLocationsModelsListVersionsCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (c *ProjectsLocationsModelsListVersionsCall) OrderBy(orderBy string) *ProjectsLocationsModelsListVersionsCall
OrderBy sets the optional parameter "orderBy": A comma-separated list of fields to order by, sorted in ascending order. Use "desc" after a field name for descending. Supported fields: * `create_time` * `update_time` Example: `update_time asc, create_time desc`.
func (c *ProjectsLocationsModelsListVersionsCall) PageSize(pageSize int64) *ProjectsLocationsModelsListVersionsCall
PageSize sets the optional parameter "pageSize": The standard list page size.
func (c *ProjectsLocationsModelsListVersionsCall) PageToken(pageToken string) *ProjectsLocationsModelsListVersionsCall
PageToken sets the optional parameter "pageToken": The standard list page token. Typically obtained via next_page_token of the previous ListModelVersions call.
func (c *ProjectsLocationsModelsListVersionsCall) Pages(ctx context.Context, f func(*GoogleCloudAiplatformV1ListModelVersionsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
func (c *ProjectsLocationsModelsListVersionsCall) ReadMask(readMask string) *ProjectsLocationsModelsListVersionsCall
ReadMask sets the optional parameter "readMask": Mask specifying which fields to read.
type ProjectsLocationsModelsMergeVersionAliasesCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsModelsMergeVersionAliasesCall) Context(ctx context.Context) *ProjectsLocationsModelsMergeVersionAliasesCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsModelsMergeVersionAliasesCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1Model, error)
Do executes the "aiplatform.projects.locations.models.mergeVersionAliases" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1Model.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsModelsMergeVersionAliasesCall) Fields(s ...googleapi.Field) *ProjectsLocationsModelsMergeVersionAliasesCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsModelsMergeVersionAliasesCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsModelsOperationsCancelCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsModelsOperationsCancelCall) Context(ctx context.Context) *ProjectsLocationsModelsOperationsCancelCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsModelsOperationsCancelCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "aiplatform.projects.locations.models.operations.cancel" call. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsModelsOperationsCancelCall) Fields(s ...googleapi.Field) *ProjectsLocationsModelsOperationsCancelCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsModelsOperationsCancelCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsModelsOperationsDeleteCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsModelsOperationsDeleteCall) Context(ctx context.Context) *ProjectsLocationsModelsOperationsDeleteCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsModelsOperationsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "aiplatform.projects.locations.models.operations.delete" call. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsModelsOperationsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsModelsOperationsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsModelsOperationsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsModelsOperationsGetCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsModelsOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsModelsOperationsGetCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsModelsOperationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.models.operations.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsModelsOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsModelsOperationsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsModelsOperationsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsModelsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsModelsOperationsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsLocationsModelsOperationsListCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsModelsOperationsListCall) Context(ctx context.Context) *ProjectsLocationsModelsOperationsListCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsModelsOperationsListCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningListOperationsResponse, error)
Do executes the "aiplatform.projects.locations.models.operations.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningListOperationsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsModelsOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsModelsOperationsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsModelsOperationsListCall) Filter(filter string) *ProjectsLocationsModelsOperationsListCall
Filter sets the optional parameter "filter": The standard list filter.
func (c *ProjectsLocationsModelsOperationsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsModelsOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsModelsOperationsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (c *ProjectsLocationsModelsOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsModelsOperationsListCall
PageSize sets the optional parameter "pageSize": The standard list page size.
func (c *ProjectsLocationsModelsOperationsListCall) PageToken(pageToken string) *ProjectsLocationsModelsOperationsListCall
PageToken sets the optional parameter "pageToken": The standard list page token.
func (c *ProjectsLocationsModelsOperationsListCall) Pages(ctx context.Context, f func(*GoogleLongrunningListOperationsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ProjectsLocationsModelsOperationsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsModelsOperationsService(s *Service) *ProjectsLocationsModelsOperationsService
func (r *ProjectsLocationsModelsOperationsService) Cancel(name string) *ProjectsLocationsModelsOperationsCancelCall
Cancel: Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
- name: The name of the operation resource to be cancelled.
func (r *ProjectsLocationsModelsOperationsService) Delete(name string) *ProjectsLocationsModelsOperationsDeleteCall
Delete: Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
- name: The name of the operation resource to be deleted.
func (r *ProjectsLocationsModelsOperationsService) Get(name string) *ProjectsLocationsModelsOperationsGetCall
Get: Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
- name: The name of the operation resource.
func (r *ProjectsLocationsModelsOperationsService) List(name string) *ProjectsLocationsModelsOperationsListCall
List: Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.
- name: The name of the operation's parent resource.
func (r *ProjectsLocationsModelsOperationsService) Wait(name string) *ProjectsLocationsModelsOperationsWaitCall
Wait: Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.
- name: The name of the operation resource to wait on.
type ProjectsLocationsModelsOperationsWaitCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsModelsOperationsWaitCall) Context(ctx context.Context) *ProjectsLocationsModelsOperationsWaitCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsModelsOperationsWaitCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.models.operations.wait" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsModelsOperationsWaitCall) Fields(s ...googleapi.Field) *ProjectsLocationsModelsOperationsWaitCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsModelsOperationsWaitCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsModelsOperationsWaitCall) Timeout(timeout string) *ProjectsLocationsModelsOperationsWaitCall
Timeout sets the optional parameter "timeout": The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.
type ProjectsLocationsModelsPatchCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsModelsPatchCall) Context(ctx context.Context) *ProjectsLocationsModelsPatchCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsModelsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1Model, error)
Do executes the "aiplatform.projects.locations.models.patch" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1Model.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsModelsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsModelsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsModelsPatchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsModelsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsModelsPatchCall
UpdateMask sets the optional parameter "updateMask": Required. The update mask applies to the resource. For the `FieldMask` definition, see google.protobuf.FieldMask.
type ProjectsLocationsModelsService struct { Evaluations *ProjectsLocationsModelsEvaluationsService Operations *ProjectsLocationsModelsOperationsService // contains filtered or unexported fields }
func NewProjectsLocationsModelsService(s *Service) *ProjectsLocationsModelsService
func (r *ProjectsLocationsModelsService) Copy(parent string, googlecloudaiplatformv1copymodelrequest *GoogleCloudAiplatformV1CopyModelRequest) *ProjectsLocationsModelsCopyCall
Copy: Copies an already existing Vertex AI Model into the specified Location. The source Model must exist in the same Project. When copying custom Models, the users themselves are responsible for Model.metadata content to be region-agnostic, as well as making sure that any resources (e.g. files) it depends on remain accessible.
func (r *ProjectsLocationsModelsService) Delete(name string) *ProjectsLocationsModelsDeleteCall
Delete: Deletes a Model. A model cannot be deleted if any Endpoint resource has a DeployedModel based on the model in its deployed_models field.
func (r *ProjectsLocationsModelsService) DeleteVersion(name string) *ProjectsLocationsModelsDeleteVersionCall
DeleteVersion: Deletes a Model version. Model version can only be deleted if there are no DeployedModels created from it. Deleting the only version in the Model is not allowed. Use DeleteModel for deleting the Model instead.
func (r *ProjectsLocationsModelsService) Export(name string, googlecloudaiplatformv1exportmodelrequest *GoogleCloudAiplatformV1ExportModelRequest) *ProjectsLocationsModelsExportCall
Export: Exports a trained, exportable Model to a location specified by the user. A Model is considered to be exportable if it has at least one supported export format.
func (r *ProjectsLocationsModelsService) Get(name string) *ProjectsLocationsModelsGetCall
Get: Gets a Model.
func (r *ProjectsLocationsModelsService) GetIamPolicy(resource string) *ProjectsLocationsModelsGetIamPolicyCall
GetIamPolicy: Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
func (r *ProjectsLocationsModelsService) List(parent string) *ProjectsLocationsModelsListCall
List: Lists Models in a Location.
func (r *ProjectsLocationsModelsService) ListVersions(name string) *ProjectsLocationsModelsListVersionsCall
ListVersions: Lists versions of the specified model.
- name: The name of the model to list versions for.
func (r *ProjectsLocationsModelsService) MergeVersionAliases(name string, googlecloudaiplatformv1mergeversionaliasesrequest *GoogleCloudAiplatformV1MergeVersionAliasesRequest) *ProjectsLocationsModelsMergeVersionAliasesCall
MergeVersionAliases: Merges a set of aliases for a Model version.
func (r *ProjectsLocationsModelsService) Patch(name string, googlecloudaiplatformv1model *GoogleCloudAiplatformV1Model) *ProjectsLocationsModelsPatchCall
Patch: Updates a Model.
- name: The resource name of the Model.
func (r *ProjectsLocationsModelsService) SetIamPolicy(resource string, googleiamv1setiampolicyrequest *GoogleIamV1SetIamPolicyRequest) *ProjectsLocationsModelsSetIamPolicyCall
SetIamPolicy: Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
func (r *ProjectsLocationsModelsService) TestIamPermissions(resource string) *ProjectsLocationsModelsTestIamPermissionsCall
TestIamPermissions: 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.
func (r *ProjectsLocationsModelsService) UpdateExplanationDataset(model string, googlecloudaiplatformv1updateexplanationdatasetrequest *GoogleCloudAiplatformV1UpdateExplanationDatasetRequest) *ProjectsLocationsModelsUpdateExplanationDatasetCall
UpdateExplanationDataset: Incrementally update the dataset used for an examples model.
func (r *ProjectsLocationsModelsService) Upload(parent string, googlecloudaiplatformv1uploadmodelrequest *GoogleCloudAiplatformV1UploadModelRequest) *ProjectsLocationsModelsUploadCall
Upload: Uploads a Model artifact into Vertex AI.
type ProjectsLocationsModelsSetIamPolicyCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsModelsSetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsModelsSetIamPolicyCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsModelsSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*GoogleIamV1Policy, error)
Do executes the "aiplatform.projects.locations.models.setIamPolicy" call. Any non-2xx status code is an error. Response headers are in either *GoogleIamV1Policy.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsModelsSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsModelsSetIamPolicyCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsModelsSetIamPolicyCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsModelsTestIamPermissionsCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsModelsTestIamPermissionsCall) Context(ctx context.Context) *ProjectsLocationsModelsTestIamPermissionsCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsModelsTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*GoogleIamV1TestIamPermissionsResponse, error)
Do executes the "aiplatform.projects.locations.models.testIamPermissions" call. Any non-2xx status code is an error. Response headers are in either *GoogleIamV1TestIamPermissionsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsModelsTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsModelsTestIamPermissionsCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsModelsTestIamPermissionsCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsModelsTestIamPermissionsCall) Permissions(permissions ...string) *ProjectsLocationsModelsTestIamPermissionsCall
Permissions sets the optional parameter "permissions": The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see IAM Overview (https://cloud.google.com/iam/docs/overview#permissions).
type ProjectsLocationsModelsUpdateExplanationDatasetCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsModelsUpdateExplanationDatasetCall) Context(ctx context.Context) *ProjectsLocationsModelsUpdateExplanationDatasetCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsModelsUpdateExplanationDatasetCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.models.updateExplanationDataset" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsModelsUpdateExplanationDatasetCall) Fields(s ...googleapi.Field) *ProjectsLocationsModelsUpdateExplanationDatasetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsModelsUpdateExplanationDatasetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsModelsUploadCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsModelsUploadCall) Context(ctx context.Context) *ProjectsLocationsModelsUploadCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsModelsUploadCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.models.upload" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsModelsUploadCall) Fields(s ...googleapi.Field) *ProjectsLocationsModelsUploadCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsModelsUploadCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsNasJobsCancelCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsNasJobsCancelCall) Context(ctx context.Context) *ProjectsLocationsNasJobsCancelCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsNasJobsCancelCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "aiplatform.projects.locations.nasJobs.cancel" call. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsNasJobsCancelCall) Fields(s ...googleapi.Field) *ProjectsLocationsNasJobsCancelCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsNasJobsCancelCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsNasJobsCreateCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsNasJobsCreateCall) Context(ctx context.Context) *ProjectsLocationsNasJobsCreateCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsNasJobsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1NasJob, error)
Do executes the "aiplatform.projects.locations.nasJobs.create" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1NasJob.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsNasJobsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsNasJobsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsNasJobsCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsNasJobsDeleteCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsNasJobsDeleteCall) Context(ctx context.Context) *ProjectsLocationsNasJobsDeleteCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsNasJobsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.nasJobs.delete" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsNasJobsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsNasJobsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsNasJobsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsNasJobsGetCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsNasJobsGetCall) Context(ctx context.Context) *ProjectsLocationsNasJobsGetCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsNasJobsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1NasJob, error)
Do executes the "aiplatform.projects.locations.nasJobs.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1NasJob.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsNasJobsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsNasJobsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsNasJobsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsNasJobsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsNasJobsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsLocationsNasJobsListCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsNasJobsListCall) Context(ctx context.Context) *ProjectsLocationsNasJobsListCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsNasJobsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1ListNasJobsResponse, error)
Do executes the "aiplatform.projects.locations.nasJobs.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1ListNasJobsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsNasJobsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsNasJobsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsNasJobsListCall) Filter(filter string) *ProjectsLocationsNasJobsListCall
Filter sets the optional parameter "filter": The standard list filter. Supported fields: * `display_name` supports `=`, `!=` comparisons, and `:` wildcard. * `state` supports `=`, `!=` comparisons. * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. `create_time` must be in RFC 3339 format. * `labels` supports general map functions that is: `labels.key=value` - key:value equality `labels.key:* - key existence Some examples of using the filter are: * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*" * `state!="JOB_STATE_FAILED" OR display_name="my_job" * `NOT display_name="my_job" * `create_time>"2021-05-18T00:00:00Z" * `labels.keyA=valueA` * `labels.keyB:*`
func (c *ProjectsLocationsNasJobsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsNasJobsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsNasJobsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (c *ProjectsLocationsNasJobsListCall) PageSize(pageSize int64) *ProjectsLocationsNasJobsListCall
PageSize sets the optional parameter "pageSize": The standard list page size.
func (c *ProjectsLocationsNasJobsListCall) PageToken(pageToken string) *ProjectsLocationsNasJobsListCall
PageToken sets the optional parameter "pageToken": The standard list page token. Typically obtained via ListNasJobsResponse.next_page_token of the previous JobService.ListNasJobs call.
func (c *ProjectsLocationsNasJobsListCall) Pages(ctx context.Context, f func(*GoogleCloudAiplatformV1ListNasJobsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
func (c *ProjectsLocationsNasJobsListCall) ReadMask(readMask string) *ProjectsLocationsNasJobsListCall
ReadMask sets the optional parameter "readMask": Mask specifying which fields to read.
type ProjectsLocationsNasJobsNasTrialDetailsGetCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsNasJobsNasTrialDetailsGetCall) Context(ctx context.Context) *ProjectsLocationsNasJobsNasTrialDetailsGetCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsNasJobsNasTrialDetailsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1NasTrialDetail, error)
Do executes the "aiplatform.projects.locations.nasJobs.nasTrialDetails.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1NasTrialDetail.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsNasJobsNasTrialDetailsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsNasJobsNasTrialDetailsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsNasJobsNasTrialDetailsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsNasJobsNasTrialDetailsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsNasJobsNasTrialDetailsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsLocationsNasJobsNasTrialDetailsListCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsNasJobsNasTrialDetailsListCall) Context(ctx context.Context) *ProjectsLocationsNasJobsNasTrialDetailsListCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsNasJobsNasTrialDetailsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1ListNasTrialDetailsResponse, error)
Do executes the "aiplatform.projects.locations.nasJobs.nasTrialDetails.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1ListNasTrialDetailsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsNasJobsNasTrialDetailsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsNasJobsNasTrialDetailsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsNasJobsNasTrialDetailsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsNasJobsNasTrialDetailsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsNasJobsNasTrialDetailsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (c *ProjectsLocationsNasJobsNasTrialDetailsListCall) PageSize(pageSize int64) *ProjectsLocationsNasJobsNasTrialDetailsListCall
PageSize sets the optional parameter "pageSize": The standard list page size.
func (c *ProjectsLocationsNasJobsNasTrialDetailsListCall) PageToken(pageToken string) *ProjectsLocationsNasJobsNasTrialDetailsListCall
PageToken sets the optional parameter "pageToken": The standard list page token. Typically obtained via ListNasTrialDetailsResponse.next_page_token of the previous JobService.ListNasTrialDetails call.
func (c *ProjectsLocationsNasJobsNasTrialDetailsListCall) Pages(ctx context.Context, f func(*GoogleCloudAiplatformV1ListNasTrialDetailsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ProjectsLocationsNasJobsNasTrialDetailsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsNasJobsNasTrialDetailsService(s *Service) *ProjectsLocationsNasJobsNasTrialDetailsService
func (r *ProjectsLocationsNasJobsNasTrialDetailsService) Get(name string) *ProjectsLocationsNasJobsNasTrialDetailsGetCall
Get: Gets a NasTrialDetail.
func (r *ProjectsLocationsNasJobsNasTrialDetailsService) List(parent string) *ProjectsLocationsNasJobsNasTrialDetailsListCall
List: List top NasTrialDetails of a NasJob.
type ProjectsLocationsNasJobsService struct { NasTrialDetails *ProjectsLocationsNasJobsNasTrialDetailsService // contains filtered or unexported fields }
func NewProjectsLocationsNasJobsService(s *Service) *ProjectsLocationsNasJobsService
func (r *ProjectsLocationsNasJobsService) Cancel(name string, googlecloudaiplatformv1cancelnasjobrequest *GoogleCloudAiplatformV1CancelNasJobRequest) *ProjectsLocationsNasJobsCancelCall
Cancel: Cancels a NasJob. Starts asynchronous cancellation on the NasJob. The server makes a best effort to cancel the job, but success is not guaranteed. Clients can use JobService.GetNasJob or other methods to check whether the cancellation succeeded or whether the job completed despite cancellation. On successful cancellation, the NasJob is not deleted; instead it becomes a job with a NasJob.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`, and NasJob.state is set to `CANCELLED`.
func (r *ProjectsLocationsNasJobsService) Create(parent string, googlecloudaiplatformv1nasjob *GoogleCloudAiplatformV1NasJob) *ProjectsLocationsNasJobsCreateCall
Create: Creates a NasJob
func (r *ProjectsLocationsNasJobsService) Delete(name string) *ProjectsLocationsNasJobsDeleteCall
Delete: Deletes a NasJob.
func (r *ProjectsLocationsNasJobsService) Get(name string) *ProjectsLocationsNasJobsGetCall
Get: Gets a NasJob
func (r *ProjectsLocationsNasJobsService) List(parent string) *ProjectsLocationsNasJobsListCall
List: Lists NasJobs in a Location.
type ProjectsLocationsNotebookRuntimeTemplatesCreateCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsNotebookRuntimeTemplatesCreateCall) Context(ctx context.Context) *ProjectsLocationsNotebookRuntimeTemplatesCreateCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsNotebookRuntimeTemplatesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.notebookRuntimeTemplates.create" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsNotebookRuntimeTemplatesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsNotebookRuntimeTemplatesCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsNotebookRuntimeTemplatesCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsNotebookRuntimeTemplatesCreateCall) NotebookRuntimeTemplateId(notebookRuntimeTemplateId string) *ProjectsLocationsNotebookRuntimeTemplatesCreateCall
NotebookRuntimeTemplateId sets the optional parameter "notebookRuntimeTemplateId": User specified ID for the notebook runtime template.
type ProjectsLocationsNotebookRuntimeTemplatesDeleteCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsNotebookRuntimeTemplatesDeleteCall) Context(ctx context.Context) *ProjectsLocationsNotebookRuntimeTemplatesDeleteCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsNotebookRuntimeTemplatesDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.notebookRuntimeTemplates.delete" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsNotebookRuntimeTemplatesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsNotebookRuntimeTemplatesDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsNotebookRuntimeTemplatesDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsNotebookRuntimeTemplatesGetCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsNotebookRuntimeTemplatesGetCall) Context(ctx context.Context) *ProjectsLocationsNotebookRuntimeTemplatesGetCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsNotebookRuntimeTemplatesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1NotebookRuntimeTemplate, error)
Do executes the "aiplatform.projects.locations.notebookRuntimeTemplates.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1NotebookRuntimeTemplate.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsNotebookRuntimeTemplatesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsNotebookRuntimeTemplatesGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsNotebookRuntimeTemplatesGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsNotebookRuntimeTemplatesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsNotebookRuntimeTemplatesGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsLocationsNotebookRuntimeTemplatesGetIamPolicyCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsNotebookRuntimeTemplatesGetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsNotebookRuntimeTemplatesGetIamPolicyCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsNotebookRuntimeTemplatesGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*GoogleIamV1Policy, error)
Do executes the "aiplatform.projects.locations.notebookRuntimeTemplates.getIamPolicy" call. Any non-2xx status code is an error. Response headers are in either *GoogleIamV1Policy.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsNotebookRuntimeTemplatesGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsNotebookRuntimeTemplatesGetIamPolicyCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsNotebookRuntimeTemplatesGetIamPolicyCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsNotebookRuntimeTemplatesGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersion int64) *ProjectsLocationsNotebookRuntimeTemplatesGetIamPolicyCall
OptionsRequestedPolicyVersion sets the optional parameter "options.requestedPolicyVersion": The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies).
type ProjectsLocationsNotebookRuntimeTemplatesListCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsNotebookRuntimeTemplatesListCall) Context(ctx context.Context) *ProjectsLocationsNotebookRuntimeTemplatesListCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsNotebookRuntimeTemplatesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1ListNotebookRuntimeTemplatesResponse, error)
Do executes the "aiplatform.projects.locations.notebookRuntimeTemplates.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1ListNotebookRuntimeTemplatesResponse.ServerResponse.H eader or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsNotebookRuntimeTemplatesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsNotebookRuntimeTemplatesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsNotebookRuntimeTemplatesListCall) Filter(filter string) *ProjectsLocationsNotebookRuntimeTemplatesListCall
Filter sets the optional parameter "filter": An expression for filtering the results of the request. For field names both snake_case and camelCase are supported. * `notebookRuntimeTemplate` supports = and !=. `notebookRuntimeTemplate` represents the NotebookRuntimeTemplate ID, i.e. the last segment of the NotebookRuntimeTemplate's resource name. * `display_name` supports = and != * `labels` supports general map functions that is: * `labels.key=value` - key:value equality * `labels.key:* or labels:key - key existence * A key including a space must be quoted. `labels."a key". * `notebookRuntimeType` supports = and !=. notebookRuntimeType enum: [USER_DEFINED, ONE_CLICK]. Some examples: * `notebookRuntimeTemplate=notebookRuntimeTemplate123` * `displayName="myDisplayName" * `labels.myKey="myValue" * `notebookRuntimeType=USER_DEFINED`
func (c *ProjectsLocationsNotebookRuntimeTemplatesListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsNotebookRuntimeTemplatesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsNotebookRuntimeTemplatesListCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (c *ProjectsLocationsNotebookRuntimeTemplatesListCall) OrderBy(orderBy string) *ProjectsLocationsNotebookRuntimeTemplatesListCall
OrderBy sets the optional parameter "orderBy": A comma-separated list of fields to order by, sorted in ascending order. Use "desc" after a field name for descending. Supported fields: * `display_name` * `create_time` * `update_time` Example: `display_name, create_time desc`.
func (c *ProjectsLocationsNotebookRuntimeTemplatesListCall) PageSize(pageSize int64) *ProjectsLocationsNotebookRuntimeTemplatesListCall
PageSize sets the optional parameter "pageSize": The standard list page size.
func (c *ProjectsLocationsNotebookRuntimeTemplatesListCall) PageToken(pageToken string) *ProjectsLocationsNotebookRuntimeTemplatesListCall
PageToken sets the optional parameter "pageToken": The standard list page token. Typically obtained via ListNotebookRuntimeTemplatesResponse.next_page_token of the previous NotebookService.ListNotebookRuntimeTemplates call.
func (c *ProjectsLocationsNotebookRuntimeTemplatesListCall) Pages(ctx context.Context, f func(*GoogleCloudAiplatformV1ListNotebookRuntimeTemplatesResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
func (c *ProjectsLocationsNotebookRuntimeTemplatesListCall) ReadMask(readMask string) *ProjectsLocationsNotebookRuntimeTemplatesListCall
ReadMask sets the optional parameter "readMask": Mask specifying which fields to read.
type ProjectsLocationsNotebookRuntimeTemplatesService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsNotebookRuntimeTemplatesService(s *Service) *ProjectsLocationsNotebookRuntimeTemplatesService
func (r *ProjectsLocationsNotebookRuntimeTemplatesService) Create(parent string, googlecloudaiplatformv1notebookruntimetemplate *GoogleCloudAiplatformV1NotebookRuntimeTemplate) *ProjectsLocationsNotebookRuntimeTemplatesCreateCall
Create: Creates a NotebookRuntimeTemplate.
func (r *ProjectsLocationsNotebookRuntimeTemplatesService) Delete(name string) *ProjectsLocationsNotebookRuntimeTemplatesDeleteCall
Delete: Deletes a NotebookRuntimeTemplate.
func (r *ProjectsLocationsNotebookRuntimeTemplatesService) Get(name string) *ProjectsLocationsNotebookRuntimeTemplatesGetCall
Get: Gets a NotebookRuntimeTemplate.
func (r *ProjectsLocationsNotebookRuntimeTemplatesService) GetIamPolicy(resource string) *ProjectsLocationsNotebookRuntimeTemplatesGetIamPolicyCall
GetIamPolicy: Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
func (r *ProjectsLocationsNotebookRuntimeTemplatesService) List(parent string) *ProjectsLocationsNotebookRuntimeTemplatesListCall
List: Lists NotebookRuntimeTemplates in a Location.
func (r *ProjectsLocationsNotebookRuntimeTemplatesService) SetIamPolicy(resource string, googleiamv1setiampolicyrequest *GoogleIamV1SetIamPolicyRequest) *ProjectsLocationsNotebookRuntimeTemplatesSetIamPolicyCall
SetIamPolicy: Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
func (r *ProjectsLocationsNotebookRuntimeTemplatesService) TestIamPermissions(resource string) *ProjectsLocationsNotebookRuntimeTemplatesTestIamPermissionsCall
TestIamPermissions: 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.
type ProjectsLocationsNotebookRuntimeTemplatesSetIamPolicyCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsNotebookRuntimeTemplatesSetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsNotebookRuntimeTemplatesSetIamPolicyCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsNotebookRuntimeTemplatesSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*GoogleIamV1Policy, error)
Do executes the "aiplatform.projects.locations.notebookRuntimeTemplates.setIamPolicy" call. Any non-2xx status code is an error. Response headers are in either *GoogleIamV1Policy.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsNotebookRuntimeTemplatesSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsNotebookRuntimeTemplatesSetIamPolicyCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsNotebookRuntimeTemplatesSetIamPolicyCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsNotebookRuntimeTemplatesTestIamPermissionsCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsNotebookRuntimeTemplatesTestIamPermissionsCall) Context(ctx context.Context) *ProjectsLocationsNotebookRuntimeTemplatesTestIamPermissionsCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsNotebookRuntimeTemplatesTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*GoogleIamV1TestIamPermissionsResponse, error)
Do executes the "aiplatform.projects.locations.notebookRuntimeTemplates.testIamPermissions" call. Any non-2xx status code is an error. Response headers are in either *GoogleIamV1TestIamPermissionsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsNotebookRuntimeTemplatesTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsNotebookRuntimeTemplatesTestIamPermissionsCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsNotebookRuntimeTemplatesTestIamPermissionsCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsNotebookRuntimeTemplatesTestIamPermissionsCall) Permissions(permissions ...string) *ProjectsLocationsNotebookRuntimeTemplatesTestIamPermissionsCall
Permissions sets the optional parameter "permissions": The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see IAM Overview (https://cloud.google.com/iam/docs/overview#permissions).
type ProjectsLocationsNotebookRuntimesAssignCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsNotebookRuntimesAssignCall) Context(ctx context.Context) *ProjectsLocationsNotebookRuntimesAssignCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsNotebookRuntimesAssignCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.notebookRuntimes.assign" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsNotebookRuntimesAssignCall) Fields(s ...googleapi.Field) *ProjectsLocationsNotebookRuntimesAssignCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsNotebookRuntimesAssignCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsNotebookRuntimesDeleteCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsNotebookRuntimesDeleteCall) Context(ctx context.Context) *ProjectsLocationsNotebookRuntimesDeleteCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsNotebookRuntimesDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.notebookRuntimes.delete" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsNotebookRuntimesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsNotebookRuntimesDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsNotebookRuntimesDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsNotebookRuntimesGetCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsNotebookRuntimesGetCall) Context(ctx context.Context) *ProjectsLocationsNotebookRuntimesGetCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsNotebookRuntimesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1NotebookRuntime, error)
Do executes the "aiplatform.projects.locations.notebookRuntimes.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1NotebookRuntime.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsNotebookRuntimesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsNotebookRuntimesGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsNotebookRuntimesGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsNotebookRuntimesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsNotebookRuntimesGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsLocationsNotebookRuntimesListCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsNotebookRuntimesListCall) Context(ctx context.Context) *ProjectsLocationsNotebookRuntimesListCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsNotebookRuntimesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1ListNotebookRuntimesResponse, error)
Do executes the "aiplatform.projects.locations.notebookRuntimes.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1ListNotebookRuntimesResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsNotebookRuntimesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsNotebookRuntimesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsNotebookRuntimesListCall) Filter(filter string) *ProjectsLocationsNotebookRuntimesListCall
Filter sets the optional parameter "filter": An expression for filtering the results of the request. For field names both snake_case and camelCase are supported. * `notebookRuntime` supports = and !=. `notebookRuntime` represents the NotebookRuntime ID, i.e. the last segment of the NotebookRuntime's resource name. * `displayName` supports = and != and regex. * `notebookRuntimeTemplate` supports = and !=. `notebookRuntimeTemplate` represents the NotebookRuntimeTemplate ID, i.e. the last segment of the NotebookRuntimeTemplate's resource name. * `healthState` supports = and !=. healthState enum: [HEALTHY, UNHEALTHY, HEALTH_STATE_UNSPECIFIED]. * `runtimeState` supports = and !=. runtimeState enum: [RUNTIME_STATE_UNSPECIFIED, RUNNING, BEING_STARTED, BEING_STOPPED, STOPPED, BEING_UPGRADED, ERROR, INVALID]. * `runtimeUser` supports = and !=. * API version is UI only: `uiState` supports = and !=. uiState enum: [UI_RESOURCE_STATE_UNSPECIFIED, UI_RESOURCE_STATE_BEING_CREATED, UI_RESOURCE_STATE_ACTIVE, UI_RESOURCE_STATE_BEING_DELETED, UI_RESOURCE_STATE_CREATION_FAILED]. * `notebookRuntimeType` supports = and !=. notebookRuntimeType enum: [USER_DEFINED, ONE_CLICK]. Some examples: * `notebookRuntime="notebookRuntime123" * `displayName="myDisplayName" and `displayName=~"myDisplayNameRegex" * `notebookRuntimeTemplate="notebookRuntimeTemplate321" * `healthState=HEALTHY` * `runtimeState=RUNNING` * `runtimeUser="test@google.com" * `uiState=UI_RESOURCE_STATE_BEING_DELETED` * `notebookRuntimeType=USER_DEFINED`
func (c *ProjectsLocationsNotebookRuntimesListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsNotebookRuntimesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsNotebookRuntimesListCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (c *ProjectsLocationsNotebookRuntimesListCall) OrderBy(orderBy string) *ProjectsLocationsNotebookRuntimesListCall
OrderBy sets the optional parameter "orderBy": A comma-separated list of fields to order by, sorted in ascending order. Use "desc" after a field name for descending. Supported fields: * `display_name` * `create_time` * `update_time` Example: `display_name, create_time desc`.
func (c *ProjectsLocationsNotebookRuntimesListCall) PageSize(pageSize int64) *ProjectsLocationsNotebookRuntimesListCall
PageSize sets the optional parameter "pageSize": The standard list page size.
func (c *ProjectsLocationsNotebookRuntimesListCall) PageToken(pageToken string) *ProjectsLocationsNotebookRuntimesListCall
PageToken sets the optional parameter "pageToken": The standard list page token. Typically obtained via ListNotebookRuntimesResponse.next_page_token of the previous NotebookService.ListNotebookRuntimes call.
func (c *ProjectsLocationsNotebookRuntimesListCall) Pages(ctx context.Context, f func(*GoogleCloudAiplatformV1ListNotebookRuntimesResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
func (c *ProjectsLocationsNotebookRuntimesListCall) ReadMask(readMask string) *ProjectsLocationsNotebookRuntimesListCall
ReadMask sets the optional parameter "readMask": Mask specifying which fields to read.
type ProjectsLocationsNotebookRuntimesService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsNotebookRuntimesService(s *Service) *ProjectsLocationsNotebookRuntimesService
func (r *ProjectsLocationsNotebookRuntimesService) Assign(parent string, googlecloudaiplatformv1assignnotebookruntimerequest *GoogleCloudAiplatformV1AssignNotebookRuntimeRequest) *ProjectsLocationsNotebookRuntimesAssignCall
Assign: Assigns a NotebookRuntime to a user for a particular Notebook file. This method will either returns an existing assignment or generates a new one.
func (r *ProjectsLocationsNotebookRuntimesService) Delete(name string) *ProjectsLocationsNotebookRuntimesDeleteCall
Delete: Deletes a NotebookRuntime.
func (r *ProjectsLocationsNotebookRuntimesService) Get(name string) *ProjectsLocationsNotebookRuntimesGetCall
Get: Gets a NotebookRuntime.
func (r *ProjectsLocationsNotebookRuntimesService) List(parent string) *ProjectsLocationsNotebookRuntimesListCall
List: Lists NotebookRuntimes in a Location.
func (r *ProjectsLocationsNotebookRuntimesService) Start(name string, googlecloudaiplatformv1startnotebookruntimerequest *GoogleCloudAiplatformV1StartNotebookRuntimeRequest) *ProjectsLocationsNotebookRuntimesStartCall
Start: Starts a NotebookRuntime.
func (r *ProjectsLocationsNotebookRuntimesService) Upgrade(name string, googlecloudaiplatformv1upgradenotebookruntimerequest *GoogleCloudAiplatformV1UpgradeNotebookRuntimeRequest) *ProjectsLocationsNotebookRuntimesUpgradeCall
Upgrade: Upgrades a NotebookRuntime.
type ProjectsLocationsNotebookRuntimesStartCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsNotebookRuntimesStartCall) Context(ctx context.Context) *ProjectsLocationsNotebookRuntimesStartCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsNotebookRuntimesStartCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.notebookRuntimes.start" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsNotebookRuntimesStartCall) Fields(s ...googleapi.Field) *ProjectsLocationsNotebookRuntimesStartCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsNotebookRuntimesStartCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsNotebookRuntimesUpgradeCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsNotebookRuntimesUpgradeCall) Context(ctx context.Context) *ProjectsLocationsNotebookRuntimesUpgradeCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsNotebookRuntimesUpgradeCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.notebookRuntimes.upgrade" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsNotebookRuntimesUpgradeCall) Fields(s ...googleapi.Field) *ProjectsLocationsNotebookRuntimesUpgradeCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsNotebookRuntimesUpgradeCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsOperationsCancelCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsOperationsCancelCall) Context(ctx context.Context) *ProjectsLocationsOperationsCancelCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsOperationsCancelCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "aiplatform.projects.locations.operations.cancel" call. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsOperationsCancelCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsCancelCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsOperationsCancelCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsOperationsDeleteCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsOperationsDeleteCall) Context(ctx context.Context) *ProjectsLocationsOperationsDeleteCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsOperationsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "aiplatform.projects.locations.operations.delete" call. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsOperationsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsOperationsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsOperationsGetCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsOperationsGetCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsOperationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.operations.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsOperationsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsLocationsOperationsListCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsOperationsListCall) Context(ctx context.Context) *ProjectsLocationsOperationsListCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsOperationsListCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningListOperationsResponse, error)
Do executes the "aiplatform.projects.locations.operations.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningListOperationsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsOperationsListCall) Filter(filter string) *ProjectsLocationsOperationsListCall
Filter sets the optional parameter "filter": The standard list filter.
func (c *ProjectsLocationsOperationsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (c *ProjectsLocationsOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsOperationsListCall
PageSize sets the optional parameter "pageSize": The standard list page size.
func (c *ProjectsLocationsOperationsListCall) PageToken(pageToken string) *ProjectsLocationsOperationsListCall
PageToken sets the optional parameter "pageToken": The standard list page token.
func (c *ProjectsLocationsOperationsListCall) Pages(ctx context.Context, f func(*GoogleLongrunningListOperationsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ProjectsLocationsOperationsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsOperationsService(s *Service) *ProjectsLocationsOperationsService
func (r *ProjectsLocationsOperationsService) Cancel(name string) *ProjectsLocationsOperationsCancelCall
Cancel: Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
- name: The name of the operation resource to be cancelled.
func (r *ProjectsLocationsOperationsService) Delete(name string) *ProjectsLocationsOperationsDeleteCall
Delete: Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
- name: The name of the operation resource to be deleted.
func (r *ProjectsLocationsOperationsService) Get(name string) *ProjectsLocationsOperationsGetCall
Get: Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
- name: The name of the operation resource.
func (r *ProjectsLocationsOperationsService) List(name string) *ProjectsLocationsOperationsListCall
List: Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.
- name: The name of the operation's parent resource.
func (r *ProjectsLocationsOperationsService) Wait(name string) *ProjectsLocationsOperationsWaitCall
Wait: Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.
- name: The name of the operation resource to wait on.
type ProjectsLocationsOperationsWaitCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsOperationsWaitCall) Context(ctx context.Context) *ProjectsLocationsOperationsWaitCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsOperationsWaitCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.operations.wait" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsOperationsWaitCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsWaitCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsOperationsWaitCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsOperationsWaitCall) Timeout(timeout string) *ProjectsLocationsOperationsWaitCall
Timeout sets the optional parameter "timeout": The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.
type ProjectsLocationsPersistentResourcesCreateCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsPersistentResourcesCreateCall) Context(ctx context.Context) *ProjectsLocationsPersistentResourcesCreateCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsPersistentResourcesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.persistentResources.create" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsPersistentResourcesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsPersistentResourcesCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsPersistentResourcesCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsPersistentResourcesCreateCall) PersistentResourceId(persistentResourceId string) *ProjectsLocationsPersistentResourcesCreateCall
PersistentResourceId sets the optional parameter "persistentResourceId": Required. The ID to use for the PersistentResource, which become the final component of the PersistentResource's resource name. The maximum length is 63 characters, and valid characters are `/^a-z ([a-z0-9-]{0,61}[a-z0-9])?$/`.
type ProjectsLocationsPersistentResourcesDeleteCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsPersistentResourcesDeleteCall) Context(ctx context.Context) *ProjectsLocationsPersistentResourcesDeleteCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsPersistentResourcesDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.persistentResources.delete" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsPersistentResourcesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsPersistentResourcesDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsPersistentResourcesDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsPersistentResourcesGetCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsPersistentResourcesGetCall) Context(ctx context.Context) *ProjectsLocationsPersistentResourcesGetCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsPersistentResourcesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1PersistentResource, error)
Do executes the "aiplatform.projects.locations.persistentResources.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1PersistentResource.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsPersistentResourcesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsPersistentResourcesGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsPersistentResourcesGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsPersistentResourcesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsPersistentResourcesGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsLocationsPersistentResourcesListCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsPersistentResourcesListCall) Context(ctx context.Context) *ProjectsLocationsPersistentResourcesListCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsPersistentResourcesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1ListPersistentResourcesResponse, error)
Do executes the "aiplatform.projects.locations.persistentResources.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1ListPersistentResourcesResponse.ServerResponse.Header
or (if a response was returned at all) in error.(*googleapi.Error).Header.
Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsPersistentResourcesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsPersistentResourcesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsPersistentResourcesListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsPersistentResourcesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsPersistentResourcesListCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (c *ProjectsLocationsPersistentResourcesListCall) PageSize(pageSize int64) *ProjectsLocationsPersistentResourcesListCall
PageSize sets the optional parameter "pageSize": The standard list page size.
func (c *ProjectsLocationsPersistentResourcesListCall) PageToken(pageToken string) *ProjectsLocationsPersistentResourcesListCall
PageToken sets the optional parameter "pageToken": The standard list page token. Typically obtained via ListPersistentResourceResponse.next_page_token of the previous PersistentResourceService.ListPersistentResource call.
func (c *ProjectsLocationsPersistentResourcesListCall) Pages(ctx context.Context, f func(*GoogleCloudAiplatformV1ListPersistentResourcesResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ProjectsLocationsPersistentResourcesOperationsCancelCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsPersistentResourcesOperationsCancelCall) Context(ctx context.Context) *ProjectsLocationsPersistentResourcesOperationsCancelCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsPersistentResourcesOperationsCancelCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "aiplatform.projects.locations.persistentResources.operations.cancel" call. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsPersistentResourcesOperationsCancelCall) Fields(s ...googleapi.Field) *ProjectsLocationsPersistentResourcesOperationsCancelCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsPersistentResourcesOperationsCancelCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsPersistentResourcesOperationsDeleteCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsPersistentResourcesOperationsDeleteCall) Context(ctx context.Context) *ProjectsLocationsPersistentResourcesOperationsDeleteCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsPersistentResourcesOperationsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "aiplatform.projects.locations.persistentResources.operations.delete" call. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsPersistentResourcesOperationsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsPersistentResourcesOperationsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsPersistentResourcesOperationsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsPersistentResourcesOperationsGetCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsPersistentResourcesOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsPersistentResourcesOperationsGetCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsPersistentResourcesOperationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.persistentResources.operations.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsPersistentResourcesOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsPersistentResourcesOperationsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsPersistentResourcesOperationsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsPersistentResourcesOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsPersistentResourcesOperationsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsLocationsPersistentResourcesOperationsListCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsPersistentResourcesOperationsListCall) Context(ctx context.Context) *ProjectsLocationsPersistentResourcesOperationsListCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsPersistentResourcesOperationsListCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningListOperationsResponse, error)
Do executes the "aiplatform.projects.locations.persistentResources.operations.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningListOperationsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsPersistentResourcesOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsPersistentResourcesOperationsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsPersistentResourcesOperationsListCall) Filter(filter string) *ProjectsLocationsPersistentResourcesOperationsListCall
Filter sets the optional parameter "filter": The standard list filter.
func (c *ProjectsLocationsPersistentResourcesOperationsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsPersistentResourcesOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsPersistentResourcesOperationsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (c *ProjectsLocationsPersistentResourcesOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsPersistentResourcesOperationsListCall
PageSize sets the optional parameter "pageSize": The standard list page size.
func (c *ProjectsLocationsPersistentResourcesOperationsListCall) PageToken(pageToken string) *ProjectsLocationsPersistentResourcesOperationsListCall
PageToken sets the optional parameter "pageToken": The standard list page token.
func (c *ProjectsLocationsPersistentResourcesOperationsListCall) Pages(ctx context.Context, f func(*GoogleLongrunningListOperationsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ProjectsLocationsPersistentResourcesOperationsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsPersistentResourcesOperationsService(s *Service) *ProjectsLocationsPersistentResourcesOperationsService
func (r *ProjectsLocationsPersistentResourcesOperationsService) Cancel(name string) *ProjectsLocationsPersistentResourcesOperationsCancelCall
Cancel: Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
- name: The name of the operation resource to be cancelled.
func (r *ProjectsLocationsPersistentResourcesOperationsService) Delete(name string) *ProjectsLocationsPersistentResourcesOperationsDeleteCall
Delete: Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
- name: The name of the operation resource to be deleted.
func (r *ProjectsLocationsPersistentResourcesOperationsService) Get(name string) *ProjectsLocationsPersistentResourcesOperationsGetCall
Get: Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
- name: The name of the operation resource.
func (r *ProjectsLocationsPersistentResourcesOperationsService) List(name string) *ProjectsLocationsPersistentResourcesOperationsListCall
List: Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.
- name: The name of the operation's parent resource.
func (r *ProjectsLocationsPersistentResourcesOperationsService) Wait(name string) *ProjectsLocationsPersistentResourcesOperationsWaitCall
Wait: Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.
- name: The name of the operation resource to wait on.
type ProjectsLocationsPersistentResourcesOperationsWaitCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsPersistentResourcesOperationsWaitCall) Context(ctx context.Context) *ProjectsLocationsPersistentResourcesOperationsWaitCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsPersistentResourcesOperationsWaitCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.persistentResources.operations.wait" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsPersistentResourcesOperationsWaitCall) Fields(s ...googleapi.Field) *ProjectsLocationsPersistentResourcesOperationsWaitCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsPersistentResourcesOperationsWaitCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsPersistentResourcesOperationsWaitCall) Timeout(timeout string) *ProjectsLocationsPersistentResourcesOperationsWaitCall
Timeout sets the optional parameter "timeout": The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.
type ProjectsLocationsPersistentResourcesPatchCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsPersistentResourcesPatchCall) Context(ctx context.Context) *ProjectsLocationsPersistentResourcesPatchCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsPersistentResourcesPatchCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.persistentResources.patch" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsPersistentResourcesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsPersistentResourcesPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsPersistentResourcesPatchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsPersistentResourcesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsPersistentResourcesPatchCall
UpdateMask sets the optional parameter "updateMask": Required. Specify the fields to be overwritten in the PersistentResource by the update method.
type ProjectsLocationsPersistentResourcesRebootCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsPersistentResourcesRebootCall) Context(ctx context.Context) *ProjectsLocationsPersistentResourcesRebootCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsPersistentResourcesRebootCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.persistentResources.reboot" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsPersistentResourcesRebootCall) Fields(s ...googleapi.Field) *ProjectsLocationsPersistentResourcesRebootCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsPersistentResourcesRebootCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsPersistentResourcesService struct { Operations *ProjectsLocationsPersistentResourcesOperationsService // contains filtered or unexported fields }
func NewProjectsLocationsPersistentResourcesService(s *Service) *ProjectsLocationsPersistentResourcesService
func (r *ProjectsLocationsPersistentResourcesService) Create(parent string, googlecloudaiplatformv1persistentresource *GoogleCloudAiplatformV1PersistentResource) *ProjectsLocationsPersistentResourcesCreateCall
Create: Creates a PersistentResource.
func (r *ProjectsLocationsPersistentResourcesService) Delete(name string) *ProjectsLocationsPersistentResourcesDeleteCall
Delete: Deletes a PersistentResource.
func (r *ProjectsLocationsPersistentResourcesService) Get(name string) *ProjectsLocationsPersistentResourcesGetCall
Get: Gets a PersistentResource.
func (r *ProjectsLocationsPersistentResourcesService) List(parent string) *ProjectsLocationsPersistentResourcesListCall
List: Lists PersistentResources in a Location.
func (r *ProjectsLocationsPersistentResourcesService) Patch(name string, googlecloudaiplatformv1persistentresource *GoogleCloudAiplatformV1PersistentResource) *ProjectsLocationsPersistentResourcesPatchCall
Patch: Updates a PersistentResource.
- name: Immutable. Resource name of a PersistentResource.
func (r *ProjectsLocationsPersistentResourcesService) Reboot(name string, googlecloudaiplatformv1rebootpersistentresourcerequest *GoogleCloudAiplatformV1RebootPersistentResourceRequest) *ProjectsLocationsPersistentResourcesRebootCall
Reboot: Reboots a PersistentResource.
type ProjectsLocationsPipelineJobsBatchCancelCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsPipelineJobsBatchCancelCall) Context(ctx context.Context) *ProjectsLocationsPipelineJobsBatchCancelCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsPipelineJobsBatchCancelCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.pipelineJobs.batchCancel" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsPipelineJobsBatchCancelCall) Fields(s ...googleapi.Field) *ProjectsLocationsPipelineJobsBatchCancelCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsPipelineJobsBatchCancelCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsPipelineJobsBatchDeleteCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsPipelineJobsBatchDeleteCall) Context(ctx context.Context) *ProjectsLocationsPipelineJobsBatchDeleteCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsPipelineJobsBatchDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.pipelineJobs.batchDelete" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsPipelineJobsBatchDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsPipelineJobsBatchDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsPipelineJobsBatchDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsPipelineJobsCancelCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsPipelineJobsCancelCall) Context(ctx context.Context) *ProjectsLocationsPipelineJobsCancelCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsPipelineJobsCancelCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "aiplatform.projects.locations.pipelineJobs.cancel" call. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsPipelineJobsCancelCall) Fields(s ...googleapi.Field) *ProjectsLocationsPipelineJobsCancelCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsPipelineJobsCancelCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsPipelineJobsCreateCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsPipelineJobsCreateCall) Context(ctx context.Context) *ProjectsLocationsPipelineJobsCreateCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsPipelineJobsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1PipelineJob, error)
Do executes the "aiplatform.projects.locations.pipelineJobs.create" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1PipelineJob.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsPipelineJobsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsPipelineJobsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsPipelineJobsCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsPipelineJobsCreateCall) PipelineJobId(pipelineJobId string) *ProjectsLocationsPipelineJobsCreateCall
PipelineJobId sets the optional parameter "pipelineJobId": The ID to use for the PipelineJob, which will become the final component of the PipelineJob name. If not provided, an ID will be automatically generated. This value should be less than 128 characters, and valid characters are `/a-z-/`.
type ProjectsLocationsPipelineJobsDeleteCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsPipelineJobsDeleteCall) Context(ctx context.Context) *ProjectsLocationsPipelineJobsDeleteCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsPipelineJobsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.pipelineJobs.delete" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsPipelineJobsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsPipelineJobsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsPipelineJobsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsPipelineJobsGetCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsPipelineJobsGetCall) Context(ctx context.Context) *ProjectsLocationsPipelineJobsGetCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsPipelineJobsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1PipelineJob, error)
Do executes the "aiplatform.projects.locations.pipelineJobs.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1PipelineJob.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsPipelineJobsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsPipelineJobsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsPipelineJobsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsPipelineJobsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsPipelineJobsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsLocationsPipelineJobsListCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsPipelineJobsListCall) Context(ctx context.Context) *ProjectsLocationsPipelineJobsListCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsPipelineJobsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1ListPipelineJobsResponse, error)
Do executes the "aiplatform.projects.locations.pipelineJobs.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1ListPipelineJobsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsPipelineJobsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsPipelineJobsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsPipelineJobsListCall) Filter(filter string) *ProjectsLocationsPipelineJobsListCall
Filter sets the optional parameter "filter": Lists the PipelineJobs that match the filter expression. The following fields are supported: * `pipeline_name`: Supports `=` and `!=` comparisons. * `display_name`: Supports `=`, `!=` comparisons, and `:` wildcard. * `pipeline_job_user_id`: Supports `=`, `!=` comparisons, and `:` wildcard. for example, can check if pipeline's display_name contains *step* by doing display_name:\"*step*\" * `state`: Supports `=` and `!=` comparisons. * `create_time`: Supports `=`, `!=`, `<`, `>`, `<=`, and `>=` comparisons. Values must be in RFC 3339 format. * `update_time`: Supports `=`, `!=`, `<`, `>`, `<=`, and `>=` comparisons. Values must be in RFC 3339 format. * `end_time`: Supports `=`, `!=`, `<`, `>`, `<=`, and `>=` comparisons. Values must be in RFC 3339 format. * `labels`: Supports key-value equality and key presence. * `template_uri`: Supports `=`, `!=` comparisons, and `:` wildcard. * `template_metadata.version`: Supports `=`, `!=` comparisons, and `:` wildcard. Filter expressions can be combined together using logical operators (`AND` & `OR`). For example: `pipeline_name="test" AND create_time>"2020-05-18T13:30:00Z". The syntax to define filter expression is based on https://google.aip.dev/160. Examples: * `create_time>"2021-05-18T00:00:00Z" OR update_time>"2020-05-18T00:00:00Z" PipelineJobs created or updated after 2020-05-18 00:00:00 UTC. * `labels.env = "prod" PipelineJobs with label "env" set to "prod".
func (c *ProjectsLocationsPipelineJobsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsPipelineJobsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsPipelineJobsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (c *ProjectsLocationsPipelineJobsListCall) OrderBy(orderBy string) *ProjectsLocationsPipelineJobsListCall
OrderBy sets the optional parameter "orderBy": A comma-separated list of fields to order by. The default sort order is in ascending order. Use "desc" after a field name for descending. You can have multiple order_by fields provided e.g. "create_time desc, end_time", "end_time, start_time, update_time" For example, using "create_time desc, end_time" will order results by create time in descending order, and if there are multiple jobs having the same create time, order them by the end time in ascending order. if order_by is not specified, it will order by default order is create time in descending order. Supported fields: * `create_time` * `update_time` * `end_time` * `start_time`
func (c *ProjectsLocationsPipelineJobsListCall) PageSize(pageSize int64) *ProjectsLocationsPipelineJobsListCall
PageSize sets the optional parameter "pageSize": The standard list page size.
func (c *ProjectsLocationsPipelineJobsListCall) PageToken(pageToken string) *ProjectsLocationsPipelineJobsListCall
PageToken sets the optional parameter "pageToken": The standard list page token. Typically obtained via ListPipelineJobsResponse.next_page_token of the previous PipelineService.ListPipelineJobs call.
func (c *ProjectsLocationsPipelineJobsListCall) Pages(ctx context.Context, f func(*GoogleCloudAiplatformV1ListPipelineJobsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
func (c *ProjectsLocationsPipelineJobsListCall) ReadMask(readMask string) *ProjectsLocationsPipelineJobsListCall
ReadMask sets the optional parameter "readMask": Mask specifying which fields to read.
type ProjectsLocationsPipelineJobsOperationsCancelCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsPipelineJobsOperationsCancelCall) Context(ctx context.Context) *ProjectsLocationsPipelineJobsOperationsCancelCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsPipelineJobsOperationsCancelCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "aiplatform.projects.locations.pipelineJobs.operations.cancel" call. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsPipelineJobsOperationsCancelCall) Fields(s ...googleapi.Field) *ProjectsLocationsPipelineJobsOperationsCancelCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsPipelineJobsOperationsCancelCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsPipelineJobsOperationsDeleteCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsPipelineJobsOperationsDeleteCall) Context(ctx context.Context) *ProjectsLocationsPipelineJobsOperationsDeleteCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsPipelineJobsOperationsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "aiplatform.projects.locations.pipelineJobs.operations.delete" call. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsPipelineJobsOperationsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsPipelineJobsOperationsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsPipelineJobsOperationsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsPipelineJobsOperationsGetCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsPipelineJobsOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsPipelineJobsOperationsGetCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsPipelineJobsOperationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.pipelineJobs.operations.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsPipelineJobsOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsPipelineJobsOperationsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsPipelineJobsOperationsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsPipelineJobsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsPipelineJobsOperationsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsLocationsPipelineJobsOperationsListCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsPipelineJobsOperationsListCall) Context(ctx context.Context) *ProjectsLocationsPipelineJobsOperationsListCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsPipelineJobsOperationsListCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningListOperationsResponse, error)
Do executes the "aiplatform.projects.locations.pipelineJobs.operations.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningListOperationsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsPipelineJobsOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsPipelineJobsOperationsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsPipelineJobsOperationsListCall) Filter(filter string) *ProjectsLocationsPipelineJobsOperationsListCall
Filter sets the optional parameter "filter": The standard list filter.
func (c *ProjectsLocationsPipelineJobsOperationsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsPipelineJobsOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsPipelineJobsOperationsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (c *ProjectsLocationsPipelineJobsOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsPipelineJobsOperationsListCall
PageSize sets the optional parameter "pageSize": The standard list page size.
func (c *ProjectsLocationsPipelineJobsOperationsListCall) PageToken(pageToken string) *ProjectsLocationsPipelineJobsOperationsListCall
PageToken sets the optional parameter "pageToken": The standard list page token.
func (c *ProjectsLocationsPipelineJobsOperationsListCall) Pages(ctx context.Context, f func(*GoogleLongrunningListOperationsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ProjectsLocationsPipelineJobsOperationsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsPipelineJobsOperationsService(s *Service) *ProjectsLocationsPipelineJobsOperationsService
func (r *ProjectsLocationsPipelineJobsOperationsService) Cancel(name string) *ProjectsLocationsPipelineJobsOperationsCancelCall
Cancel: Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
- name: The name of the operation resource to be cancelled.
func (r *ProjectsLocationsPipelineJobsOperationsService) Delete(name string) *ProjectsLocationsPipelineJobsOperationsDeleteCall
Delete: Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
- name: The name of the operation resource to be deleted.
func (r *ProjectsLocationsPipelineJobsOperationsService) Get(name string) *ProjectsLocationsPipelineJobsOperationsGetCall
Get: Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
- name: The name of the operation resource.
func (r *ProjectsLocationsPipelineJobsOperationsService) List(name string) *ProjectsLocationsPipelineJobsOperationsListCall
List: Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.
- name: The name of the operation's parent resource.
func (r *ProjectsLocationsPipelineJobsOperationsService) Wait(name string) *ProjectsLocationsPipelineJobsOperationsWaitCall
Wait: Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.
- name: The name of the operation resource to wait on.
type ProjectsLocationsPipelineJobsOperationsWaitCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsPipelineJobsOperationsWaitCall) Context(ctx context.Context) *ProjectsLocationsPipelineJobsOperationsWaitCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsPipelineJobsOperationsWaitCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.pipelineJobs.operations.wait" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsPipelineJobsOperationsWaitCall) Fields(s ...googleapi.Field) *ProjectsLocationsPipelineJobsOperationsWaitCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsPipelineJobsOperationsWaitCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsPipelineJobsOperationsWaitCall) Timeout(timeout string) *ProjectsLocationsPipelineJobsOperationsWaitCall
Timeout sets the optional parameter "timeout": The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.
type ProjectsLocationsPipelineJobsService struct { Operations *ProjectsLocationsPipelineJobsOperationsService // contains filtered or unexported fields }
func NewProjectsLocationsPipelineJobsService(s *Service) *ProjectsLocationsPipelineJobsService
func (r *ProjectsLocationsPipelineJobsService) BatchCancel(parent string, googlecloudaiplatformv1batchcancelpipelinejobsrequest *GoogleCloudAiplatformV1BatchCancelPipelineJobsRequest) *ProjectsLocationsPipelineJobsBatchCancelCall
BatchCancel: Batch cancel PipelineJobs. Firstly the server will check if all the jobs are in non-terminal states, and skip the jobs that are already terminated. If the operation failed, none of the pipeline jobs are cancelled. The server will poll the states of all the pipeline jobs periodically to check the cancellation status. This operation will return an LRO.
func (r *ProjectsLocationsPipelineJobsService) BatchDelete(parent string, googlecloudaiplatformv1batchdeletepipelinejobsrequest *GoogleCloudAiplatformV1BatchDeletePipelineJobsRequest) *ProjectsLocationsPipelineJobsBatchDeleteCall
BatchDelete: Batch deletes PipelineJobs The Operation is atomic. If it fails, none of the PipelineJobs are deleted. If it succeeds, all of the PipelineJobs are deleted.
func (r *ProjectsLocationsPipelineJobsService) Cancel(name string, googlecloudaiplatformv1cancelpipelinejobrequest *GoogleCloudAiplatformV1CancelPipelineJobRequest) *ProjectsLocationsPipelineJobsCancelCall
Cancel: Cancels a PipelineJob. Starts asynchronous cancellation on the PipelineJob. The server makes a best effort to cancel the pipeline, but success is not guaranteed. Clients can use PipelineService.GetPipelineJob or other methods to check whether the cancellation succeeded or whether the pipeline completed despite cancellation. On successful cancellation, the PipelineJob is not deleted; instead it becomes a pipeline with a PipelineJob.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`, and PipelineJob.state is set to `CANCELLED`.
func (r *ProjectsLocationsPipelineJobsService) Create(parent string, googlecloudaiplatformv1pipelinejob *GoogleCloudAiplatformV1PipelineJob) *ProjectsLocationsPipelineJobsCreateCall
Create: Creates a PipelineJob. A PipelineJob will run immediately when created.
func (r *ProjectsLocationsPipelineJobsService) Delete(name string) *ProjectsLocationsPipelineJobsDeleteCall
Delete: Deletes a PipelineJob.
func (r *ProjectsLocationsPipelineJobsService) Get(name string) *ProjectsLocationsPipelineJobsGetCall
Get: Gets a PipelineJob.
func (r *ProjectsLocationsPipelineJobsService) List(parent string) *ProjectsLocationsPipelineJobsListCall
List: Lists PipelineJobs in a Location.
type ProjectsLocationsPublishersModelsComputeTokensCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsPublishersModelsComputeTokensCall) Context(ctx context.Context) *ProjectsLocationsPublishersModelsComputeTokensCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsPublishersModelsComputeTokensCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1ComputeTokensResponse, error)
Do executes the "aiplatform.projects.locations.publishers.models.computeTokens" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1ComputeTokensResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsPublishersModelsComputeTokensCall) Fields(s ...googleapi.Field) *ProjectsLocationsPublishersModelsComputeTokensCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsPublishersModelsComputeTokensCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsPublishersModelsCountTokensCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsPublishersModelsCountTokensCall) Context(ctx context.Context) *ProjectsLocationsPublishersModelsCountTokensCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsPublishersModelsCountTokensCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1CountTokensResponse, error)
Do executes the "aiplatform.projects.locations.publishers.models.countTokens" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1CountTokensResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsPublishersModelsCountTokensCall) Fields(s ...googleapi.Field) *ProjectsLocationsPublishersModelsCountTokensCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsPublishersModelsCountTokensCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsPublishersModelsGenerateContentCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsPublishersModelsGenerateContentCall) Context(ctx context.Context) *ProjectsLocationsPublishersModelsGenerateContentCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsPublishersModelsGenerateContentCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1GenerateContentResponse, error)
Do executes the "aiplatform.projects.locations.publishers.models.generateContent" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1GenerateContentResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsPublishersModelsGenerateContentCall) Fields(s ...googleapi.Field) *ProjectsLocationsPublishersModelsGenerateContentCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsPublishersModelsGenerateContentCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsPublishersModelsPredictCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsPublishersModelsPredictCall) Context(ctx context.Context) *ProjectsLocationsPublishersModelsPredictCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsPublishersModelsPredictCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1PredictResponse, error)
Do executes the "aiplatform.projects.locations.publishers.models.predict" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1PredictResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsPublishersModelsPredictCall) Fields(s ...googleapi.Field) *ProjectsLocationsPublishersModelsPredictCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsPublishersModelsPredictCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsPublishersModelsRawPredictCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsPublishersModelsRawPredictCall) Context(ctx context.Context) *ProjectsLocationsPublishersModelsRawPredictCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsPublishersModelsRawPredictCall) Do(opts ...googleapi.CallOption) (*GoogleApiHttpBody, error)
Do executes the "aiplatform.projects.locations.publishers.models.rawPredict" call. Any non-2xx status code is an error. Response headers are in either *GoogleApiHttpBody.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsPublishersModelsRawPredictCall) Fields(s ...googleapi.Field) *ProjectsLocationsPublishersModelsRawPredictCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsPublishersModelsRawPredictCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsPublishersModelsServerStreamingPredictCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsPublishersModelsServerStreamingPredictCall) Context(ctx context.Context) *ProjectsLocationsPublishersModelsServerStreamingPredictCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsPublishersModelsServerStreamingPredictCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1StreamingPredictResponse, error)
Do executes the "aiplatform.projects.locations.publishers.models.serverStreamingPredict" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1StreamingPredictResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsPublishersModelsServerStreamingPredictCall) Fields(s ...googleapi.Field) *ProjectsLocationsPublishersModelsServerStreamingPredictCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsPublishersModelsServerStreamingPredictCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsPublishersModelsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsPublishersModelsService(s *Service) *ProjectsLocationsPublishersModelsService
func (r *ProjectsLocationsPublishersModelsService) ComputeTokens(endpoint string, googlecloudaiplatformv1computetokensrequest *GoogleCloudAiplatformV1ComputeTokensRequest) *ProjectsLocationsPublishersModelsComputeTokensCall
ComputeTokens: Return a list of tokens based on the input text.
func (r *ProjectsLocationsPublishersModelsService) CountTokens(endpoint string, googlecloudaiplatformv1counttokensrequest *GoogleCloudAiplatformV1CountTokensRequest) *ProjectsLocationsPublishersModelsCountTokensCall
CountTokens: Perform a token counting.
func (r *ProjectsLocationsPublishersModelsService) GenerateContent(model string, googlecloudaiplatformv1generatecontentrequest *GoogleCloudAiplatformV1GenerateContentRequest) *ProjectsLocationsPublishersModelsGenerateContentCall
GenerateContent: Generate content with multimodal inputs.
func (r *ProjectsLocationsPublishersModelsService) Predict(endpoint string, googlecloudaiplatformv1predictrequest *GoogleCloudAiplatformV1PredictRequest) *ProjectsLocationsPublishersModelsPredictCall
Predict: Perform an online prediction.
func (r *ProjectsLocationsPublishersModelsService) RawPredict(endpoint string, googlecloudaiplatformv1rawpredictrequest *GoogleCloudAiplatformV1RawPredictRequest) *ProjectsLocationsPublishersModelsRawPredictCall
RawPredict: Perform an online prediction with an arbitrary HTTP payload. The response includes the following HTTP headers: * `X-Vertex-AI-Endpoint-Id`: ID of the Endpoint that served this prediction. * `X-Vertex-AI-Deployed-Model-Id`: ID of the Endpoint's DeployedModel that served this prediction.
func (r *ProjectsLocationsPublishersModelsService) ServerStreamingPredict(endpoint string, googlecloudaiplatformv1streamingpredictrequest *GoogleCloudAiplatformV1StreamingPredictRequest) *ProjectsLocationsPublishersModelsServerStreamingPredictCall
ServerStreamingPredict: Perform a server-side streaming online prediction request for Vertex LLM streaming.
func (r *ProjectsLocationsPublishersModelsService) StreamGenerateContent(model string, googlecloudaiplatformv1generatecontentrequest *GoogleCloudAiplatformV1GenerateContentRequest) *ProjectsLocationsPublishersModelsStreamGenerateContentCall
StreamGenerateContent: Generate content with multimodal inputs with streaming support.
func (r *ProjectsLocationsPublishersModelsService) StreamRawPredict(endpoint string, googlecloudaiplatformv1streamrawpredictrequest *GoogleCloudAiplatformV1StreamRawPredictRequest) *ProjectsLocationsPublishersModelsStreamRawPredictCall
StreamRawPredict: Perform a streaming online prediction with an arbitrary HTTP payload.
type ProjectsLocationsPublishersModelsStreamGenerateContentCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsPublishersModelsStreamGenerateContentCall) Context(ctx context.Context) *ProjectsLocationsPublishersModelsStreamGenerateContentCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsPublishersModelsStreamGenerateContentCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1GenerateContentResponse, error)
Do executes the "aiplatform.projects.locations.publishers.models.streamGenerateContent" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1GenerateContentResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsPublishersModelsStreamGenerateContentCall) Fields(s ...googleapi.Field) *ProjectsLocationsPublishersModelsStreamGenerateContentCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsPublishersModelsStreamGenerateContentCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsPublishersModelsStreamRawPredictCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsPublishersModelsStreamRawPredictCall) Context(ctx context.Context) *ProjectsLocationsPublishersModelsStreamRawPredictCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsPublishersModelsStreamRawPredictCall) Do(opts ...googleapi.CallOption) (*GoogleApiHttpBody, error)
Do executes the "aiplatform.projects.locations.publishers.models.streamRawPredict" call. Any non-2xx status code is an error. Response headers are in either *GoogleApiHttpBody.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsPublishersModelsStreamRawPredictCall) Fields(s ...googleapi.Field) *ProjectsLocationsPublishersModelsStreamRawPredictCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsPublishersModelsStreamRawPredictCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsPublishersService struct { Models *ProjectsLocationsPublishersModelsService // contains filtered or unexported fields }
func NewProjectsLocationsPublishersService(s *Service) *ProjectsLocationsPublishersService
type ProjectsLocationsSchedulesCreateCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsSchedulesCreateCall) Context(ctx context.Context) *ProjectsLocationsSchedulesCreateCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsSchedulesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1Schedule, error)
Do executes the "aiplatform.projects.locations.schedules.create" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1Schedule.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsSchedulesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsSchedulesCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsSchedulesCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsSchedulesDeleteCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsSchedulesDeleteCall) Context(ctx context.Context) *ProjectsLocationsSchedulesDeleteCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsSchedulesDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.schedules.delete" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsSchedulesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsSchedulesDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsSchedulesDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsSchedulesGetCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsSchedulesGetCall) Context(ctx context.Context) *ProjectsLocationsSchedulesGetCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsSchedulesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1Schedule, error)
Do executes the "aiplatform.projects.locations.schedules.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1Schedule.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsSchedulesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsSchedulesGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsSchedulesGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsSchedulesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsSchedulesGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsLocationsSchedulesListCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsSchedulesListCall) Context(ctx context.Context) *ProjectsLocationsSchedulesListCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsSchedulesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1ListSchedulesResponse, error)
Do executes the "aiplatform.projects.locations.schedules.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1ListSchedulesResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsSchedulesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsSchedulesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsSchedulesListCall) Filter(filter string) *ProjectsLocationsSchedulesListCall
Filter sets the optional parameter "filter": Lists the Schedules that match the filter expression. The following fields are supported: * `display_name`: Supports `=`, `!=` comparisons, and `:` wildcard. * `state`: Supports `=` and `!=` comparisons. * `request`: Supports existence of the check. (e.g. `create_pipeline_job_request:*` --> Schedule has create_pipeline_job_request). * `create_time`: Supports `=`, `!=`, `<`, `>`, `<=`, and `>=` comparisons. Values must be in RFC 3339 format. * `start_time`: Supports `=`, `!=`, `<`, `>`, `<=`, and `>=` comparisons. Values must be in RFC 3339 format. * `end_time`: Supports `=`, `!=`, `<`, `>`, `<=`, `>=` comparisons and `:*` existence check. Values must be in RFC 3339 format. * `next_run_time`: Supports `=`, `!=`, `<`, `>`, `<=`, and `>=` comparisons. Values must be in RFC 3339 format. Filter expressions can be combined together using logical operators (`NOT`, `AND` & `OR`). The syntax to define filter expression is based on https://google.aip.dev/160. Examples: * `state="ACTIVE" AND display_name:"my_schedule_*" * `NOT display_name="my_schedule" * `create_time>"2021-05-18T00:00:00Z" * `end_time>"2021-05-18T00:00:00Z" OR NOT end_time:*` * `create_pipeline_job_request:*`
func (c *ProjectsLocationsSchedulesListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsSchedulesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsSchedulesListCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (c *ProjectsLocationsSchedulesListCall) OrderBy(orderBy string) *ProjectsLocationsSchedulesListCall
OrderBy sets the optional parameter "orderBy": A comma-separated list of fields to order by. The default sort order is in ascending order. Use "desc" after a field name for descending. You can have multiple order_by fields provided. For example, using "create_time desc, end_time" will order results by create time in descending order, and if there are multiple schedules having the same create time, order them by the end time in ascending order. If order_by is not specified, it will order by default with create_time in descending order. Supported fields: * `create_time` * `start_time` * `end_time` * `next_run_time`
func (c *ProjectsLocationsSchedulesListCall) PageSize(pageSize int64) *ProjectsLocationsSchedulesListCall
PageSize sets the optional parameter "pageSize": The standard list page size. Default to 100 if not specified.
func (c *ProjectsLocationsSchedulesListCall) PageToken(pageToken string) *ProjectsLocationsSchedulesListCall
PageToken sets the optional parameter "pageToken": The standard list page token. Typically obtained via ListSchedulesResponse.next_page_token of the previous ScheduleService.ListSchedules call.
func (c *ProjectsLocationsSchedulesListCall) Pages(ctx context.Context, f func(*GoogleCloudAiplatformV1ListSchedulesResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ProjectsLocationsSchedulesOperationsCancelCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsSchedulesOperationsCancelCall) Context(ctx context.Context) *ProjectsLocationsSchedulesOperationsCancelCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsSchedulesOperationsCancelCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "aiplatform.projects.locations.schedules.operations.cancel" call. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsSchedulesOperationsCancelCall) Fields(s ...googleapi.Field) *ProjectsLocationsSchedulesOperationsCancelCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsSchedulesOperationsCancelCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsSchedulesOperationsDeleteCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsSchedulesOperationsDeleteCall) Context(ctx context.Context) *ProjectsLocationsSchedulesOperationsDeleteCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsSchedulesOperationsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "aiplatform.projects.locations.schedules.operations.delete" call. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsSchedulesOperationsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsSchedulesOperationsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsSchedulesOperationsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsSchedulesOperationsGetCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsSchedulesOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsSchedulesOperationsGetCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsSchedulesOperationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.schedules.operations.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsSchedulesOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsSchedulesOperationsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsSchedulesOperationsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsSchedulesOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsSchedulesOperationsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsLocationsSchedulesOperationsListCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsSchedulesOperationsListCall) Context(ctx context.Context) *ProjectsLocationsSchedulesOperationsListCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsSchedulesOperationsListCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningListOperationsResponse, error)
Do executes the "aiplatform.projects.locations.schedules.operations.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningListOperationsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsSchedulesOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsSchedulesOperationsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsSchedulesOperationsListCall) Filter(filter string) *ProjectsLocationsSchedulesOperationsListCall
Filter sets the optional parameter "filter": The standard list filter.
func (c *ProjectsLocationsSchedulesOperationsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsSchedulesOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsSchedulesOperationsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (c *ProjectsLocationsSchedulesOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsSchedulesOperationsListCall
PageSize sets the optional parameter "pageSize": The standard list page size.
func (c *ProjectsLocationsSchedulesOperationsListCall) PageToken(pageToken string) *ProjectsLocationsSchedulesOperationsListCall
PageToken sets the optional parameter "pageToken": The standard list page token.
func (c *ProjectsLocationsSchedulesOperationsListCall) Pages(ctx context.Context, f func(*GoogleLongrunningListOperationsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ProjectsLocationsSchedulesOperationsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsSchedulesOperationsService(s *Service) *ProjectsLocationsSchedulesOperationsService
func (r *ProjectsLocationsSchedulesOperationsService) Cancel(name string) *ProjectsLocationsSchedulesOperationsCancelCall
Cancel: Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
- name: The name of the operation resource to be cancelled.
func (r *ProjectsLocationsSchedulesOperationsService) Delete(name string) *ProjectsLocationsSchedulesOperationsDeleteCall
Delete: Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
- name: The name of the operation resource to be deleted.
func (r *ProjectsLocationsSchedulesOperationsService) Get(name string) *ProjectsLocationsSchedulesOperationsGetCall
Get: Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
- name: The name of the operation resource.
func (r *ProjectsLocationsSchedulesOperationsService) List(name string) *ProjectsLocationsSchedulesOperationsListCall
List: Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.
- name: The name of the operation's parent resource.
func (r *ProjectsLocationsSchedulesOperationsService) Wait(name string) *ProjectsLocationsSchedulesOperationsWaitCall
Wait: Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.
- name: The name of the operation resource to wait on.
type ProjectsLocationsSchedulesOperationsWaitCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsSchedulesOperationsWaitCall) Context(ctx context.Context) *ProjectsLocationsSchedulesOperationsWaitCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsSchedulesOperationsWaitCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.schedules.operations.wait" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsSchedulesOperationsWaitCall) Fields(s ...googleapi.Field) *ProjectsLocationsSchedulesOperationsWaitCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsSchedulesOperationsWaitCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsSchedulesOperationsWaitCall) Timeout(timeout string) *ProjectsLocationsSchedulesOperationsWaitCall
Timeout sets the optional parameter "timeout": The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.
type ProjectsLocationsSchedulesPatchCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsSchedulesPatchCall) Context(ctx context.Context) *ProjectsLocationsSchedulesPatchCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsSchedulesPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1Schedule, error)
Do executes the "aiplatform.projects.locations.schedules.patch" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1Schedule.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsSchedulesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsSchedulesPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsSchedulesPatchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsSchedulesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsSchedulesPatchCall
UpdateMask sets the optional parameter "updateMask": Required. The update mask applies to the resource. See google.protobuf.FieldMask.
type ProjectsLocationsSchedulesPauseCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsSchedulesPauseCall) Context(ctx context.Context) *ProjectsLocationsSchedulesPauseCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsSchedulesPauseCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "aiplatform.projects.locations.schedules.pause" call. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsSchedulesPauseCall) Fields(s ...googleapi.Field) *ProjectsLocationsSchedulesPauseCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsSchedulesPauseCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsSchedulesResumeCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsSchedulesResumeCall) Context(ctx context.Context) *ProjectsLocationsSchedulesResumeCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsSchedulesResumeCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "aiplatform.projects.locations.schedules.resume" call. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsSchedulesResumeCall) Fields(s ...googleapi.Field) *ProjectsLocationsSchedulesResumeCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsSchedulesResumeCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsSchedulesService struct { Operations *ProjectsLocationsSchedulesOperationsService // contains filtered or unexported fields }
func NewProjectsLocationsSchedulesService(s *Service) *ProjectsLocationsSchedulesService
func (r *ProjectsLocationsSchedulesService) Create(parent string, googlecloudaiplatformv1schedule *GoogleCloudAiplatformV1Schedule) *ProjectsLocationsSchedulesCreateCall
Create: Creates a Schedule.
func (r *ProjectsLocationsSchedulesService) Delete(name string) *ProjectsLocationsSchedulesDeleteCall
Delete: Deletes a Schedule.
func (r *ProjectsLocationsSchedulesService) Get(name string) *ProjectsLocationsSchedulesGetCall
Get: Gets a Schedule.
func (r *ProjectsLocationsSchedulesService) List(parent string) *ProjectsLocationsSchedulesListCall
List: Lists Schedules in a Location.
func (r *ProjectsLocationsSchedulesService) Patch(name string, googlecloudaiplatformv1schedule *GoogleCloudAiplatformV1Schedule) *ProjectsLocationsSchedulesPatchCall
Patch: Updates an active or paused Schedule. When the Schedule is updated, new runs will be scheduled starting from the updated next execution time after the update time based on the time_specification in the updated Schedule. All unstarted runs before the update time will be skipped while already created runs will NOT be paused or canceled.
- name: Immutable. The resource name of the Schedule.
func (r *ProjectsLocationsSchedulesService) Pause(name string, googlecloudaiplatformv1pauseschedulerequest *GoogleCloudAiplatformV1PauseScheduleRequest) *ProjectsLocationsSchedulesPauseCall
Pause: Pauses a Schedule. Will mark Schedule.state to 'PAUSED'. If the schedule is paused, no new runs will be created. Already created runs will NOT be paused or canceled.
func (r *ProjectsLocationsSchedulesService) Resume(name string, googlecloudaiplatformv1resumeschedulerequest *GoogleCloudAiplatformV1ResumeScheduleRequest) *ProjectsLocationsSchedulesResumeCall
Resume: Resumes a paused Schedule to start scheduling new runs. Will mark Schedule.state to 'ACTIVE'. Only paused Schedule can be resumed. When the Schedule is resumed, new runs will be scheduled starting from the next execution time after the current time based on the time_specification in the Schedule. If Schedule.catchUp is set up true, all missed runs will be scheduled for backfill first.
type ProjectsLocationsService struct { BatchPredictionJobs *ProjectsLocationsBatchPredictionJobsService CustomJobs *ProjectsLocationsCustomJobsService DataLabelingJobs *ProjectsLocationsDataLabelingJobsService Datasets *ProjectsLocationsDatasetsService DeploymentResourcePools *ProjectsLocationsDeploymentResourcePoolsService Endpoints *ProjectsLocationsEndpointsService FeatureGroups *ProjectsLocationsFeatureGroupsService FeatureOnlineStores *ProjectsLocationsFeatureOnlineStoresService Featurestores *ProjectsLocationsFeaturestoresService HyperparameterTuningJobs *ProjectsLocationsHyperparameterTuningJobsService IndexEndpoints *ProjectsLocationsIndexEndpointsService Indexes *ProjectsLocationsIndexesService MetadataStores *ProjectsLocationsMetadataStoresService MigratableResources *ProjectsLocationsMigratableResourcesService ModelDeploymentMonitoringJobs *ProjectsLocationsModelDeploymentMonitoringJobsService Models *ProjectsLocationsModelsService NasJobs *ProjectsLocationsNasJobsService NotebookRuntimeTemplates *ProjectsLocationsNotebookRuntimeTemplatesService NotebookRuntimes *ProjectsLocationsNotebookRuntimesService Operations *ProjectsLocationsOperationsService PersistentResources *ProjectsLocationsPersistentResourcesService PipelineJobs *ProjectsLocationsPipelineJobsService Publishers *ProjectsLocationsPublishersService Schedules *ProjectsLocationsSchedulesService SpecialistPools *ProjectsLocationsSpecialistPoolsService Studies *ProjectsLocationsStudiesService Tensorboards *ProjectsLocationsTensorboardsService TrainingPipelines *ProjectsLocationsTrainingPipelinesService TuningJobs *ProjectsLocationsTuningJobsService // contains filtered or unexported fields }
func NewProjectsLocationsService(s *Service) *ProjectsLocationsService
func (r *ProjectsLocationsService) Get(name string) *ProjectsLocationsGetCall
Get: Gets information about a location.
- name: Resource name for the location.
func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall
List: Lists information about the supported locations for this service.
- name: The resource that owns the locations collection, if applicable.
type ProjectsLocationsSpecialistPoolsCreateCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsSpecialistPoolsCreateCall) Context(ctx context.Context) *ProjectsLocationsSpecialistPoolsCreateCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsSpecialistPoolsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.specialistPools.create" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsSpecialistPoolsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsSpecialistPoolsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsSpecialistPoolsCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsSpecialistPoolsDeleteCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsSpecialistPoolsDeleteCall) Context(ctx context.Context) *ProjectsLocationsSpecialistPoolsDeleteCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsSpecialistPoolsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.specialistPools.delete" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsSpecialistPoolsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsSpecialistPoolsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsSpecialistPoolsDeleteCall) Force(force bool) *ProjectsLocationsSpecialistPoolsDeleteCall
Force sets the optional parameter "force": If set to true, any specialist managers in this SpecialistPool will also be deleted. (Otherwise, the request will only work if the SpecialistPool has no specialist managers.)
func (c *ProjectsLocationsSpecialistPoolsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsSpecialistPoolsGetCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsSpecialistPoolsGetCall) Context(ctx context.Context) *ProjectsLocationsSpecialistPoolsGetCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsSpecialistPoolsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1SpecialistPool, error)
Do executes the "aiplatform.projects.locations.specialistPools.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1SpecialistPool.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsSpecialistPoolsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsSpecialistPoolsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsSpecialistPoolsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsSpecialistPoolsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsSpecialistPoolsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsLocationsSpecialistPoolsListCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsSpecialistPoolsListCall) Context(ctx context.Context) *ProjectsLocationsSpecialistPoolsListCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsSpecialistPoolsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1ListSpecialistPoolsResponse, error)
Do executes the "aiplatform.projects.locations.specialistPools.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1ListSpecialistPoolsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsSpecialistPoolsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsSpecialistPoolsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsSpecialistPoolsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsSpecialistPoolsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsSpecialistPoolsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (c *ProjectsLocationsSpecialistPoolsListCall) PageSize(pageSize int64) *ProjectsLocationsSpecialistPoolsListCall
PageSize sets the optional parameter "pageSize": The standard list page size.
func (c *ProjectsLocationsSpecialistPoolsListCall) PageToken(pageToken string) *ProjectsLocationsSpecialistPoolsListCall
PageToken sets the optional parameter "pageToken": The standard list page token. Typically obtained by ListSpecialistPoolsResponse.next_page_token of the previous SpecialistPoolService.ListSpecialistPools call. Return first page if empty.
func (c *ProjectsLocationsSpecialistPoolsListCall) Pages(ctx context.Context, f func(*GoogleCloudAiplatformV1ListSpecialistPoolsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
func (c *ProjectsLocationsSpecialistPoolsListCall) ReadMask(readMask string) *ProjectsLocationsSpecialistPoolsListCall
ReadMask sets the optional parameter "readMask": Mask specifying which fields to read. FieldMask represents a set of
type ProjectsLocationsSpecialistPoolsOperationsCancelCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsSpecialistPoolsOperationsCancelCall) Context(ctx context.Context) *ProjectsLocationsSpecialistPoolsOperationsCancelCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsSpecialistPoolsOperationsCancelCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "aiplatform.projects.locations.specialistPools.operations.cancel" call. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsSpecialistPoolsOperationsCancelCall) Fields(s ...googleapi.Field) *ProjectsLocationsSpecialistPoolsOperationsCancelCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsSpecialistPoolsOperationsCancelCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsSpecialistPoolsOperationsDeleteCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsSpecialistPoolsOperationsDeleteCall) Context(ctx context.Context) *ProjectsLocationsSpecialistPoolsOperationsDeleteCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsSpecialistPoolsOperationsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "aiplatform.projects.locations.specialistPools.operations.delete" call. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsSpecialistPoolsOperationsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsSpecialistPoolsOperationsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsSpecialistPoolsOperationsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsSpecialistPoolsOperationsGetCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsSpecialistPoolsOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsSpecialistPoolsOperationsGetCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsSpecialistPoolsOperationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.specialistPools.operations.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsSpecialistPoolsOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsSpecialistPoolsOperationsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsSpecialistPoolsOperationsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsSpecialistPoolsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsSpecialistPoolsOperationsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsLocationsSpecialistPoolsOperationsListCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsSpecialistPoolsOperationsListCall) Context(ctx context.Context) *ProjectsLocationsSpecialistPoolsOperationsListCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsSpecialistPoolsOperationsListCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningListOperationsResponse, error)
Do executes the "aiplatform.projects.locations.specialistPools.operations.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningListOperationsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsSpecialistPoolsOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsSpecialistPoolsOperationsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsSpecialistPoolsOperationsListCall) Filter(filter string) *ProjectsLocationsSpecialistPoolsOperationsListCall
Filter sets the optional parameter "filter": The standard list filter.
func (c *ProjectsLocationsSpecialistPoolsOperationsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsSpecialistPoolsOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsSpecialistPoolsOperationsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (c *ProjectsLocationsSpecialistPoolsOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsSpecialistPoolsOperationsListCall
PageSize sets the optional parameter "pageSize": The standard list page size.
func (c *ProjectsLocationsSpecialistPoolsOperationsListCall) PageToken(pageToken string) *ProjectsLocationsSpecialistPoolsOperationsListCall
PageToken sets the optional parameter "pageToken": The standard list page token.
func (c *ProjectsLocationsSpecialistPoolsOperationsListCall) Pages(ctx context.Context, f func(*GoogleLongrunningListOperationsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ProjectsLocationsSpecialistPoolsOperationsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsSpecialistPoolsOperationsService(s *Service) *ProjectsLocationsSpecialistPoolsOperationsService
func (r *ProjectsLocationsSpecialistPoolsOperationsService) Cancel(name string) *ProjectsLocationsSpecialistPoolsOperationsCancelCall
Cancel: Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
- name: The name of the operation resource to be cancelled.
func (r *ProjectsLocationsSpecialistPoolsOperationsService) Delete(name string) *ProjectsLocationsSpecialistPoolsOperationsDeleteCall
Delete: Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
- name: The name of the operation resource to be deleted.
func (r *ProjectsLocationsSpecialistPoolsOperationsService) Get(name string) *ProjectsLocationsSpecialistPoolsOperationsGetCall
Get: Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
- name: The name of the operation resource.
func (r *ProjectsLocationsSpecialistPoolsOperationsService) List(name string) *ProjectsLocationsSpecialistPoolsOperationsListCall
List: Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.
- name: The name of the operation's parent resource.
func (r *ProjectsLocationsSpecialistPoolsOperationsService) Wait(name string) *ProjectsLocationsSpecialistPoolsOperationsWaitCall
Wait: Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.
- name: The name of the operation resource to wait on.
type ProjectsLocationsSpecialistPoolsOperationsWaitCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsSpecialistPoolsOperationsWaitCall) Context(ctx context.Context) *ProjectsLocationsSpecialistPoolsOperationsWaitCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsSpecialistPoolsOperationsWaitCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.specialistPools.operations.wait" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsSpecialistPoolsOperationsWaitCall) Fields(s ...googleapi.Field) *ProjectsLocationsSpecialistPoolsOperationsWaitCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsSpecialistPoolsOperationsWaitCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsSpecialistPoolsOperationsWaitCall) Timeout(timeout string) *ProjectsLocationsSpecialistPoolsOperationsWaitCall
Timeout sets the optional parameter "timeout": The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.
type ProjectsLocationsSpecialistPoolsPatchCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsSpecialistPoolsPatchCall) Context(ctx context.Context) *ProjectsLocationsSpecialistPoolsPatchCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsSpecialistPoolsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.specialistPools.patch" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsSpecialistPoolsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsSpecialistPoolsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsSpecialistPoolsPatchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsSpecialistPoolsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsSpecialistPoolsPatchCall
UpdateMask sets the optional parameter "updateMask": Required. The update mask applies to the resource.
type ProjectsLocationsSpecialistPoolsService struct { Operations *ProjectsLocationsSpecialistPoolsOperationsService // contains filtered or unexported fields }
func NewProjectsLocationsSpecialistPoolsService(s *Service) *ProjectsLocationsSpecialistPoolsService
func (r *ProjectsLocationsSpecialistPoolsService) Create(parent string, googlecloudaiplatformv1specialistpool *GoogleCloudAiplatformV1SpecialistPool) *ProjectsLocationsSpecialistPoolsCreateCall
Create: Creates a SpecialistPool.
func (r *ProjectsLocationsSpecialistPoolsService) Delete(name string) *ProjectsLocationsSpecialistPoolsDeleteCall
Delete: Deletes a SpecialistPool as well as all Specialists in the pool.
func (r *ProjectsLocationsSpecialistPoolsService) Get(name string) *ProjectsLocationsSpecialistPoolsGetCall
Get: Gets a SpecialistPool.
func (r *ProjectsLocationsSpecialistPoolsService) List(parent string) *ProjectsLocationsSpecialistPoolsListCall
List: Lists SpecialistPools in a Location.
func (r *ProjectsLocationsSpecialistPoolsService) Patch(name string, googlecloudaiplatformv1specialistpool *GoogleCloudAiplatformV1SpecialistPool) *ProjectsLocationsSpecialistPoolsPatchCall
Patch: Updates a SpecialistPool.
- name: The resource name of the SpecialistPool.
type ProjectsLocationsStudiesCreateCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsStudiesCreateCall) Context(ctx context.Context) *ProjectsLocationsStudiesCreateCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsStudiesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1Study, error)
Do executes the "aiplatform.projects.locations.studies.create" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1Study.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsStudiesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsStudiesCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsStudiesCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsStudiesDeleteCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsStudiesDeleteCall) Context(ctx context.Context) *ProjectsLocationsStudiesDeleteCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsStudiesDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "aiplatform.projects.locations.studies.delete" call. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsStudiesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsStudiesDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsStudiesDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsStudiesGetCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsStudiesGetCall) Context(ctx context.Context) *ProjectsLocationsStudiesGetCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsStudiesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1Study, error)
Do executes the "aiplatform.projects.locations.studies.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1Study.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsStudiesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsStudiesGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsStudiesGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsStudiesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsStudiesGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsLocationsStudiesListCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsStudiesListCall) Context(ctx context.Context) *ProjectsLocationsStudiesListCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsStudiesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1ListStudiesResponse, error)
Do executes the "aiplatform.projects.locations.studies.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1ListStudiesResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsStudiesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsStudiesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsStudiesListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsStudiesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsStudiesListCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (c *ProjectsLocationsStudiesListCall) PageSize(pageSize int64) *ProjectsLocationsStudiesListCall
PageSize sets the optional parameter "pageSize": The maximum number of studies to return per "page" of results. If unspecified, service will pick an appropriate default.
func (c *ProjectsLocationsStudiesListCall) PageToken(pageToken string) *ProjectsLocationsStudiesListCall
PageToken sets the optional parameter "pageToken": A page token to request the next page of results. If unspecified, there are no subsequent pages.
func (c *ProjectsLocationsStudiesListCall) Pages(ctx context.Context, f func(*GoogleCloudAiplatformV1ListStudiesResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ProjectsLocationsStudiesLookupCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsStudiesLookupCall) Context(ctx context.Context) *ProjectsLocationsStudiesLookupCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsStudiesLookupCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1Study, error)
Do executes the "aiplatform.projects.locations.studies.lookup" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1Study.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsStudiesLookupCall) Fields(s ...googleapi.Field) *ProjectsLocationsStudiesLookupCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsStudiesLookupCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsStudiesOperationsCancelCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsStudiesOperationsCancelCall) Context(ctx context.Context) *ProjectsLocationsStudiesOperationsCancelCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsStudiesOperationsCancelCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "aiplatform.projects.locations.studies.operations.cancel" call. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsStudiesOperationsCancelCall) Fields(s ...googleapi.Field) *ProjectsLocationsStudiesOperationsCancelCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsStudiesOperationsCancelCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsStudiesOperationsDeleteCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsStudiesOperationsDeleteCall) Context(ctx context.Context) *ProjectsLocationsStudiesOperationsDeleteCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsStudiesOperationsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "aiplatform.projects.locations.studies.operations.delete" call. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsStudiesOperationsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsStudiesOperationsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsStudiesOperationsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsStudiesOperationsGetCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsStudiesOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsStudiesOperationsGetCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsStudiesOperationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.studies.operations.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsStudiesOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsStudiesOperationsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsStudiesOperationsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsStudiesOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsStudiesOperationsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsLocationsStudiesOperationsListCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsStudiesOperationsListCall) Context(ctx context.Context) *ProjectsLocationsStudiesOperationsListCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsStudiesOperationsListCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningListOperationsResponse, error)
Do executes the "aiplatform.projects.locations.studies.operations.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningListOperationsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsStudiesOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsStudiesOperationsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsStudiesOperationsListCall) Filter(filter string) *ProjectsLocationsStudiesOperationsListCall
Filter sets the optional parameter "filter": The standard list filter.
func (c *ProjectsLocationsStudiesOperationsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsStudiesOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsStudiesOperationsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (c *ProjectsLocationsStudiesOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsStudiesOperationsListCall
PageSize sets the optional parameter "pageSize": The standard list page size.
func (c *ProjectsLocationsStudiesOperationsListCall) PageToken(pageToken string) *ProjectsLocationsStudiesOperationsListCall
PageToken sets the optional parameter "pageToken": The standard list page token.
func (c *ProjectsLocationsStudiesOperationsListCall) Pages(ctx context.Context, f func(*GoogleLongrunningListOperationsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ProjectsLocationsStudiesOperationsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsStudiesOperationsService(s *Service) *ProjectsLocationsStudiesOperationsService
func (r *ProjectsLocationsStudiesOperationsService) Cancel(name string) *ProjectsLocationsStudiesOperationsCancelCall
Cancel: Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
- name: The name of the operation resource to be cancelled.
func (r *ProjectsLocationsStudiesOperationsService) Delete(name string) *ProjectsLocationsStudiesOperationsDeleteCall
Delete: Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
- name: The name of the operation resource to be deleted.
func (r *ProjectsLocationsStudiesOperationsService) Get(name string) *ProjectsLocationsStudiesOperationsGetCall
Get: Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
- name: The name of the operation resource.
func (r *ProjectsLocationsStudiesOperationsService) List(name string) *ProjectsLocationsStudiesOperationsListCall
List: Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.
- name: The name of the operation's parent resource.
func (r *ProjectsLocationsStudiesOperationsService) Wait(name string) *ProjectsLocationsStudiesOperationsWaitCall
Wait: Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.
- name: The name of the operation resource to wait on.
type ProjectsLocationsStudiesOperationsWaitCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsStudiesOperationsWaitCall) Context(ctx context.Context) *ProjectsLocationsStudiesOperationsWaitCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsStudiesOperationsWaitCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.studies.operations.wait" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsStudiesOperationsWaitCall) Fields(s ...googleapi.Field) *ProjectsLocationsStudiesOperationsWaitCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsStudiesOperationsWaitCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsStudiesOperationsWaitCall) Timeout(timeout string) *ProjectsLocationsStudiesOperationsWaitCall
Timeout sets the optional parameter "timeout": The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.
type ProjectsLocationsStudiesService struct { Operations *ProjectsLocationsStudiesOperationsService Trials *ProjectsLocationsStudiesTrialsService // contains filtered or unexported fields }
func NewProjectsLocationsStudiesService(s *Service) *ProjectsLocationsStudiesService
func (r *ProjectsLocationsStudiesService) Create(parent string, googlecloudaiplatformv1study *GoogleCloudAiplatformV1Study) *ProjectsLocationsStudiesCreateCall
Create: Creates a Study. A resource name will be generated after creation of the Study.
func (r *ProjectsLocationsStudiesService) Delete(name string) *ProjectsLocationsStudiesDeleteCall
Delete: Deletes a Study.
func (r *ProjectsLocationsStudiesService) Get(name string) *ProjectsLocationsStudiesGetCall
Get: Gets a Study by name.
func (r *ProjectsLocationsStudiesService) List(parent string) *ProjectsLocationsStudiesListCall
List: Lists all the studies in a region for an associated project.
func (r *ProjectsLocationsStudiesService) Lookup(parent string, googlecloudaiplatformv1lookupstudyrequest *GoogleCloudAiplatformV1LookupStudyRequest) *ProjectsLocationsStudiesLookupCall
Lookup: Looks a study up using the user-defined display_name field instead of the fully qualified resource name.
type ProjectsLocationsStudiesTrialsAddTrialMeasurementCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsStudiesTrialsAddTrialMeasurementCall) Context(ctx context.Context) *ProjectsLocationsStudiesTrialsAddTrialMeasurementCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsStudiesTrialsAddTrialMeasurementCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1Trial, error)
Do executes the "aiplatform.projects.locations.studies.trials.addTrialMeasurement" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1Trial.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsStudiesTrialsAddTrialMeasurementCall) Fields(s ...googleapi.Field) *ProjectsLocationsStudiesTrialsAddTrialMeasurementCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsStudiesTrialsAddTrialMeasurementCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsStudiesTrialsCheckTrialEarlyStoppingStateCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsStudiesTrialsCheckTrialEarlyStoppingStateCall) Context(ctx context.Context) *ProjectsLocationsStudiesTrialsCheckTrialEarlyStoppingStateCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsStudiesTrialsCheckTrialEarlyStoppingStateCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.studies.trials.checkTrialEarlyStoppingState" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsStudiesTrialsCheckTrialEarlyStoppingStateCall) Fields(s ...googleapi.Field) *ProjectsLocationsStudiesTrialsCheckTrialEarlyStoppingStateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsStudiesTrialsCheckTrialEarlyStoppingStateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsStudiesTrialsCompleteCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsStudiesTrialsCompleteCall) Context(ctx context.Context) *ProjectsLocationsStudiesTrialsCompleteCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsStudiesTrialsCompleteCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1Trial, error)
Do executes the "aiplatform.projects.locations.studies.trials.complete" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1Trial.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsStudiesTrialsCompleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsStudiesTrialsCompleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsStudiesTrialsCompleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsStudiesTrialsCreateCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsStudiesTrialsCreateCall) Context(ctx context.Context) *ProjectsLocationsStudiesTrialsCreateCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsStudiesTrialsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1Trial, error)
Do executes the "aiplatform.projects.locations.studies.trials.create" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1Trial.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsStudiesTrialsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsStudiesTrialsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsStudiesTrialsCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsStudiesTrialsDeleteCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsStudiesTrialsDeleteCall) Context(ctx context.Context) *ProjectsLocationsStudiesTrialsDeleteCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsStudiesTrialsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "aiplatform.projects.locations.studies.trials.delete" call. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsStudiesTrialsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsStudiesTrialsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsStudiesTrialsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsStudiesTrialsGetCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsStudiesTrialsGetCall) Context(ctx context.Context) *ProjectsLocationsStudiesTrialsGetCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsStudiesTrialsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1Trial, error)
Do executes the "aiplatform.projects.locations.studies.trials.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1Trial.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsStudiesTrialsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsStudiesTrialsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsStudiesTrialsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsStudiesTrialsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsStudiesTrialsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsLocationsStudiesTrialsListCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsStudiesTrialsListCall) Context(ctx context.Context) *ProjectsLocationsStudiesTrialsListCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsStudiesTrialsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1ListTrialsResponse, error)
Do executes the "aiplatform.projects.locations.studies.trials.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1ListTrialsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsStudiesTrialsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsStudiesTrialsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsStudiesTrialsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsStudiesTrialsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsStudiesTrialsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (c *ProjectsLocationsStudiesTrialsListCall) PageSize(pageSize int64) *ProjectsLocationsStudiesTrialsListCall
PageSize sets the optional parameter "pageSize": The number of Trials to retrieve per "page" of results. If unspecified, the service will pick an appropriate default.
func (c *ProjectsLocationsStudiesTrialsListCall) PageToken(pageToken string) *ProjectsLocationsStudiesTrialsListCall
PageToken sets the optional parameter "pageToken": A page token to request the next page of results. If unspecified, there are no subsequent pages.
func (c *ProjectsLocationsStudiesTrialsListCall) Pages(ctx context.Context, f func(*GoogleCloudAiplatformV1ListTrialsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ProjectsLocationsStudiesTrialsListOptimalTrialsCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsStudiesTrialsListOptimalTrialsCall) Context(ctx context.Context) *ProjectsLocationsStudiesTrialsListOptimalTrialsCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsStudiesTrialsListOptimalTrialsCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1ListOptimalTrialsResponse, error)
Do executes the "aiplatform.projects.locations.studies.trials.listOptimalTrials" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1ListOptimalTrialsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsStudiesTrialsListOptimalTrialsCall) Fields(s ...googleapi.Field) *ProjectsLocationsStudiesTrialsListOptimalTrialsCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsStudiesTrialsListOptimalTrialsCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsStudiesTrialsOperationsCancelCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsStudiesTrialsOperationsCancelCall) Context(ctx context.Context) *ProjectsLocationsStudiesTrialsOperationsCancelCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsStudiesTrialsOperationsCancelCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "aiplatform.projects.locations.studies.trials.operations.cancel" call. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsStudiesTrialsOperationsCancelCall) Fields(s ...googleapi.Field) *ProjectsLocationsStudiesTrialsOperationsCancelCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsStudiesTrialsOperationsCancelCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsStudiesTrialsOperationsDeleteCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsStudiesTrialsOperationsDeleteCall) Context(ctx context.Context) *ProjectsLocationsStudiesTrialsOperationsDeleteCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsStudiesTrialsOperationsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "aiplatform.projects.locations.studies.trials.operations.delete" call. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsStudiesTrialsOperationsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsStudiesTrialsOperationsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsStudiesTrialsOperationsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsStudiesTrialsOperationsGetCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsStudiesTrialsOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsStudiesTrialsOperationsGetCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsStudiesTrialsOperationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.studies.trials.operations.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsStudiesTrialsOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsStudiesTrialsOperationsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsStudiesTrialsOperationsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsStudiesTrialsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsStudiesTrialsOperationsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsLocationsStudiesTrialsOperationsListCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsStudiesTrialsOperationsListCall) Context(ctx context.Context) *ProjectsLocationsStudiesTrialsOperationsListCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsStudiesTrialsOperationsListCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningListOperationsResponse, error)
Do executes the "aiplatform.projects.locations.studies.trials.operations.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningListOperationsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsStudiesTrialsOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsStudiesTrialsOperationsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsStudiesTrialsOperationsListCall) Filter(filter string) *ProjectsLocationsStudiesTrialsOperationsListCall
Filter sets the optional parameter "filter": The standard list filter.
func (c *ProjectsLocationsStudiesTrialsOperationsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsStudiesTrialsOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsStudiesTrialsOperationsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (c *ProjectsLocationsStudiesTrialsOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsStudiesTrialsOperationsListCall
PageSize sets the optional parameter "pageSize": The standard list page size.
func (c *ProjectsLocationsStudiesTrialsOperationsListCall) PageToken(pageToken string) *ProjectsLocationsStudiesTrialsOperationsListCall
PageToken sets the optional parameter "pageToken": The standard list page token.
func (c *ProjectsLocationsStudiesTrialsOperationsListCall) Pages(ctx context.Context, f func(*GoogleLongrunningListOperationsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ProjectsLocationsStudiesTrialsOperationsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsStudiesTrialsOperationsService(s *Service) *ProjectsLocationsStudiesTrialsOperationsService
func (r *ProjectsLocationsStudiesTrialsOperationsService) Cancel(name string) *ProjectsLocationsStudiesTrialsOperationsCancelCall
Cancel: Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
- name: The name of the operation resource to be cancelled.
func (r *ProjectsLocationsStudiesTrialsOperationsService) Delete(name string) *ProjectsLocationsStudiesTrialsOperationsDeleteCall
Delete: Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
- name: The name of the operation resource to be deleted.
func (r *ProjectsLocationsStudiesTrialsOperationsService) Get(name string) *ProjectsLocationsStudiesTrialsOperationsGetCall
Get: Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
- name: The name of the operation resource.
func (r *ProjectsLocationsStudiesTrialsOperationsService) List(name string) *ProjectsLocationsStudiesTrialsOperationsListCall
List: Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.
- name: The name of the operation's parent resource.
func (r *ProjectsLocationsStudiesTrialsOperationsService) Wait(name string) *ProjectsLocationsStudiesTrialsOperationsWaitCall
Wait: Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.
- name: The name of the operation resource to wait on.
type ProjectsLocationsStudiesTrialsOperationsWaitCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsStudiesTrialsOperationsWaitCall) Context(ctx context.Context) *ProjectsLocationsStudiesTrialsOperationsWaitCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsStudiesTrialsOperationsWaitCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.studies.trials.operations.wait" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsStudiesTrialsOperationsWaitCall) Fields(s ...googleapi.Field) *ProjectsLocationsStudiesTrialsOperationsWaitCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsStudiesTrialsOperationsWaitCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsStudiesTrialsOperationsWaitCall) Timeout(timeout string) *ProjectsLocationsStudiesTrialsOperationsWaitCall
Timeout sets the optional parameter "timeout": The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.
type ProjectsLocationsStudiesTrialsService struct { Operations *ProjectsLocationsStudiesTrialsOperationsService // contains filtered or unexported fields }
func NewProjectsLocationsStudiesTrialsService(s *Service) *ProjectsLocationsStudiesTrialsService
func (r *ProjectsLocationsStudiesTrialsService) AddTrialMeasurement(trialName string, googlecloudaiplatformv1addtrialmeasurementrequest *GoogleCloudAiplatformV1AddTrialMeasurementRequest) *ProjectsLocationsStudiesTrialsAddTrialMeasurementCall
AddTrialMeasurement: Adds a measurement of the objective metrics to a Trial. This measurement is assumed to have been taken before the Trial is complete.
func (r *ProjectsLocationsStudiesTrialsService) CheckTrialEarlyStoppingState(trialName string, googlecloudaiplatformv1checktrialearlystoppingstaterequest *GoogleCloudAiplatformV1CheckTrialEarlyStoppingStateRequest) *ProjectsLocationsStudiesTrialsCheckTrialEarlyStoppingStateCall
CheckTrialEarlyStoppingState: Checks whether a Trial should stop or not. Returns a long-running operation. When the operation is successful, it will contain a CheckTrialEarlyStoppingStateResponse.
func (r *ProjectsLocationsStudiesTrialsService) Complete(name string, googlecloudaiplatformv1completetrialrequest *GoogleCloudAiplatformV1CompleteTrialRequest) *ProjectsLocationsStudiesTrialsCompleteCall
Complete: Marks a Trial as complete.
func (r *ProjectsLocationsStudiesTrialsService) Create(parent string, googlecloudaiplatformv1trial *GoogleCloudAiplatformV1Trial) *ProjectsLocationsStudiesTrialsCreateCall
Create: Adds a user provided Trial to a Study.
func (r *ProjectsLocationsStudiesTrialsService) Delete(name string) *ProjectsLocationsStudiesTrialsDeleteCall
Delete: Deletes a Trial.
func (r *ProjectsLocationsStudiesTrialsService) Get(name string) *ProjectsLocationsStudiesTrialsGetCall
Get: Gets a Trial.
func (r *ProjectsLocationsStudiesTrialsService) List(parent string) *ProjectsLocationsStudiesTrialsListCall
List: Lists the Trials associated with a Study.
func (r *ProjectsLocationsStudiesTrialsService) ListOptimalTrials(parent string, googlecloudaiplatformv1listoptimaltrialsrequest *GoogleCloudAiplatformV1ListOptimalTrialsRequest) *ProjectsLocationsStudiesTrialsListOptimalTrialsCall
ListOptimalTrials: Lists the pareto-optimal Trials for multi-objective Study or the optimal Trials for single-objective Study. The definition of pareto-optimal can be checked in wiki page. https://en.wikipedia.org/wiki/Pareto_efficiency
- parent: The name of the Study that the optimal Trial belongs to.
func (r *ProjectsLocationsStudiesTrialsService) Stop(name string, googlecloudaiplatformv1stoptrialrequest *GoogleCloudAiplatformV1StopTrialRequest) *ProjectsLocationsStudiesTrialsStopCall
Stop: Stops a Trial.
func (r *ProjectsLocationsStudiesTrialsService) Suggest(parent string, googlecloudaiplatformv1suggesttrialsrequest *GoogleCloudAiplatformV1SuggestTrialsRequest) *ProjectsLocationsStudiesTrialsSuggestCall
Suggest: Adds one or more Trials to a Study, with parameter values suggested by Vertex AI Vizier. Returns a long-running operation associated with the generation of Trial suggestions. When this long-running operation succeeds, it will contain a SuggestTrialsResponse.
type ProjectsLocationsStudiesTrialsStopCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsStudiesTrialsStopCall) Context(ctx context.Context) *ProjectsLocationsStudiesTrialsStopCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsStudiesTrialsStopCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1Trial, error)
Do executes the "aiplatform.projects.locations.studies.trials.stop" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1Trial.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsStudiesTrialsStopCall) Fields(s ...googleapi.Field) *ProjectsLocationsStudiesTrialsStopCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsStudiesTrialsStopCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsStudiesTrialsSuggestCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsStudiesTrialsSuggestCall) Context(ctx context.Context) *ProjectsLocationsStudiesTrialsSuggestCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsStudiesTrialsSuggestCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.studies.trials.suggest" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsStudiesTrialsSuggestCall) Fields(s ...googleapi.Field) *ProjectsLocationsStudiesTrialsSuggestCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsStudiesTrialsSuggestCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsTensorboardsBatchReadCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsTensorboardsBatchReadCall) Context(ctx context.Context) *ProjectsLocationsTensorboardsBatchReadCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsTensorboardsBatchReadCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1BatchReadTensorboardTimeSeriesDataResponse, error)
Do executes the "aiplatform.projects.locations.tensorboards.batchRead" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1BatchReadTensorboardTimeSeriesDataResponse.ServerResp onse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsTensorboardsBatchReadCall) Fields(s ...googleapi.Field) *ProjectsLocationsTensorboardsBatchReadCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsTensorboardsBatchReadCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsTensorboardsBatchReadCall) IfNoneMatch(entityTag string) *ProjectsLocationsTensorboardsBatchReadCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (c *ProjectsLocationsTensorboardsBatchReadCall) TimeSeries(timeSeries ...string) *ProjectsLocationsTensorboardsBatchReadCall
TimeSeries sets the optional parameter "timeSeries": Required. The resource names of the TensorboardTimeSeries to read data from. Format: `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experimen ts/{experiment}/runs/{run}/timeSeries/{time_series}`
type ProjectsLocationsTensorboardsCreateCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsTensorboardsCreateCall) Context(ctx context.Context) *ProjectsLocationsTensorboardsCreateCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsTensorboardsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.tensorboards.create" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsTensorboardsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsTensorboardsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsTensorboardsCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsTensorboardsDeleteCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsTensorboardsDeleteCall) Context(ctx context.Context) *ProjectsLocationsTensorboardsDeleteCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsTensorboardsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.tensorboards.delete" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsTensorboardsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsTensorboardsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsTensorboardsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsTensorboardsExperimentsBatchCreateCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsTensorboardsExperimentsBatchCreateCall) Context(ctx context.Context) *ProjectsLocationsTensorboardsExperimentsBatchCreateCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsTensorboardsExperimentsBatchCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1BatchCreateTensorboardTimeSeriesResponse, error)
Do executes the "aiplatform.projects.locations.tensorboards.experiments.batchCreate" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1BatchCreateTensorboardTimeSeriesResponse.ServerRespon se.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsTensorboardsExperimentsBatchCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsTensorboardsExperimentsBatchCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsTensorboardsExperimentsBatchCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsTensorboardsExperimentsCreateCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsTensorboardsExperimentsCreateCall) Context(ctx context.Context) *ProjectsLocationsTensorboardsExperimentsCreateCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsTensorboardsExperimentsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1TensorboardExperiment, error)
Do executes the "aiplatform.projects.locations.tensorboards.experiments.create" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1TensorboardExperiment.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsTensorboardsExperimentsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsTensorboardsExperimentsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsTensorboardsExperimentsCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsTensorboardsExperimentsCreateCall) TensorboardExperimentId(tensorboardExperimentId string) *ProjectsLocationsTensorboardsExperimentsCreateCall
TensorboardExperimentId sets the optional parameter "tensorboardExperimentId": Required. The ID to use for the Tensorboard experiment, which becomes the final component of the Tensorboard experiment's resource name. This value should be 1-128 characters, and valid characters are `/a-z-/`.
type ProjectsLocationsTensorboardsExperimentsDeleteCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsTensorboardsExperimentsDeleteCall) Context(ctx context.Context) *ProjectsLocationsTensorboardsExperimentsDeleteCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsTensorboardsExperimentsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.tensorboards.experiments.delete" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsTensorboardsExperimentsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsTensorboardsExperimentsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsTensorboardsExperimentsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsTensorboardsExperimentsGetCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsTensorboardsExperimentsGetCall) Context(ctx context.Context) *ProjectsLocationsTensorboardsExperimentsGetCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsTensorboardsExperimentsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1TensorboardExperiment, error)
Do executes the "aiplatform.projects.locations.tensorboards.experiments.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1TensorboardExperiment.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsTensorboardsExperimentsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsTensorboardsExperimentsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsTensorboardsExperimentsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsTensorboardsExperimentsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsTensorboardsExperimentsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsLocationsTensorboardsExperimentsListCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsTensorboardsExperimentsListCall) Context(ctx context.Context) *ProjectsLocationsTensorboardsExperimentsListCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsTensorboardsExperimentsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1ListTensorboardExperimentsResponse, error)
Do executes the "aiplatform.projects.locations.tensorboards.experiments.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1ListTensorboardExperimentsResponse.ServerResponse.Hea der or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsTensorboardsExperimentsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsTensorboardsExperimentsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsTensorboardsExperimentsListCall) Filter(filter string) *ProjectsLocationsTensorboardsExperimentsListCall
Filter sets the optional parameter "filter": Lists the TensorboardExperiments that match the filter expression.
func (c *ProjectsLocationsTensorboardsExperimentsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsTensorboardsExperimentsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsTensorboardsExperimentsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (c *ProjectsLocationsTensorboardsExperimentsListCall) OrderBy(orderBy string) *ProjectsLocationsTensorboardsExperimentsListCall
OrderBy sets the optional parameter "orderBy": Field to use to sort the list.
func (c *ProjectsLocationsTensorboardsExperimentsListCall) PageSize(pageSize int64) *ProjectsLocationsTensorboardsExperimentsListCall
PageSize sets the optional parameter "pageSize": The maximum number of TensorboardExperiments to return. The service may return fewer than this value. If unspecified, at most 50 TensorboardExperiments are returned. The maximum value is 1000; values above 1000 are coerced to 1000.
func (c *ProjectsLocationsTensorboardsExperimentsListCall) PageToken(pageToken string) *ProjectsLocationsTensorboardsExperimentsListCall
PageToken sets the optional parameter "pageToken": A page token, received from a previous TensorboardService.ListTensorboardExperiments call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to TensorboardService.ListTensorboardExperiments must match the call that provided the page token.
func (c *ProjectsLocationsTensorboardsExperimentsListCall) Pages(ctx context.Context, f func(*GoogleCloudAiplatformV1ListTensorboardExperimentsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
func (c *ProjectsLocationsTensorboardsExperimentsListCall) ReadMask(readMask string) *ProjectsLocationsTensorboardsExperimentsListCall
ReadMask sets the optional parameter "readMask": Mask specifying which fields to read.
type ProjectsLocationsTensorboardsExperimentsOperationsCancelCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsTensorboardsExperimentsOperationsCancelCall) Context(ctx context.Context) *ProjectsLocationsTensorboardsExperimentsOperationsCancelCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsTensorboardsExperimentsOperationsCancelCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "aiplatform.projects.locations.tensorboards.experiments.operations.cancel" call. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsTensorboardsExperimentsOperationsCancelCall) Fields(s ...googleapi.Field) *ProjectsLocationsTensorboardsExperimentsOperationsCancelCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsTensorboardsExperimentsOperationsCancelCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsTensorboardsExperimentsOperationsDeleteCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsTensorboardsExperimentsOperationsDeleteCall) Context(ctx context.Context) *ProjectsLocationsTensorboardsExperimentsOperationsDeleteCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsTensorboardsExperimentsOperationsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "aiplatform.projects.locations.tensorboards.experiments.operations.delete" call. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsTensorboardsExperimentsOperationsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsTensorboardsExperimentsOperationsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsTensorboardsExperimentsOperationsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsTensorboardsExperimentsOperationsGetCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsTensorboardsExperimentsOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsTensorboardsExperimentsOperationsGetCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsTensorboardsExperimentsOperationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.tensorboards.experiments.operations.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsTensorboardsExperimentsOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsTensorboardsExperimentsOperationsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsTensorboardsExperimentsOperationsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsTensorboardsExperimentsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsTensorboardsExperimentsOperationsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsLocationsTensorboardsExperimentsOperationsListCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsTensorboardsExperimentsOperationsListCall) Context(ctx context.Context) *ProjectsLocationsTensorboardsExperimentsOperationsListCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsTensorboardsExperimentsOperationsListCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningListOperationsResponse, error)
Do executes the "aiplatform.projects.locations.tensorboards.experiments.operations.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningListOperationsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsTensorboardsExperimentsOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsTensorboardsExperimentsOperationsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsTensorboardsExperimentsOperationsListCall) Filter(filter string) *ProjectsLocationsTensorboardsExperimentsOperationsListCall
Filter sets the optional parameter "filter": The standard list filter.
func (c *ProjectsLocationsTensorboardsExperimentsOperationsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsTensorboardsExperimentsOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsTensorboardsExperimentsOperationsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (c *ProjectsLocationsTensorboardsExperimentsOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsTensorboardsExperimentsOperationsListCall
PageSize sets the optional parameter "pageSize": The standard list page size.
func (c *ProjectsLocationsTensorboardsExperimentsOperationsListCall) PageToken(pageToken string) *ProjectsLocationsTensorboardsExperimentsOperationsListCall
PageToken sets the optional parameter "pageToken": The standard list page token.
func (c *ProjectsLocationsTensorboardsExperimentsOperationsListCall) Pages(ctx context.Context, f func(*GoogleLongrunningListOperationsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ProjectsLocationsTensorboardsExperimentsOperationsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsTensorboardsExperimentsOperationsService(s *Service) *ProjectsLocationsTensorboardsExperimentsOperationsService
func (r *ProjectsLocationsTensorboardsExperimentsOperationsService) Cancel(name string) *ProjectsLocationsTensorboardsExperimentsOperationsCancelCall
Cancel: Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
- name: The name of the operation resource to be cancelled.
func (r *ProjectsLocationsTensorboardsExperimentsOperationsService) Delete(name string) *ProjectsLocationsTensorboardsExperimentsOperationsDeleteCall
Delete: Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
- name: The name of the operation resource to be deleted.
func (r *ProjectsLocationsTensorboardsExperimentsOperationsService) Get(name string) *ProjectsLocationsTensorboardsExperimentsOperationsGetCall
Get: Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
- name: The name of the operation resource.
func (r *ProjectsLocationsTensorboardsExperimentsOperationsService) List(name string) *ProjectsLocationsTensorboardsExperimentsOperationsListCall
List: Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.
- name: The name of the operation's parent resource.
func (r *ProjectsLocationsTensorboardsExperimentsOperationsService) Wait(name string) *ProjectsLocationsTensorboardsExperimentsOperationsWaitCall
Wait: Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.
- name: The name of the operation resource to wait on.
type ProjectsLocationsTensorboardsExperimentsOperationsWaitCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsTensorboardsExperimentsOperationsWaitCall) Context(ctx context.Context) *ProjectsLocationsTensorboardsExperimentsOperationsWaitCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsTensorboardsExperimentsOperationsWaitCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.tensorboards.experiments.operations.wait" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsTensorboardsExperimentsOperationsWaitCall) Fields(s ...googleapi.Field) *ProjectsLocationsTensorboardsExperimentsOperationsWaitCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsTensorboardsExperimentsOperationsWaitCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsTensorboardsExperimentsOperationsWaitCall) Timeout(timeout string) *ProjectsLocationsTensorboardsExperimentsOperationsWaitCall
Timeout sets the optional parameter "timeout": The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.
type ProjectsLocationsTensorboardsExperimentsPatchCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsTensorboardsExperimentsPatchCall) Context(ctx context.Context) *ProjectsLocationsTensorboardsExperimentsPatchCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsTensorboardsExperimentsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1TensorboardExperiment, error)
Do executes the "aiplatform.projects.locations.tensorboards.experiments.patch" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1TensorboardExperiment.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsTensorboardsExperimentsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsTensorboardsExperimentsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsTensorboardsExperimentsPatchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsTensorboardsExperimentsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsTensorboardsExperimentsPatchCall
UpdateMask sets the optional parameter "updateMask": Required. Field mask is used to specify the fields to be overwritten in the TensorboardExperiment resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field is overwritten if it's in the mask. If the user does not provide a mask then all fields are overwritten if new values are specified.
type ProjectsLocationsTensorboardsExperimentsRunsBatchCreateCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsTensorboardsExperimentsRunsBatchCreateCall) Context(ctx context.Context) *ProjectsLocationsTensorboardsExperimentsRunsBatchCreateCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsTensorboardsExperimentsRunsBatchCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1BatchCreateTensorboardRunsResponse, error)
Do executes the "aiplatform.projects.locations.tensorboards.experiments.runs.batchCreate" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1BatchCreateTensorboardRunsResponse.ServerResponse.Hea der or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsTensorboardsExperimentsRunsBatchCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsTensorboardsExperimentsRunsBatchCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsTensorboardsExperimentsRunsBatchCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsTensorboardsExperimentsRunsCreateCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsTensorboardsExperimentsRunsCreateCall) Context(ctx context.Context) *ProjectsLocationsTensorboardsExperimentsRunsCreateCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsTensorboardsExperimentsRunsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1TensorboardRun, error)
Do executes the "aiplatform.projects.locations.tensorboards.experiments.runs.create" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1TensorboardRun.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsTensorboardsExperimentsRunsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsTensorboardsExperimentsRunsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsTensorboardsExperimentsRunsCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsTensorboardsExperimentsRunsCreateCall) TensorboardRunId(tensorboardRunId string) *ProjectsLocationsTensorboardsExperimentsRunsCreateCall
TensorboardRunId sets the optional parameter "tensorboardRunId": Required. The ID to use for the Tensorboard run, which becomes the final component of the Tensorboard run's resource name. This value should be 1-128 characters, and valid characters are `/a-z-/`.
type ProjectsLocationsTensorboardsExperimentsRunsDeleteCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsTensorboardsExperimentsRunsDeleteCall) Context(ctx context.Context) *ProjectsLocationsTensorboardsExperimentsRunsDeleteCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsTensorboardsExperimentsRunsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.tensorboards.experiments.runs.delete" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsTensorboardsExperimentsRunsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsTensorboardsExperimentsRunsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsTensorboardsExperimentsRunsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsTensorboardsExperimentsRunsGetCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsTensorboardsExperimentsRunsGetCall) Context(ctx context.Context) *ProjectsLocationsTensorboardsExperimentsRunsGetCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsTensorboardsExperimentsRunsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1TensorboardRun, error)
Do executes the "aiplatform.projects.locations.tensorboards.experiments.runs.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1TensorboardRun.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsTensorboardsExperimentsRunsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsTensorboardsExperimentsRunsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsTensorboardsExperimentsRunsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsTensorboardsExperimentsRunsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsTensorboardsExperimentsRunsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsLocationsTensorboardsExperimentsRunsListCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsTensorboardsExperimentsRunsListCall) Context(ctx context.Context) *ProjectsLocationsTensorboardsExperimentsRunsListCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsTensorboardsExperimentsRunsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1ListTensorboardRunsResponse, error)
Do executes the "aiplatform.projects.locations.tensorboards.experiments.runs.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1ListTensorboardRunsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsTensorboardsExperimentsRunsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsTensorboardsExperimentsRunsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsTensorboardsExperimentsRunsListCall) Filter(filter string) *ProjectsLocationsTensorboardsExperimentsRunsListCall
Filter sets the optional parameter "filter": Lists the TensorboardRuns that match the filter expression.
func (c *ProjectsLocationsTensorboardsExperimentsRunsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsTensorboardsExperimentsRunsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsTensorboardsExperimentsRunsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (c *ProjectsLocationsTensorboardsExperimentsRunsListCall) OrderBy(orderBy string) *ProjectsLocationsTensorboardsExperimentsRunsListCall
OrderBy sets the optional parameter "orderBy": Field to use to sort the list.
func (c *ProjectsLocationsTensorboardsExperimentsRunsListCall) PageSize(pageSize int64) *ProjectsLocationsTensorboardsExperimentsRunsListCall
PageSize sets the optional parameter "pageSize": The maximum number of TensorboardRuns to return. The service may return fewer than this value. If unspecified, at most 50 TensorboardRuns are returned. The maximum value is 1000; values above 1000 are coerced to 1000.
func (c *ProjectsLocationsTensorboardsExperimentsRunsListCall) PageToken(pageToken string) *ProjectsLocationsTensorboardsExperimentsRunsListCall
PageToken sets the optional parameter "pageToken": A page token, received from a previous TensorboardService.ListTensorboardRuns call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to TensorboardService.ListTensorboardRuns must match the call that provided the page token.
func (c *ProjectsLocationsTensorboardsExperimentsRunsListCall) Pages(ctx context.Context, f func(*GoogleCloudAiplatformV1ListTensorboardRunsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
func (c *ProjectsLocationsTensorboardsExperimentsRunsListCall) ReadMask(readMask string) *ProjectsLocationsTensorboardsExperimentsRunsListCall
ReadMask sets the optional parameter "readMask": Mask specifying which fields to read.
type ProjectsLocationsTensorboardsExperimentsRunsOperationsCancelCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsTensorboardsExperimentsRunsOperationsCancelCall) Context(ctx context.Context) *ProjectsLocationsTensorboardsExperimentsRunsOperationsCancelCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsTensorboardsExperimentsRunsOperationsCancelCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "aiplatform.projects.locations.tensorboards.experiments.runs.operations.cancel" call. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsTensorboardsExperimentsRunsOperationsCancelCall) Fields(s ...googleapi.Field) *ProjectsLocationsTensorboardsExperimentsRunsOperationsCancelCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsTensorboardsExperimentsRunsOperationsCancelCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsTensorboardsExperimentsRunsOperationsDeleteCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsTensorboardsExperimentsRunsOperationsDeleteCall) Context(ctx context.Context) *ProjectsLocationsTensorboardsExperimentsRunsOperationsDeleteCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsTensorboardsExperimentsRunsOperationsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "aiplatform.projects.locations.tensorboards.experiments.runs.operations.delete" call. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsTensorboardsExperimentsRunsOperationsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsTensorboardsExperimentsRunsOperationsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsTensorboardsExperimentsRunsOperationsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsTensorboardsExperimentsRunsOperationsGetCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsTensorboardsExperimentsRunsOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsTensorboardsExperimentsRunsOperationsGetCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsTensorboardsExperimentsRunsOperationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.tensorboards.experiments.runs.operations.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsTensorboardsExperimentsRunsOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsTensorboardsExperimentsRunsOperationsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsTensorboardsExperimentsRunsOperationsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsTensorboardsExperimentsRunsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsTensorboardsExperimentsRunsOperationsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsLocationsTensorboardsExperimentsRunsOperationsListCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsTensorboardsExperimentsRunsOperationsListCall) Context(ctx context.Context) *ProjectsLocationsTensorboardsExperimentsRunsOperationsListCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsTensorboardsExperimentsRunsOperationsListCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningListOperationsResponse, error)
Do executes the "aiplatform.projects.locations.tensorboards.experiments.runs.operations.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningListOperationsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsTensorboardsExperimentsRunsOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsTensorboardsExperimentsRunsOperationsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsTensorboardsExperimentsRunsOperationsListCall) Filter(filter string) *ProjectsLocationsTensorboardsExperimentsRunsOperationsListCall
Filter sets the optional parameter "filter": The standard list filter.
func (c *ProjectsLocationsTensorboardsExperimentsRunsOperationsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsTensorboardsExperimentsRunsOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsTensorboardsExperimentsRunsOperationsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (c *ProjectsLocationsTensorboardsExperimentsRunsOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsTensorboardsExperimentsRunsOperationsListCall
PageSize sets the optional parameter "pageSize": The standard list page size.
func (c *ProjectsLocationsTensorboardsExperimentsRunsOperationsListCall) PageToken(pageToken string) *ProjectsLocationsTensorboardsExperimentsRunsOperationsListCall
PageToken sets the optional parameter "pageToken": The standard list page token.
func (c *ProjectsLocationsTensorboardsExperimentsRunsOperationsListCall) Pages(ctx context.Context, f func(*GoogleLongrunningListOperationsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ProjectsLocationsTensorboardsExperimentsRunsOperationsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsTensorboardsExperimentsRunsOperationsService(s *Service) *ProjectsLocationsTensorboardsExperimentsRunsOperationsService
func (r *ProjectsLocationsTensorboardsExperimentsRunsOperationsService) Cancel(name string) *ProjectsLocationsTensorboardsExperimentsRunsOperationsCancelCall
Cancel: Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
- name: The name of the operation resource to be cancelled.
func (r *ProjectsLocationsTensorboardsExperimentsRunsOperationsService) Delete(name string) *ProjectsLocationsTensorboardsExperimentsRunsOperationsDeleteCall
Delete: Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
- name: The name of the operation resource to be deleted.
func (r *ProjectsLocationsTensorboardsExperimentsRunsOperationsService) Get(name string) *ProjectsLocationsTensorboardsExperimentsRunsOperationsGetCall
Get: Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
- name: The name of the operation resource.
func (r *ProjectsLocationsTensorboardsExperimentsRunsOperationsService) List(name string) *ProjectsLocationsTensorboardsExperimentsRunsOperationsListCall
List: Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.
- name: The name of the operation's parent resource.
func (r *ProjectsLocationsTensorboardsExperimentsRunsOperationsService) Wait(name string) *ProjectsLocationsTensorboardsExperimentsRunsOperationsWaitCall
Wait: Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.
- name: The name of the operation resource to wait on.
type ProjectsLocationsTensorboardsExperimentsRunsOperationsWaitCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsTensorboardsExperimentsRunsOperationsWaitCall) Context(ctx context.Context) *ProjectsLocationsTensorboardsExperimentsRunsOperationsWaitCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsTensorboardsExperimentsRunsOperationsWaitCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.tensorboards.experiments.runs.operations.wait" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsTensorboardsExperimentsRunsOperationsWaitCall) Fields(s ...googleapi.Field) *ProjectsLocationsTensorboardsExperimentsRunsOperationsWaitCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsTensorboardsExperimentsRunsOperationsWaitCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsTensorboardsExperimentsRunsOperationsWaitCall) Timeout(timeout string) *ProjectsLocationsTensorboardsExperimentsRunsOperationsWaitCall
Timeout sets the optional parameter "timeout": The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.
type ProjectsLocationsTensorboardsExperimentsRunsPatchCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsTensorboardsExperimentsRunsPatchCall) Context(ctx context.Context) *ProjectsLocationsTensorboardsExperimentsRunsPatchCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsTensorboardsExperimentsRunsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1TensorboardRun, error)
Do executes the "aiplatform.projects.locations.tensorboards.experiments.runs.patch" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1TensorboardRun.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsTensorboardsExperimentsRunsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsTensorboardsExperimentsRunsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsTensorboardsExperimentsRunsPatchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsTensorboardsExperimentsRunsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsTensorboardsExperimentsRunsPatchCall
UpdateMask sets the optional parameter "updateMask": Required. Field mask is used to specify the fields to be overwritten in the TensorboardRun resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field is overwritten if it's in the mask. If the user does not provide a mask then all fields are overwritten if new values are specified.
type ProjectsLocationsTensorboardsExperimentsRunsService struct { Operations *ProjectsLocationsTensorboardsExperimentsRunsOperationsService TimeSeries *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesService // contains filtered or unexported fields }
func NewProjectsLocationsTensorboardsExperimentsRunsService(s *Service) *ProjectsLocationsTensorboardsExperimentsRunsService
func (r *ProjectsLocationsTensorboardsExperimentsRunsService) BatchCreate(parent string, googlecloudaiplatformv1batchcreatetensorboardrunsrequest *GoogleCloudAiplatformV1BatchCreateTensorboardRunsRequest) *ProjectsLocationsTensorboardsExperimentsRunsBatchCreateCall
BatchCreate: Batch create TensorboardRuns.
func (r *ProjectsLocationsTensorboardsExperimentsRunsService) Create(parent string, googlecloudaiplatformv1tensorboardrun *GoogleCloudAiplatformV1TensorboardRun) *ProjectsLocationsTensorboardsExperimentsRunsCreateCall
Create: Creates a TensorboardRun.
func (r *ProjectsLocationsTensorboardsExperimentsRunsService) Delete(name string) *ProjectsLocationsTensorboardsExperimentsRunsDeleteCall
Delete: Deletes a TensorboardRun.
func (r *ProjectsLocationsTensorboardsExperimentsRunsService) Get(name string) *ProjectsLocationsTensorboardsExperimentsRunsGetCall
Get: Gets a TensorboardRun.
func (r *ProjectsLocationsTensorboardsExperimentsRunsService) List(parent string) *ProjectsLocationsTensorboardsExperimentsRunsListCall
List: Lists TensorboardRuns in a Location.
func (r *ProjectsLocationsTensorboardsExperimentsRunsService) Patch(name string, googlecloudaiplatformv1tensorboardrun *GoogleCloudAiplatformV1TensorboardRun) *ProjectsLocationsTensorboardsExperimentsRunsPatchCall
Patch: Updates a TensorboardRun.
func (r *ProjectsLocationsTensorboardsExperimentsRunsService) Write(tensorboardRun string, googlecloudaiplatformv1writetensorboardrundatarequest *GoogleCloudAiplatformV1WriteTensorboardRunDataRequest) *ProjectsLocationsTensorboardsExperimentsRunsWriteCall
Write: Write time series data points into multiple TensorboardTimeSeries under a TensorboardRun. If any data fail to be ingested, an error is returned.
type ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesCreateCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesCreateCall) Context(ctx context.Context) *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesCreateCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1TensorboardTimeSeries, error)
Do executes the "aiplatform.projects.locations.tensorboards.experiments.runs.timeSeries.create" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1TensorboardTimeSeries.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesCreateCall) TensorboardTimeSeriesId(tensorboardTimeSeriesId string) *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesCreateCall
TensorboardTimeSeriesId sets the optional parameter "tensorboardTimeSeriesId": The user specified unique ID to use for the TensorboardTimeSeries, which becomes the final component of the TensorboardTimeSeries's resource name. This value should match "a-z0-9{0, 127}"
type ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesDeleteCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesDeleteCall) Context(ctx context.Context) *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesDeleteCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.tensorboards.experiments.runs.timeSeries.delete" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesExportTensorboardTimeSeriesCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesExportTensorboardTimeSeriesCall) Context(ctx context.Context) *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesExportTensorboardTimeSeriesCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesExportTensorboardTimeSeriesCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1ExportTensorboardTimeSeriesDataResponse, error)
Do executes the "aiplatform.projects.locations.tensorboards.experiments.runs.timeSeries.exportTensorboardTimeSeries" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1ExportTensorboardTimeSeriesDataResponse.ServerRespons e.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesExportTensorboardTimeSeriesCall) Fields(s ...googleapi.Field) *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesExportTensorboardTimeSeriesCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesExportTensorboardTimeSeriesCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesExportTensorboardTimeSeriesCall) Pages(ctx context.Context, f func(*GoogleCloudAiplatformV1ExportTensorboardTimeSeriesDataResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesGetCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesGetCall) Context(ctx context.Context) *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesGetCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1TensorboardTimeSeries, error)
Do executes the "aiplatform.projects.locations.tensorboards.experiments.runs.timeSeries.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1TensorboardTimeSeries.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesListCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesListCall) Context(ctx context.Context) *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesListCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1ListTensorboardTimeSeriesResponse, error)
Do executes the "aiplatform.projects.locations.tensorboards.experiments.runs.timeSeries.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1ListTensorboardTimeSeriesResponse.ServerResponse.Head er or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesListCall) Filter(filter string) *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesListCall
Filter sets the optional parameter "filter": Lists the TensorboardTimeSeries that match the filter expression.
func (c *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesListCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (c *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesListCall) OrderBy(orderBy string) *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesListCall
OrderBy sets the optional parameter "orderBy": Field to use to sort the list.
func (c *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesListCall) PageSize(pageSize int64) *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesListCall
PageSize sets the optional parameter "pageSize": The maximum number of TensorboardTimeSeries to return. The service may return fewer than this value. If unspecified, at most 50 TensorboardTimeSeries are returned. The maximum value is 1000; values above 1000 are coerced to 1000.
func (c *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesListCall) PageToken(pageToken string) *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesListCall
PageToken sets the optional parameter "pageToken": A page token, received from a previous TensorboardService.ListTensorboardTimeSeries call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to TensorboardService.ListTensorboardTimeSeries must match the call that provided the page token.
func (c *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesListCall) Pages(ctx context.Context, f func(*GoogleCloudAiplatformV1ListTensorboardTimeSeriesResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
func (c *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesListCall) ReadMask(readMask string) *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesListCall
ReadMask sets the optional parameter "readMask": Mask specifying which fields to read.
type ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperationsCancelCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperationsCancelCall) Context(ctx context.Context) *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperationsCancelCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperationsCancelCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "aiplatform.projects.locations.tensorboards.experiments.runs.timeSeries.operations.cancel" call. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperationsCancelCall) Fields(s ...googleapi.Field) *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperationsCancelCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperationsCancelCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperationsDeleteCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperationsDeleteCall) Context(ctx context.Context) *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperationsDeleteCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperationsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "aiplatform.projects.locations.tensorboards.experiments.runs.timeSeries.operations.delete" call. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperationsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperationsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperationsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperationsGetCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperationsGetCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.tensorboards.experiments.runs.timeSeries.operations.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperationsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperationsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperationsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperationsListCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperationsListCall) Context(ctx context.Context) *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperationsListCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperationsListCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningListOperationsResponse, error)
Do executes the "aiplatform.projects.locations.tensorboards.experiments.runs.timeSeries.operations.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningListOperationsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperationsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperationsListCall) Filter(filter string) *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperationsListCall
Filter sets the optional parameter "filter": The standard list filter.
func (c *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperationsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperationsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (c *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperationsListCall
PageSize sets the optional parameter "pageSize": The standard list page size.
func (c *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperationsListCall) PageToken(pageToken string) *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperationsListCall
PageToken sets the optional parameter "pageToken": The standard list page token.
func (c *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperationsListCall) Pages(ctx context.Context, f func(*GoogleLongrunningListOperationsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperationsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperationsService(s *Service) *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperationsService
func (r *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperationsService) Cancel(name string) *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperationsCancelCall
Cancel: Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
- name: The name of the operation resource to be cancelled.
func (r *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperationsService) Delete(name string) *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperationsDeleteCall
Delete: Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
- name: The name of the operation resource to be deleted.
func (r *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperationsService) Get(name string) *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperationsGetCall
Get: Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
- name: The name of the operation resource.
func (r *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperationsService) List(name string) *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperationsListCall
List: Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.
- name: The name of the operation's parent resource.
func (r *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperationsService) Wait(name string) *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperationsWaitCall
Wait: Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.
- name: The name of the operation resource to wait on.
type ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperationsWaitCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperationsWaitCall) Context(ctx context.Context) *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperationsWaitCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperationsWaitCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.tensorboards.experiments.runs.timeSeries.operations.wait" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperationsWaitCall) Fields(s ...googleapi.Field) *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperationsWaitCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperationsWaitCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperationsWaitCall) Timeout(timeout string) *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperationsWaitCall
Timeout sets the optional parameter "timeout": The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.
type ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesPatchCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesPatchCall) Context(ctx context.Context) *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesPatchCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1TensorboardTimeSeries, error)
Do executes the "aiplatform.projects.locations.tensorboards.experiments.runs.timeSeries.patch" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1TensorboardTimeSeries.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesPatchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesPatchCall
UpdateMask sets the optional parameter "updateMask": Required. Field mask is used to specify the fields to be overwritten in the TensorboardTimeSeries resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field is overwritten if it's in the mask. If the user does not provide a mask then all fields are overwritten if new values are specified.
type ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesReadBlobDataCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesReadBlobDataCall) BlobIds(blobIds ...string) *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesReadBlobDataCall
BlobIds sets the optional parameter "blobIds": IDs of the blobs to read.
func (c *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesReadBlobDataCall) Context(ctx context.Context) *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesReadBlobDataCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesReadBlobDataCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1ReadTensorboardBlobDataResponse, error)
Do executes the "aiplatform.projects.locations.tensorboards.experiments.runs.timeSeries.readBlobData" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1ReadTensorboardBlobDataResponse.ServerResponse.Header
or (if a response was returned at all) in error.(*googleapi.Error).Header.
Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesReadBlobDataCall) Fields(s ...googleapi.Field) *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesReadBlobDataCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesReadBlobDataCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesReadBlobDataCall) IfNoneMatch(entityTag string) *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesReadBlobDataCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesReadCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesReadCall) Context(ctx context.Context) *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesReadCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesReadCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1ReadTensorboardTimeSeriesDataResponse, error)
Do executes the "aiplatform.projects.locations.tensorboards.experiments.runs.timeSeries.read" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1ReadTensorboardTimeSeriesDataResponse.ServerResponse. Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesReadCall) Fields(s ...googleapi.Field) *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesReadCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesReadCall) Filter(filter string) *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesReadCall
Filter sets the optional parameter "filter": Reads the TensorboardTimeSeries' data that match the filter expression.
func (c *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesReadCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesReadCall) IfNoneMatch(entityTag string) *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesReadCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (c *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesReadCall) MaxDataPoints(maxDataPoints int64) *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesReadCall
MaxDataPoints sets the optional parameter "maxDataPoints": The maximum number of TensorboardTimeSeries' data to return. This value should be a positive integer. This value can be set to -1 to return all data.
type ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesService struct { Operations *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperationsService // contains filtered or unexported fields }
func NewProjectsLocationsTensorboardsExperimentsRunsTimeSeriesService(s *Service) *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesService
func (r *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesService) Create(parent string, googlecloudaiplatformv1tensorboardtimeseries *GoogleCloudAiplatformV1TensorboardTimeSeries) *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesCreateCall
Create: Creates a TensorboardTimeSeries.
func (r *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesService) Delete(name string) *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesDeleteCall
Delete: Deletes a TensorboardTimeSeries.
func (r *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesService) ExportTensorboardTimeSeries(tensorboardTimeSeries string, googlecloudaiplatformv1exporttensorboardtimeseriesdatarequest *GoogleCloudAiplatformV1ExportTensorboardTimeSeriesDataRequest) *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesExportTensorboardTimeSeriesCall
ExportTensorboardTimeSeries: Exports a TensorboardTimeSeries' data. Data is returned in paginated responses.
func (r *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesService) Get(name string) *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesGetCall
Get: Gets a TensorboardTimeSeries.
func (r *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesService) List(parent string) *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesListCall
List: Lists TensorboardTimeSeries in a Location.
func (r *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesService) Patch(name string, googlecloudaiplatformv1tensorboardtimeseries *GoogleCloudAiplatformV1TensorboardTimeSeries) *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesPatchCall
Patch: Updates a TensorboardTimeSeries.
- name: Output only. Name of the TensorboardTimeSeries.
func (r *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesService) Read(tensorboardTimeSeries string) *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesReadCall
Read: Reads a TensorboardTimeSeries' data. By default, if the number of data points stored is less than 1000, all data is returned. Otherwise, 1000 data points is randomly selected from this time series and returned. This value can be changed by changing max_data_points, which can't be greater than 10k.
func (r *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesService) ReadBlobData(timeSeries string) *ProjectsLocationsTensorboardsExperimentsRunsTimeSeriesReadBlobDataCall
ReadBlobData: Gets bytes of TensorboardBlobs. This is to allow reading blob data stored in consumer project's Cloud Storage bucket without users having to obtain Cloud Storage access permission.
type ProjectsLocationsTensorboardsExperimentsRunsWriteCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsTensorboardsExperimentsRunsWriteCall) Context(ctx context.Context) *ProjectsLocationsTensorboardsExperimentsRunsWriteCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsTensorboardsExperimentsRunsWriteCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1WriteTensorboardRunDataResponse, error)
Do executes the "aiplatform.projects.locations.tensorboards.experiments.runs.write" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1WriteTensorboardRunDataResponse.ServerResponse.Header
or (if a response was returned at all) in error.(*googleapi.Error).Header.
Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsTensorboardsExperimentsRunsWriteCall) Fields(s ...googleapi.Field) *ProjectsLocationsTensorboardsExperimentsRunsWriteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsTensorboardsExperimentsRunsWriteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsTensorboardsExperimentsService struct { Operations *ProjectsLocationsTensorboardsExperimentsOperationsService Runs *ProjectsLocationsTensorboardsExperimentsRunsService // contains filtered or unexported fields }
func NewProjectsLocationsTensorboardsExperimentsService(s *Service) *ProjectsLocationsTensorboardsExperimentsService
func (r *ProjectsLocationsTensorboardsExperimentsService) BatchCreate(parent string, googlecloudaiplatformv1batchcreatetensorboardtimeseriesrequest *GoogleCloudAiplatformV1BatchCreateTensorboardTimeSeriesRequest) *ProjectsLocationsTensorboardsExperimentsBatchCreateCall
BatchCreate: Batch create TensorboardTimeSeries that belong to a TensorboardExperiment.
func (r *ProjectsLocationsTensorboardsExperimentsService) Create(parent string, googlecloudaiplatformv1tensorboardexperiment *GoogleCloudAiplatformV1TensorboardExperiment) *ProjectsLocationsTensorboardsExperimentsCreateCall
Create: Creates a TensorboardExperiment.
func (r *ProjectsLocationsTensorboardsExperimentsService) Delete(name string) *ProjectsLocationsTensorboardsExperimentsDeleteCall
Delete: Deletes a TensorboardExperiment.
func (r *ProjectsLocationsTensorboardsExperimentsService) Get(name string) *ProjectsLocationsTensorboardsExperimentsGetCall
Get: Gets a TensorboardExperiment.
func (r *ProjectsLocationsTensorboardsExperimentsService) List(parent string) *ProjectsLocationsTensorboardsExperimentsListCall
List: Lists TensorboardExperiments in a Location.
func (r *ProjectsLocationsTensorboardsExperimentsService) Patch(name string, googlecloudaiplatformv1tensorboardexperiment *GoogleCloudAiplatformV1TensorboardExperiment) *ProjectsLocationsTensorboardsExperimentsPatchCall
Patch: Updates a TensorboardExperiment.
func (r *ProjectsLocationsTensorboardsExperimentsService) Write(tensorboardExperiment string, googlecloudaiplatformv1writetensorboardexperimentdatarequest *GoogleCloudAiplatformV1WriteTensorboardExperimentDataRequest) *ProjectsLocationsTensorboardsExperimentsWriteCall
Write: Write time series data points of multiple TensorboardTimeSeries in multiple TensorboardRun's. If any data fail to be ingested, an error is returned.
type ProjectsLocationsTensorboardsExperimentsWriteCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsTensorboardsExperimentsWriteCall) Context(ctx context.Context) *ProjectsLocationsTensorboardsExperimentsWriteCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsTensorboardsExperimentsWriteCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1WriteTensorboardExperimentDataResponse, error)
Do executes the "aiplatform.projects.locations.tensorboards.experiments.write" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1WriteTensorboardExperimentDataResponse.ServerResponse .Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsTensorboardsExperimentsWriteCall) Fields(s ...googleapi.Field) *ProjectsLocationsTensorboardsExperimentsWriteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsTensorboardsExperimentsWriteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsTensorboardsGetCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsTensorboardsGetCall) Context(ctx context.Context) *ProjectsLocationsTensorboardsGetCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsTensorboardsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1Tensorboard, error)
Do executes the "aiplatform.projects.locations.tensorboards.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1Tensorboard.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsTensorboardsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsTensorboardsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsTensorboardsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsTensorboardsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsTensorboardsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsLocationsTensorboardsListCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsTensorboardsListCall) Context(ctx context.Context) *ProjectsLocationsTensorboardsListCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsTensorboardsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1ListTensorboardsResponse, error)
Do executes the "aiplatform.projects.locations.tensorboards.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1ListTensorboardsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsTensorboardsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsTensorboardsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsTensorboardsListCall) Filter(filter string) *ProjectsLocationsTensorboardsListCall
Filter sets the optional parameter "filter": Lists the Tensorboards that match the filter expression.
func (c *ProjectsLocationsTensorboardsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsTensorboardsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsTensorboardsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (c *ProjectsLocationsTensorboardsListCall) OrderBy(orderBy string) *ProjectsLocationsTensorboardsListCall
OrderBy sets the optional parameter "orderBy": Field to use to sort the list.
func (c *ProjectsLocationsTensorboardsListCall) PageSize(pageSize int64) *ProjectsLocationsTensorboardsListCall
PageSize sets the optional parameter "pageSize": The maximum number of Tensorboards to return. The service may return fewer than this value. If unspecified, at most 100 Tensorboards are returned. The maximum value is 100; values above 100 are coerced to 100.
func (c *ProjectsLocationsTensorboardsListCall) PageToken(pageToken string) *ProjectsLocationsTensorboardsListCall
PageToken sets the optional parameter "pageToken": A page token, received from a previous TensorboardService.ListTensorboards call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to TensorboardService.ListTensorboards must match the call that provided the page token.
func (c *ProjectsLocationsTensorboardsListCall) Pages(ctx context.Context, f func(*GoogleCloudAiplatformV1ListTensorboardsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
func (c *ProjectsLocationsTensorboardsListCall) ReadMask(readMask string) *ProjectsLocationsTensorboardsListCall
ReadMask sets the optional parameter "readMask": Mask specifying which fields to read.
type ProjectsLocationsTensorboardsOperationsCancelCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsTensorboardsOperationsCancelCall) Context(ctx context.Context) *ProjectsLocationsTensorboardsOperationsCancelCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsTensorboardsOperationsCancelCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "aiplatform.projects.locations.tensorboards.operations.cancel" call. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsTensorboardsOperationsCancelCall) Fields(s ...googleapi.Field) *ProjectsLocationsTensorboardsOperationsCancelCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsTensorboardsOperationsCancelCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsTensorboardsOperationsDeleteCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsTensorboardsOperationsDeleteCall) Context(ctx context.Context) *ProjectsLocationsTensorboardsOperationsDeleteCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsTensorboardsOperationsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "aiplatform.projects.locations.tensorboards.operations.delete" call. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsTensorboardsOperationsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsTensorboardsOperationsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsTensorboardsOperationsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsTensorboardsOperationsGetCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsTensorboardsOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsTensorboardsOperationsGetCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsTensorboardsOperationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.tensorboards.operations.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsTensorboardsOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsTensorboardsOperationsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsTensorboardsOperationsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsTensorboardsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsTensorboardsOperationsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsLocationsTensorboardsOperationsListCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsTensorboardsOperationsListCall) Context(ctx context.Context) *ProjectsLocationsTensorboardsOperationsListCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsTensorboardsOperationsListCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningListOperationsResponse, error)
Do executes the "aiplatform.projects.locations.tensorboards.operations.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningListOperationsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsTensorboardsOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsTensorboardsOperationsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsTensorboardsOperationsListCall) Filter(filter string) *ProjectsLocationsTensorboardsOperationsListCall
Filter sets the optional parameter "filter": The standard list filter.
func (c *ProjectsLocationsTensorboardsOperationsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsTensorboardsOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsTensorboardsOperationsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (c *ProjectsLocationsTensorboardsOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsTensorboardsOperationsListCall
PageSize sets the optional parameter "pageSize": The standard list page size.
func (c *ProjectsLocationsTensorboardsOperationsListCall) PageToken(pageToken string) *ProjectsLocationsTensorboardsOperationsListCall
PageToken sets the optional parameter "pageToken": The standard list page token.
func (c *ProjectsLocationsTensorboardsOperationsListCall) Pages(ctx context.Context, f func(*GoogleLongrunningListOperationsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ProjectsLocationsTensorboardsOperationsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsTensorboardsOperationsService(s *Service) *ProjectsLocationsTensorboardsOperationsService
func (r *ProjectsLocationsTensorboardsOperationsService) Cancel(name string) *ProjectsLocationsTensorboardsOperationsCancelCall
Cancel: Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
- name: The name of the operation resource to be cancelled.
func (r *ProjectsLocationsTensorboardsOperationsService) Delete(name string) *ProjectsLocationsTensorboardsOperationsDeleteCall
Delete: Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
- name: The name of the operation resource to be deleted.
func (r *ProjectsLocationsTensorboardsOperationsService) Get(name string) *ProjectsLocationsTensorboardsOperationsGetCall
Get: Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
- name: The name of the operation resource.
func (r *ProjectsLocationsTensorboardsOperationsService) List(name string) *ProjectsLocationsTensorboardsOperationsListCall
List: Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.
- name: The name of the operation's parent resource.
func (r *ProjectsLocationsTensorboardsOperationsService) Wait(name string) *ProjectsLocationsTensorboardsOperationsWaitCall
Wait: Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.
- name: The name of the operation resource to wait on.
type ProjectsLocationsTensorboardsOperationsWaitCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsTensorboardsOperationsWaitCall) Context(ctx context.Context) *ProjectsLocationsTensorboardsOperationsWaitCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsTensorboardsOperationsWaitCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.tensorboards.operations.wait" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsTensorboardsOperationsWaitCall) Fields(s ...googleapi.Field) *ProjectsLocationsTensorboardsOperationsWaitCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsTensorboardsOperationsWaitCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsTensorboardsOperationsWaitCall) Timeout(timeout string) *ProjectsLocationsTensorboardsOperationsWaitCall
Timeout sets the optional parameter "timeout": The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.
type ProjectsLocationsTensorboardsPatchCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsTensorboardsPatchCall) Context(ctx context.Context) *ProjectsLocationsTensorboardsPatchCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsTensorboardsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.tensorboards.patch" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsTensorboardsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsTensorboardsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsTensorboardsPatchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsTensorboardsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsTensorboardsPatchCall
UpdateMask sets the optional parameter "updateMask": Required. Field mask is used to specify the fields to be overwritten in the Tensorboard resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field is overwritten if it's in the mask. If the user does not provide a mask then all fields are overwritten if new values are specified.
type ProjectsLocationsTensorboardsReadSizeCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsTensorboardsReadSizeCall) Context(ctx context.Context) *ProjectsLocationsTensorboardsReadSizeCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsTensorboardsReadSizeCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1ReadTensorboardSizeResponse, error)
Do executes the "aiplatform.projects.locations.tensorboards.readSize" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1ReadTensorboardSizeResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsTensorboardsReadSizeCall) Fields(s ...googleapi.Field) *ProjectsLocationsTensorboardsReadSizeCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsTensorboardsReadSizeCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsTensorboardsReadSizeCall) IfNoneMatch(entityTag string) *ProjectsLocationsTensorboardsReadSizeCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsLocationsTensorboardsReadUsageCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsTensorboardsReadUsageCall) Context(ctx context.Context) *ProjectsLocationsTensorboardsReadUsageCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsTensorboardsReadUsageCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1ReadTensorboardUsageResponse, error)
Do executes the "aiplatform.projects.locations.tensorboards.readUsage" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1ReadTensorboardUsageResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsTensorboardsReadUsageCall) Fields(s ...googleapi.Field) *ProjectsLocationsTensorboardsReadUsageCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsTensorboardsReadUsageCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsTensorboardsReadUsageCall) IfNoneMatch(entityTag string) *ProjectsLocationsTensorboardsReadUsageCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsLocationsTensorboardsService struct { Experiments *ProjectsLocationsTensorboardsExperimentsService Operations *ProjectsLocationsTensorboardsOperationsService // contains filtered or unexported fields }
func NewProjectsLocationsTensorboardsService(s *Service) *ProjectsLocationsTensorboardsService
func (r *ProjectsLocationsTensorboardsService) BatchRead(tensorboard string) *ProjectsLocationsTensorboardsBatchReadCall
BatchRead: Reads multiple TensorboardTimeSeries' data. The data point number limit is 1000 for scalars, 100 for tensors and blob references. If the number of data points stored is less than the limit, all data is returned. Otherwise, the number limit of data points is randomly selected from this time series and returned.
func (r *ProjectsLocationsTensorboardsService) Create(parent string, googlecloudaiplatformv1tensorboard *GoogleCloudAiplatformV1Tensorboard) *ProjectsLocationsTensorboardsCreateCall
Create: Creates a Tensorboard.
func (r *ProjectsLocationsTensorboardsService) Delete(name string) *ProjectsLocationsTensorboardsDeleteCall
Delete: Deletes a Tensorboard.
func (r *ProjectsLocationsTensorboardsService) Get(name string) *ProjectsLocationsTensorboardsGetCall
Get: Gets a Tensorboard.
func (r *ProjectsLocationsTensorboardsService) List(parent string) *ProjectsLocationsTensorboardsListCall
List: Lists Tensorboards in a Location.
func (r *ProjectsLocationsTensorboardsService) Patch(name string, googlecloudaiplatformv1tensorboard *GoogleCloudAiplatformV1Tensorboard) *ProjectsLocationsTensorboardsPatchCall
Patch: Updates a Tensorboard.
func (r *ProjectsLocationsTensorboardsService) ReadSize(tensorboard string) *ProjectsLocationsTensorboardsReadSizeCall
ReadSize: Returns the storage size for a given TensorBoard instance.
func (r *ProjectsLocationsTensorboardsService) ReadUsage(tensorboard string) *ProjectsLocationsTensorboardsReadUsageCall
ReadUsage: Returns a list of monthly active users for a given TensorBoard instance.
type ProjectsLocationsTrainingPipelinesCancelCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsTrainingPipelinesCancelCall) Context(ctx context.Context) *ProjectsLocationsTrainingPipelinesCancelCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsTrainingPipelinesCancelCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "aiplatform.projects.locations.trainingPipelines.cancel" call. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsTrainingPipelinesCancelCall) Fields(s ...googleapi.Field) *ProjectsLocationsTrainingPipelinesCancelCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsTrainingPipelinesCancelCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsTrainingPipelinesCreateCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsTrainingPipelinesCreateCall) Context(ctx context.Context) *ProjectsLocationsTrainingPipelinesCreateCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsTrainingPipelinesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1TrainingPipeline, error)
Do executes the "aiplatform.projects.locations.trainingPipelines.create" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1TrainingPipeline.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsTrainingPipelinesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsTrainingPipelinesCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsTrainingPipelinesCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsTrainingPipelinesDeleteCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsTrainingPipelinesDeleteCall) Context(ctx context.Context) *ProjectsLocationsTrainingPipelinesDeleteCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsTrainingPipelinesDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.trainingPipelines.delete" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsTrainingPipelinesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsTrainingPipelinesDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsTrainingPipelinesDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsTrainingPipelinesGetCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsTrainingPipelinesGetCall) Context(ctx context.Context) *ProjectsLocationsTrainingPipelinesGetCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsTrainingPipelinesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1TrainingPipeline, error)
Do executes the "aiplatform.projects.locations.trainingPipelines.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1TrainingPipeline.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsTrainingPipelinesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsTrainingPipelinesGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsTrainingPipelinesGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsTrainingPipelinesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsTrainingPipelinesGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsLocationsTrainingPipelinesListCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsTrainingPipelinesListCall) Context(ctx context.Context) *ProjectsLocationsTrainingPipelinesListCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsTrainingPipelinesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1ListTrainingPipelinesResponse, error)
Do executes the "aiplatform.projects.locations.trainingPipelines.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1ListTrainingPipelinesResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsTrainingPipelinesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsTrainingPipelinesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsTrainingPipelinesListCall) Filter(filter string) *ProjectsLocationsTrainingPipelinesListCall
Filter sets the optional parameter "filter": The standard list filter. Supported fields: * `display_name` supports `=`, `!=` comparisons, and `:` wildcard. * `state` supports `=`, `!=` comparisons. * `training_task_definition` `=`, `!=` comparisons, and `:` wildcard. * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. `create_time` must be in RFC 3339 format. * `labels` supports general map functions that is: `labels.key=value` - key:value equality `labels.key:* - key existence Some examples of using the filter are: * `state="PIPELINE_STATE_SUCCEEDED" AND display_name:"my_pipeline_*" * `state!="PIPELINE_STATE_FAILED" OR display_name="my_pipeline" * `NOT display_name="my_pipeline" * `create_time>"2021-05-18T00:00:00Z" * `training_task_definition:"*automl_text_classification*"
func (c *ProjectsLocationsTrainingPipelinesListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsTrainingPipelinesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsTrainingPipelinesListCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (c *ProjectsLocationsTrainingPipelinesListCall) PageSize(pageSize int64) *ProjectsLocationsTrainingPipelinesListCall
PageSize sets the optional parameter "pageSize": The standard list page size.
func (c *ProjectsLocationsTrainingPipelinesListCall) PageToken(pageToken string) *ProjectsLocationsTrainingPipelinesListCall
PageToken sets the optional parameter "pageToken": The standard list page token. Typically obtained via ListTrainingPipelinesResponse.next_page_token of the previous PipelineService.ListTrainingPipelines call.
func (c *ProjectsLocationsTrainingPipelinesListCall) Pages(ctx context.Context, f func(*GoogleCloudAiplatformV1ListTrainingPipelinesResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
func (c *ProjectsLocationsTrainingPipelinesListCall) ReadMask(readMask string) *ProjectsLocationsTrainingPipelinesListCall
ReadMask sets the optional parameter "readMask": Mask specifying which fields to read.
type ProjectsLocationsTrainingPipelinesOperationsCancelCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsTrainingPipelinesOperationsCancelCall) Context(ctx context.Context) *ProjectsLocationsTrainingPipelinesOperationsCancelCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsTrainingPipelinesOperationsCancelCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "aiplatform.projects.locations.trainingPipelines.operations.cancel" call. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsTrainingPipelinesOperationsCancelCall) Fields(s ...googleapi.Field) *ProjectsLocationsTrainingPipelinesOperationsCancelCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsTrainingPipelinesOperationsCancelCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsTrainingPipelinesOperationsDeleteCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsTrainingPipelinesOperationsDeleteCall) Context(ctx context.Context) *ProjectsLocationsTrainingPipelinesOperationsDeleteCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsTrainingPipelinesOperationsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "aiplatform.projects.locations.trainingPipelines.operations.delete" call. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsTrainingPipelinesOperationsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsTrainingPipelinesOperationsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsTrainingPipelinesOperationsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsTrainingPipelinesOperationsGetCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsTrainingPipelinesOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsTrainingPipelinesOperationsGetCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsTrainingPipelinesOperationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.trainingPipelines.operations.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsTrainingPipelinesOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsTrainingPipelinesOperationsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsTrainingPipelinesOperationsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsTrainingPipelinesOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsTrainingPipelinesOperationsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsLocationsTrainingPipelinesOperationsListCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsTrainingPipelinesOperationsListCall) Context(ctx context.Context) *ProjectsLocationsTrainingPipelinesOperationsListCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsTrainingPipelinesOperationsListCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningListOperationsResponse, error)
Do executes the "aiplatform.projects.locations.trainingPipelines.operations.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningListOperationsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsTrainingPipelinesOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsTrainingPipelinesOperationsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsTrainingPipelinesOperationsListCall) Filter(filter string) *ProjectsLocationsTrainingPipelinesOperationsListCall
Filter sets the optional parameter "filter": The standard list filter.
func (c *ProjectsLocationsTrainingPipelinesOperationsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsTrainingPipelinesOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsTrainingPipelinesOperationsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (c *ProjectsLocationsTrainingPipelinesOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsTrainingPipelinesOperationsListCall
PageSize sets the optional parameter "pageSize": The standard list page size.
func (c *ProjectsLocationsTrainingPipelinesOperationsListCall) PageToken(pageToken string) *ProjectsLocationsTrainingPipelinesOperationsListCall
PageToken sets the optional parameter "pageToken": The standard list page token.
func (c *ProjectsLocationsTrainingPipelinesOperationsListCall) Pages(ctx context.Context, f func(*GoogleLongrunningListOperationsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ProjectsLocationsTrainingPipelinesOperationsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsTrainingPipelinesOperationsService(s *Service) *ProjectsLocationsTrainingPipelinesOperationsService
func (r *ProjectsLocationsTrainingPipelinesOperationsService) Cancel(name string) *ProjectsLocationsTrainingPipelinesOperationsCancelCall
Cancel: Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
- name: The name of the operation resource to be cancelled.
func (r *ProjectsLocationsTrainingPipelinesOperationsService) Delete(name string) *ProjectsLocationsTrainingPipelinesOperationsDeleteCall
Delete: Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
- name: The name of the operation resource to be deleted.
func (r *ProjectsLocationsTrainingPipelinesOperationsService) Get(name string) *ProjectsLocationsTrainingPipelinesOperationsGetCall
Get: Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
- name: The name of the operation resource.
func (r *ProjectsLocationsTrainingPipelinesOperationsService) List(name string) *ProjectsLocationsTrainingPipelinesOperationsListCall
List: Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.
- name: The name of the operation's parent resource.
func (r *ProjectsLocationsTrainingPipelinesOperationsService) Wait(name string) *ProjectsLocationsTrainingPipelinesOperationsWaitCall
Wait: Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.
- name: The name of the operation resource to wait on.
type ProjectsLocationsTrainingPipelinesOperationsWaitCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsTrainingPipelinesOperationsWaitCall) Context(ctx context.Context) *ProjectsLocationsTrainingPipelinesOperationsWaitCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsTrainingPipelinesOperationsWaitCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.trainingPipelines.operations.wait" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsTrainingPipelinesOperationsWaitCall) Fields(s ...googleapi.Field) *ProjectsLocationsTrainingPipelinesOperationsWaitCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsTrainingPipelinesOperationsWaitCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsTrainingPipelinesOperationsWaitCall) Timeout(timeout string) *ProjectsLocationsTrainingPipelinesOperationsWaitCall
Timeout sets the optional parameter "timeout": The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.
type ProjectsLocationsTrainingPipelinesService struct { Operations *ProjectsLocationsTrainingPipelinesOperationsService // contains filtered or unexported fields }
func NewProjectsLocationsTrainingPipelinesService(s *Service) *ProjectsLocationsTrainingPipelinesService
func (r *ProjectsLocationsTrainingPipelinesService) Cancel(name string, googlecloudaiplatformv1canceltrainingpipelinerequest *GoogleCloudAiplatformV1CancelTrainingPipelineRequest) *ProjectsLocationsTrainingPipelinesCancelCall
Cancel: Cancels a TrainingPipeline. Starts asynchronous cancellation on the TrainingPipeline. The server makes a best effort to cancel the pipeline, but success is not guaranteed. Clients can use PipelineService.GetTrainingPipeline or other methods to check whether the cancellation succeeded or whether the pipeline completed despite cancellation. On successful cancellation, the TrainingPipeline is not deleted; instead it becomes a pipeline with a TrainingPipeline.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`, and TrainingPipeline.state is set to `CANCELLED`.
func (r *ProjectsLocationsTrainingPipelinesService) Create(parent string, googlecloudaiplatformv1trainingpipeline *GoogleCloudAiplatformV1TrainingPipeline) *ProjectsLocationsTrainingPipelinesCreateCall
Create: Creates a TrainingPipeline. A created TrainingPipeline right away will be attempted to be run.
func (r *ProjectsLocationsTrainingPipelinesService) Delete(name string) *ProjectsLocationsTrainingPipelinesDeleteCall
Delete: Deletes a TrainingPipeline.
func (r *ProjectsLocationsTrainingPipelinesService) Get(name string) *ProjectsLocationsTrainingPipelinesGetCall
Get: Gets a TrainingPipeline.
func (r *ProjectsLocationsTrainingPipelinesService) List(parent string) *ProjectsLocationsTrainingPipelinesListCall
List: Lists TrainingPipelines in a Location.
type ProjectsLocationsTuningJobsCancelCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsTuningJobsCancelCall) Context(ctx context.Context) *ProjectsLocationsTuningJobsCancelCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsTuningJobsCancelCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "aiplatform.projects.locations.tuningJobs.cancel" call. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsTuningJobsCancelCall) Fields(s ...googleapi.Field) *ProjectsLocationsTuningJobsCancelCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsTuningJobsCancelCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsTuningJobsCreateCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsTuningJobsCreateCall) Context(ctx context.Context) *ProjectsLocationsTuningJobsCreateCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsTuningJobsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1TuningJob, error)
Do executes the "aiplatform.projects.locations.tuningJobs.create" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1TuningJob.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsTuningJobsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsTuningJobsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsTuningJobsCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsTuningJobsGetCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsTuningJobsGetCall) Context(ctx context.Context) *ProjectsLocationsTuningJobsGetCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsTuningJobsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1TuningJob, error)
Do executes the "aiplatform.projects.locations.tuningJobs.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1TuningJob.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsTuningJobsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsTuningJobsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsTuningJobsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsTuningJobsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsTuningJobsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsLocationsTuningJobsListCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsTuningJobsListCall) Context(ctx context.Context) *ProjectsLocationsTuningJobsListCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsTuningJobsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1ListTuningJobsResponse, error)
Do executes the "aiplatform.projects.locations.tuningJobs.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1ListTuningJobsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsTuningJobsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsTuningJobsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsTuningJobsListCall) Filter(filter string) *ProjectsLocationsTuningJobsListCall
Filter sets the optional parameter "filter": The standard list filter.
func (c *ProjectsLocationsTuningJobsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsTuningJobsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsTuningJobsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (c *ProjectsLocationsTuningJobsListCall) PageSize(pageSize int64) *ProjectsLocationsTuningJobsListCall
PageSize sets the optional parameter "pageSize": The standard list page size.
func (c *ProjectsLocationsTuningJobsListCall) PageToken(pageToken string) *ProjectsLocationsTuningJobsListCall
PageToken sets the optional parameter "pageToken": The standard list page token. Typically obtained via ListTuningJob.next_page_token of the previous GenAiTuningService.ListTuningJob][] call.
func (c *ProjectsLocationsTuningJobsListCall) Pages(ctx context.Context, f func(*GoogleCloudAiplatformV1ListTuningJobsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ProjectsLocationsTuningJobsOperationsCancelCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsTuningJobsOperationsCancelCall) Context(ctx context.Context) *ProjectsLocationsTuningJobsOperationsCancelCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsTuningJobsOperationsCancelCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "aiplatform.projects.locations.tuningJobs.operations.cancel" call. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsTuningJobsOperationsCancelCall) Fields(s ...googleapi.Field) *ProjectsLocationsTuningJobsOperationsCancelCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsTuningJobsOperationsCancelCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsTuningJobsOperationsGetCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsTuningJobsOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsTuningJobsOperationsGetCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsTuningJobsOperationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "aiplatform.projects.locations.tuningJobs.operations.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsTuningJobsOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsTuningJobsOperationsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsTuningJobsOperationsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsTuningJobsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsTuningJobsOperationsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsLocationsTuningJobsOperationsListCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsLocationsTuningJobsOperationsListCall) Context(ctx context.Context) *ProjectsLocationsTuningJobsOperationsListCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsLocationsTuningJobsOperationsListCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningListOperationsResponse, error)
Do executes the "aiplatform.projects.locations.tuningJobs.operations.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningListOperationsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsLocationsTuningJobsOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsTuningJobsOperationsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsLocationsTuningJobsOperationsListCall) Filter(filter string) *ProjectsLocationsTuningJobsOperationsListCall
Filter sets the optional parameter "filter": The standard list filter.
func (c *ProjectsLocationsTuningJobsOperationsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsLocationsTuningJobsOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsTuningJobsOperationsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (c *ProjectsLocationsTuningJobsOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsTuningJobsOperationsListCall
PageSize sets the optional parameter "pageSize": The standard list page size.
func (c *ProjectsLocationsTuningJobsOperationsListCall) PageToken(pageToken string) *ProjectsLocationsTuningJobsOperationsListCall
PageToken sets the optional parameter "pageToken": The standard list page token.
func (c *ProjectsLocationsTuningJobsOperationsListCall) Pages(ctx context.Context, f func(*GoogleLongrunningListOperationsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ProjectsLocationsTuningJobsOperationsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsTuningJobsOperationsService(s *Service) *ProjectsLocationsTuningJobsOperationsService
func (r *ProjectsLocationsTuningJobsOperationsService) Cancel(name string) *ProjectsLocationsTuningJobsOperationsCancelCall
Cancel: Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
- name: The name of the operation resource to be cancelled.
func (r *ProjectsLocationsTuningJobsOperationsService) Get(name string) *ProjectsLocationsTuningJobsOperationsGetCall
Get: Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
- name: The name of the operation resource.
func (r *ProjectsLocationsTuningJobsOperationsService) List(name string) *ProjectsLocationsTuningJobsOperationsListCall
List: Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.
- name: The name of the operation's parent resource.
type ProjectsLocationsTuningJobsService struct { Operations *ProjectsLocationsTuningJobsOperationsService // contains filtered or unexported fields }
func NewProjectsLocationsTuningJobsService(s *Service) *ProjectsLocationsTuningJobsService
func (r *ProjectsLocationsTuningJobsService) Cancel(name string, googlecloudaiplatformv1canceltuningjobrequest *GoogleCloudAiplatformV1CancelTuningJobRequest) *ProjectsLocationsTuningJobsCancelCall
Cancel: Cancels a TuningJob. Starts asynchronous cancellation on the TuningJob. The server makes a best effort to cancel the job, but success is not guaranteed. Clients can use GenAiTuningService.GetTuningJob or other methods to check whether the cancellation succeeded or whether the job completed despite cancellation. On successful cancellation, the TuningJob is not deleted; instead it becomes a job with a TuningJob.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`, and TuningJob.state is set to `CANCELLED`.
func (r *ProjectsLocationsTuningJobsService) Create(parent string, googlecloudaiplatformv1tuningjob *GoogleCloudAiplatformV1TuningJob) *ProjectsLocationsTuningJobsCreateCall
Create: Creates a TuningJob. A created TuningJob right away will be attempted to be run.
func (r *ProjectsLocationsTuningJobsService) Get(name string) *ProjectsLocationsTuningJobsGetCall
Get: Gets a TuningJob.
func (r *ProjectsLocationsTuningJobsService) List(parent string) *ProjectsLocationsTuningJobsListCall
List: Lists TuningJobs in a Location.
type ProjectsService struct { Locations *ProjectsLocationsService // contains filtered or unexported fields }
func NewProjectsService(s *Service) *ProjectsService
type PublishersModelsGetCall struct {
// contains filtered or unexported fields
}
func (c *PublishersModelsGetCall) Context(ctx context.Context) *PublishersModelsGetCall
Context sets the context to be used in this call's Do method.
func (c *PublishersModelsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudAiplatformV1PublisherModel, error)
Do executes the "aiplatform.publishers.models.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudAiplatformV1PublisherModel.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *PublishersModelsGetCall) Fields(s ...googleapi.Field) *PublishersModelsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *PublishersModelsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *PublishersModelsGetCall) IfNoneMatch(entityTag string) *PublishersModelsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (c *PublishersModelsGetCall) LanguageCode(languageCode string) *PublishersModelsGetCall
LanguageCode sets the optional parameter "languageCode": The IETF BCP-47 language code representing the language in which the publisher model's text information should be written in (see go/bcp47).
func (c *PublishersModelsGetCall) View(view string) *PublishersModelsGetCall
View sets the optional parameter "view": PublisherModel view specifying which fields to read.
Possible values:
"PUBLISHER_MODEL_VIEW_UNSPECIFIED" - The default / unset value. The API
will default to the BASIC view.
"PUBLISHER_MODEL_VIEW_BASIC" - Include basic metadata about the publisher
model, but not the full contents.
"PUBLISHER_MODEL_VIEW_FULL" - Include everything. "PUBLISHER_MODEL_VERSION_VIEW_BASIC" - Include: VersionId,
ModelVersionExternalName, and SupportedActions.
type PublishersModelsService struct {
// contains filtered or unexported fields
}
func NewPublishersModelsService(s *Service) *PublishersModelsService
func (r *PublishersModelsService) Get(name string) *PublishersModelsGetCall
Get: Gets a Model Garden publisher model.
type PublishersService struct { Models *PublishersModelsService // contains filtered or unexported fields }
func NewPublishersService(s *Service) *PublishersService
type Service struct { BasePath string // API endpoint base URL UserAgent string // optional additional User-Agent fragment Projects *ProjectsService Publishers *PublishersService // contains filtered or unexported fields }
func New(client *http.Client) (*Service, error)
New creates a new Service. It uses the provided http.Client for requests.
Deprecated: please use NewService instead. To provide a custom HTTP client, use option.WithHTTPClient. If you are using google.golang.org/api/googleapis/transport.APIKey, use option.WithAPIKey with NewService instead.
func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error)
NewService creates a new Service.