Class: Google::Apis::ToolresultsV1beta3::ProjectSettings
- Inherits:
-
Object
- Object
- Google::Apis::ToolresultsV1beta3::ProjectSettings
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/toolresults_v1beta3/classes.rb,
generated/google/apis/toolresults_v1beta3/representations.rb,
generated/google/apis/toolresults_v1beta3/representations.rb
Overview
Per-project settings for the Tool Results service.
Instance Attribute Summary collapse
-
#default_bucket ⇒ String
The name of the Google Cloud Storage bucket to which results are written.
-
#name ⇒ String
The name of the project's settings.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ProjectSettings
constructor
A new instance of ProjectSettings.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ProjectSettings
Returns a new instance of ProjectSettings.
2319 2320 2321 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 2319 def initialize(**args) update!(**args) end |
Instance Attribute Details
#default_bucket ⇒ String
The name of the Google Cloud Storage bucket to which results are written. By
default, this is unset. In update request: optional In response: optional
Corresponds to the JSON property defaultBucket
2311 2312 2313 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 2311 def default_bucket @default_bucket end |
#name ⇒ String
The name of the project's settings. Always of the form: projects/project-id
/
settings In update request: never set In response: always set
Corresponds to the JSON property name
2317 2318 2319 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 2317 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2324 2325 2326 2327 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 2324 def update!(**args) @default_bucket = args[:default_bucket] if args.key?(:default_bucket) @name = args[:name] if args.key?(:name) end |