Name | Type | Description | Notes |
---|---|---|---|
Name | Pointer to string | The name for the real-time logging configuration. | [optional] |
Placement | Pointer to NullableString | Where in the generated VCL the logging call should be placed. If not set, endpoints with format_version of 2 are placed in vcl_log and those with format_version of 1 are placed in vcl_deliver . |
[optional] |
ResponseCondition | Pointer to NullableString | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] |
Format | Pointer to string | A Fastly log format string. | [optional] [default to "%h %l %u %t "%r" %>s %b"] |
FormatVersion | Pointer to string | The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in vcl_log if format_version is set to 2 and in vcl_deliver if format_version is set to 1 . |
[optional] [default to "2"] |
MessageType | Pointer to string | How the message should be formatted. | [optional] [default to "classic"] |
TimestampFormat | Pointer to NullableString | A timestamp format | [optional] [readonly] |
CompressionCodec | Pointer to string | The codec used for compressing your logs. Valid values are zstd , snappy , and gzip . Specifying both compression_codec and gzip_level in the same API request will result in an error. |
[optional] |
Period | Pointer to string | How frequently log files are finalized so they can be available for reading (in seconds). | [optional] [default to "3600"] |
GzipLevel | Pointer to string | The level of gzip encoding when sending logs (default 0 , no compression). Specifying both compression_codec and gzip_level in the same API request will result in an error. |
[optional] [default to "0"] |
User | Pointer to string | Your Google Cloud Platform service account email address. The client_email field in your service account authentication JSON. Not required if account_name is specified. |
[optional] |
SecretKey | Pointer to string | Your Google Cloud Platform account secret key. The private_key field in your service account authentication JSON. Not required if account_name is specified. |
[optional] |
AccountName | Pointer to string | The name of the Google Cloud Platform service account associated with the target log collection service. Not required if user and secret_key are provided. |
[optional] |
CreatedAt | Pointer to NullableTime | Date and time in ISO 8601 format. | [optional] [readonly] |
DeletedAt | Pointer to NullableTime | Date and time in ISO 8601 format. | [optional] [readonly] |
UpdatedAt | Pointer to NullableTime | Date and time in ISO 8601 format. | [optional] [readonly] |
ServiceID | Pointer to string | [optional] [readonly] | |
Version | Pointer to string | [optional] [readonly] | |
BucketName | Pointer to string | The name of the GCS bucket. | [optional] |
Path | Pointer to string | [optional] [default to "/"] | |
PublicKey | Pointer to NullableString | A PGP public key that Fastly will use to encrypt your log files before writing them to disk. | [optional] [default to "null"] |
ProjectID | Pointer to string | Your Google Cloud Platform project ID. Required | [optional] |
func NewLoggingGcsResponse() *LoggingGcsResponse
NewLoggingGcsResponse instantiates a new LoggingGcsResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewLoggingGcsResponseWithDefaults() *LoggingGcsResponse
NewLoggingGcsResponseWithDefaults instantiates a new LoggingGcsResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (o *LoggingGcsResponse) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *LoggingGcsResponse) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LoggingGcsResponse) SetName(v string)
SetName sets Name field to given value.
func (o *LoggingGcsResponse) HasName() bool
HasName returns a boolean if a field has been set.
func (o *LoggingGcsResponse) GetPlacement() string
GetPlacement returns the Placement field if non-nil, zero value otherwise.
func (o *LoggingGcsResponse) GetPlacementOk() (*string, bool)
GetPlacementOk returns a tuple with the Placement field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LoggingGcsResponse) SetPlacement(v string)
SetPlacement sets Placement field to given value.
func (o *LoggingGcsResponse) HasPlacement() bool
HasPlacement returns a boolean if a field has been set.
func (o *LoggingGcsResponse) SetPlacementNil(b bool)
SetPlacementNil sets the value for Placement to be an explicit nil
func (o *LoggingGcsResponse) UnsetPlacement()
UnsetPlacement ensures that no value is present for Placement, not even an explicit nil
func (o *LoggingGcsResponse) GetResponseCondition() string
GetResponseCondition returns the ResponseCondition field if non-nil, zero value otherwise.
func (o *LoggingGcsResponse) GetResponseConditionOk() (*string, bool)
GetResponseConditionOk returns a tuple with the ResponseCondition field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LoggingGcsResponse) SetResponseCondition(v string)
SetResponseCondition sets ResponseCondition field to given value.
func (o *LoggingGcsResponse) HasResponseCondition() bool
HasResponseCondition returns a boolean if a field has been set.
func (o *LoggingGcsResponse) SetResponseConditionNil(b bool)
SetResponseConditionNil sets the value for ResponseCondition to be an explicit nil
func (o *LoggingGcsResponse) UnsetResponseCondition()
UnsetResponseCondition ensures that no value is present for ResponseCondition, not even an explicit nil
func (o *LoggingGcsResponse) GetFormat() string
GetFormat returns the Format field if non-nil, zero value otherwise.
func (o *LoggingGcsResponse) GetFormatOk() (*string, bool)
GetFormatOk returns a tuple with the Format field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LoggingGcsResponse) SetFormat(v string)
SetFormat sets Format field to given value.
func (o *LoggingGcsResponse) HasFormat() bool
HasFormat returns a boolean if a field has been set.
func (o *LoggingGcsResponse) GetFormatVersion() string
GetFormatVersion returns the FormatVersion field if non-nil, zero value otherwise.
func (o *LoggingGcsResponse) GetFormatVersionOk() (*string, bool)
GetFormatVersionOk returns a tuple with the FormatVersion field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LoggingGcsResponse) SetFormatVersion(v string)
SetFormatVersion sets FormatVersion field to given value.
func (o *LoggingGcsResponse) HasFormatVersion() bool
HasFormatVersion returns a boolean if a field has been set.
func (o *LoggingGcsResponse) GetMessageType() string
GetMessageType returns the MessageType field if non-nil, zero value otherwise.
func (o *LoggingGcsResponse) GetMessageTypeOk() (*string, bool)
GetMessageTypeOk returns a tuple with the MessageType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LoggingGcsResponse) SetMessageType(v string)
SetMessageType sets MessageType field to given value.
func (o *LoggingGcsResponse) HasMessageType() bool
HasMessageType returns a boolean if a field has been set.
func (o *LoggingGcsResponse) GetTimestampFormat() string
GetTimestampFormat returns the TimestampFormat field if non-nil, zero value otherwise.
func (o *LoggingGcsResponse) GetTimestampFormatOk() (*string, bool)
GetTimestampFormatOk returns a tuple with the TimestampFormat field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LoggingGcsResponse) SetTimestampFormat(v string)
SetTimestampFormat sets TimestampFormat field to given value.
func (o *LoggingGcsResponse) HasTimestampFormat() bool
HasTimestampFormat returns a boolean if a field has been set.
func (o *LoggingGcsResponse) SetTimestampFormatNil(b bool)
SetTimestampFormatNil sets the value for TimestampFormat to be an explicit nil
func (o *LoggingGcsResponse) UnsetTimestampFormat()
UnsetTimestampFormat ensures that no value is present for TimestampFormat, not even an explicit nil
func (o *LoggingGcsResponse) GetCompressionCodec() string
GetCompressionCodec returns the CompressionCodec field if non-nil, zero value otherwise.
func (o *LoggingGcsResponse) GetCompressionCodecOk() (*string, bool)
GetCompressionCodecOk returns a tuple with the CompressionCodec field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LoggingGcsResponse) SetCompressionCodec(v string)
SetCompressionCodec sets CompressionCodec field to given value.
func (o *LoggingGcsResponse) HasCompressionCodec() bool
HasCompressionCodec returns a boolean if a field has been set.
func (o *LoggingGcsResponse) GetPeriod() string
GetPeriod returns the Period field if non-nil, zero value otherwise.
func (o *LoggingGcsResponse) GetPeriodOk() (*string, bool)
GetPeriodOk returns a tuple with the Period field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LoggingGcsResponse) SetPeriod(v string)
SetPeriod sets Period field to given value.
func (o *LoggingGcsResponse) HasPeriod() bool
HasPeriod returns a boolean if a field has been set.
func (o *LoggingGcsResponse) GetGzipLevel() string
GetGzipLevel returns the GzipLevel field if non-nil, zero value otherwise.
func (o *LoggingGcsResponse) GetGzipLevelOk() (*string, bool)
GetGzipLevelOk returns a tuple with the GzipLevel field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LoggingGcsResponse) SetGzipLevel(v string)
SetGzipLevel sets GzipLevel field to given value.
func (o *LoggingGcsResponse) HasGzipLevel() bool
HasGzipLevel returns a boolean if a field has been set.
func (o *LoggingGcsResponse) GetUser() string
GetUser returns the User field if non-nil, zero value otherwise.
func (o *LoggingGcsResponse) GetUserOk() (*string, bool)
GetUserOk returns a tuple with the User field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LoggingGcsResponse) SetUser(v string)
SetUser sets User field to given value.
func (o *LoggingGcsResponse) HasUser() bool
HasUser returns a boolean if a field has been set.
func (o *LoggingGcsResponse) GetSecretKey() string
GetSecretKey returns the SecretKey field if non-nil, zero value otherwise.
func (o *LoggingGcsResponse) GetSecretKeyOk() (*string, bool)
GetSecretKeyOk returns a tuple with the SecretKey field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LoggingGcsResponse) SetSecretKey(v string)
SetSecretKey sets SecretKey field to given value.
func (o *LoggingGcsResponse) HasSecretKey() bool
HasSecretKey returns a boolean if a field has been set.
func (o *LoggingGcsResponse) GetAccountName() string
GetAccountName returns the AccountName field if non-nil, zero value otherwise.
func (o *LoggingGcsResponse) GetAccountNameOk() (*string, bool)
GetAccountNameOk returns a tuple with the AccountName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LoggingGcsResponse) SetAccountName(v string)
SetAccountName sets AccountName field to given value.
func (o *LoggingGcsResponse) HasAccountName() bool
HasAccountName returns a boolean if a field has been set.
func (o *LoggingGcsResponse) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
func (o *LoggingGcsResponse) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LoggingGcsResponse) SetCreatedAt(v time.Time)
SetCreatedAt sets CreatedAt field to given value.
func (o *LoggingGcsResponse) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (o *LoggingGcsResponse) SetCreatedAtNil(b bool)
SetCreatedAtNil sets the value for CreatedAt to be an explicit nil
func (o *LoggingGcsResponse) UnsetCreatedAt()
UnsetCreatedAt ensures that no value is present for CreatedAt, not even an explicit nil
func (o *LoggingGcsResponse) GetDeletedAt() time.Time
GetDeletedAt returns the DeletedAt field if non-nil, zero value otherwise.
func (o *LoggingGcsResponse) GetDeletedAtOk() (*time.Time, bool)
GetDeletedAtOk returns a tuple with the DeletedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LoggingGcsResponse) SetDeletedAt(v time.Time)
SetDeletedAt sets DeletedAt field to given value.
func (o *LoggingGcsResponse) HasDeletedAt() bool
HasDeletedAt returns a boolean if a field has been set.
func (o *LoggingGcsResponse) SetDeletedAtNil(b bool)
SetDeletedAtNil sets the value for DeletedAt to be an explicit nil
func (o *LoggingGcsResponse) UnsetDeletedAt()
UnsetDeletedAt ensures that no value is present for DeletedAt, not even an explicit nil
func (o *LoggingGcsResponse) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise.
func (o *LoggingGcsResponse) GetUpdatedAtOk() (*time.Time, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LoggingGcsResponse) SetUpdatedAt(v time.Time)
SetUpdatedAt sets UpdatedAt field to given value.
func (o *LoggingGcsResponse) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.
func (o *LoggingGcsResponse) SetUpdatedAtNil(b bool)
SetUpdatedAtNil sets the value for UpdatedAt to be an explicit nil
func (o *LoggingGcsResponse) UnsetUpdatedAt()
UnsetUpdatedAt ensures that no value is present for UpdatedAt, not even an explicit nil
func (o *LoggingGcsResponse) GetServiceID() string
GetServiceID returns the ServiceID field if non-nil, zero value otherwise.
func (o *LoggingGcsResponse) GetServiceIDOk() (*string, bool)
GetServiceIDOk returns a tuple with the ServiceID field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LoggingGcsResponse) SetServiceID(v string)
SetServiceID sets ServiceID field to given value.
func (o *LoggingGcsResponse) HasServiceID() bool
HasServiceID returns a boolean if a field has been set.
func (o *LoggingGcsResponse) GetVersion() string
GetVersion returns the Version field if non-nil, zero value otherwise.
func (o *LoggingGcsResponse) GetVersionOk() (*string, bool)
GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LoggingGcsResponse) SetVersion(v string)
SetVersion sets Version field to given value.
func (o *LoggingGcsResponse) HasVersion() bool
HasVersion returns a boolean if a field has been set.
func (o *LoggingGcsResponse) GetBucketName() string
GetBucketName returns the BucketName field if non-nil, zero value otherwise.
func (o *LoggingGcsResponse) GetBucketNameOk() (*string, bool)
GetBucketNameOk returns a tuple with the BucketName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LoggingGcsResponse) SetBucketName(v string)
SetBucketName sets BucketName field to given value.
func (o *LoggingGcsResponse) HasBucketName() bool
HasBucketName returns a boolean if a field has been set.
func (o *LoggingGcsResponse) GetPath() string
GetPath returns the Path field if non-nil, zero value otherwise.
func (o *LoggingGcsResponse) GetPathOk() (*string, bool)
GetPathOk returns a tuple with the Path field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LoggingGcsResponse) SetPath(v string)
SetPath sets Path field to given value.
func (o *LoggingGcsResponse) HasPath() bool
HasPath returns a boolean if a field has been set.
func (o *LoggingGcsResponse) GetPublicKey() string
GetPublicKey returns the PublicKey field if non-nil, zero value otherwise.
func (o *LoggingGcsResponse) GetPublicKeyOk() (*string, bool)
GetPublicKeyOk returns a tuple with the PublicKey field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LoggingGcsResponse) SetPublicKey(v string)
SetPublicKey sets PublicKey field to given value.
func (o *LoggingGcsResponse) HasPublicKey() bool
HasPublicKey returns a boolean if a field has been set.
func (o *LoggingGcsResponse) SetPublicKeyNil(b bool)
SetPublicKeyNil sets the value for PublicKey to be an explicit nil
func (o *LoggingGcsResponse) UnsetPublicKey()
UnsetPublicKey ensures that no value is present for PublicKey, not even an explicit nil
func (o *LoggingGcsResponse) GetProjectID() string
GetProjectID returns the ProjectID field if non-nil, zero value otherwise.
func (o *LoggingGcsResponse) GetProjectIDOk() (*string, bool)
GetProjectIDOk returns a tuple with the ProjectID field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LoggingGcsResponse) SetProjectID(v string)
SetProjectID sets ProjectID field to given value.
func (o *LoggingGcsResponse) HasProjectID() bool
HasProjectID returns a boolean if a field has been set.