Reference documentation and code samples for the Google Cloud Storage Control V2 Client class ViewObjectFullContextRequest.
Request message for ViewObjectFullContext.
Generated from protobuf message google.storage.control.v2.ViewObjectFullContextRequest
Namespace
Google \ Cloud \ Storage \ Control \ V2Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ generation |
int|string
Optional. If present, selects a specific revision of this object (as opposed to the latest version, the default). |
↳ context_key |
string
Required. The key of the object context to retrieve. |
↳ name |
string
Required. The name of the object. Format: |
getGeneration
Optional. If present, selects a specific revision of this object (as opposed to the latest version, the default).
| Returns | |
|---|---|
| Type | Description |
int|string |
|
setGeneration
Optional. If present, selects a specific revision of this object (as opposed to the latest version, the default).
| Parameter | |
|---|---|
| Name | Description |
var |
int|string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getContextKey
Required. The key of the object context to retrieve.
| Returns | |
|---|---|
| Type | Description |
string |
|
setContextKey
Required. The key of the object context to retrieve.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getName
Required. The name of the object.
Format: projects/{project}/buckets/{bucket}/objects/{object}
| Returns | |
|---|---|
| Type | Description |
string |
|
setName
Required. The name of the object.
Format: projects/{project}/buckets/{bucket}/objects/{object}
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
static::build
| Parameters | |
|---|---|
| Name | Description |
name |
string
Required. The name of the object.
Format: |
contextKey |
string
Required. The key of the object context to retrieve. |
| Returns | |
|---|---|
| Type | Description |
ViewObjectFullContextRequest |
|
static::buildFromNameGenerationContextKey
| Parameters | |
|---|---|
| Name | Description |
name |
string
Required. The name of the object.
Format: |
generation |
int
Optional. If present, selects a specific revision of this object (as opposed to the latest version, the default). |
contextKey |
string
Required. The key of the object context to retrieve. |
| Returns | |
|---|---|
| Type | Description |
ViewObjectFullContextRequest |
|