Class: Google::Apis::LoggingV2::Link
- Inherits:
-
Object
- Object
- Google::Apis::LoggingV2::Link
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/logging_v2/classes.rb,
lib/google/apis/logging_v2/representations.rb,
lib/google/apis/logging_v2/representations.rb
Overview
Describes a link connected to an analytics enabled bucket.
Instance Attribute Summary collapse
-
#bigquery_dataset ⇒ Google::Apis::LoggingV2::BigQueryDataset
Describes a BigQuery dataset that was created by a link.
-
#create_time ⇒ String
Output only.
-
#description ⇒ String
Describes this link.The maximum length of the description is 8000 characters.
-
#lifecycle_state ⇒ String
Output only.
-
#name ⇒ String
The resource name of the link.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Link
constructor
A new instance of Link.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Link
Returns a new instance of Link.
806 807 808 |
# File 'lib/google/apis/logging_v2/classes.rb', line 806 def initialize(**args) update!(**args) end |
Instance Attribute Details
#bigquery_dataset ⇒ Google::Apis::LoggingV2::BigQueryDataset
Describes a BigQuery dataset that was created by a link.
Corresponds to the JSON property bigqueryDataset
776 777 778 |
# File 'lib/google/apis/logging_v2/classes.rb', line 776 def bigquery_dataset @bigquery_dataset end |
#create_time ⇒ String
Output only. The creation timestamp of the link.
Corresponds to the JSON property createTime
781 782 783 |
# File 'lib/google/apis/logging_v2/classes.rb', line 781 def create_time @create_time end |
#description ⇒ String
Describes this link.The maximum length of the description is 8000 characters.
Corresponds to the JSON property description
786 787 788 |
# File 'lib/google/apis/logging_v2/classes.rb', line 786 def description @description end |
#lifecycle_state ⇒ String
Output only. The resource lifecycle state.
Corresponds to the JSON property lifecycleState
791 792 793 |
# File 'lib/google/apis/logging_v2/classes.rb', line 791 def lifecycle_state @lifecycle_state end |
#name ⇒ String
The resource name of the link. The name can have up to 100 characters. A valid
link id (at the end of the link name) must only have alphanumeric characters
and underscores within it. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/
buckets/[BUCKET_ID]/links/[LINK_ID]" "organizations/[ORGANIZATION_ID]/
locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "billingAccounts/[
BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]
" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[
LINK_ID]" For example:projects/my-project/locations/global/buckets/my-bucket/
links/my_link
Corresponds to the JSON propertyname`
804 805 806 |
# File 'lib/google/apis/logging_v2/classes.rb', line 804 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
811 812 813 814 815 816 817 |
# File 'lib/google/apis/logging_v2/classes.rb', line 811 def update!(**args) @bigquery_dataset = args[:bigquery_dataset] if args.key?(:bigquery_dataset) @create_time = args[:create_time] if args.key?(:create_time) @description = args[:description] if args.key?(:description) @lifecycle_state = args[:lifecycle_state] if args.key?(:lifecycle_state) @name = args[:name] if args.key?(:name) end |