Class: Google::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequest
- Inherits:
-
Object
- Object
- Google::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/drivelabels_v2beta/classes.rb,
lib/google/apis/drivelabels_v2beta/representations.rb,
lib/google/apis/drivelabels_v2beta/representations.rb
Overview
The set of requests for updating aspects of a Label. If any request is not valid, no requests will be applied.
Instance Attribute Summary collapse
-
#language_code ⇒ String
The BCP-47 language code to use for evaluating localized Field labels when
include_label_in_response
istrue
. -
#requests ⇒ Array<Google::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestRequest>
A list of updates to apply to the Label.
-
#use_admin_access ⇒ Boolean
(also: #use_admin_access?)
Set to
true
in order to use the user's admin credentials. -
#view ⇒ String
When specified, only certain fields belonging to the indicated view will be returned.
-
#write_control ⇒ Google::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaWriteControl
Provides control over how write requests are executed.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequest
constructor
A new instance of GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequest
Returns a new instance of GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequest.
439 440 441 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 439 def initialize(**args) update!(**args) end |
Instance Attribute Details
#language_code ⇒ String
The BCP-47 language code to use for evaluating localized Field labels when
include_label_in_response
is true
.
Corresponds to the JSON property languageCode
412 413 414 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 412 def language_code @language_code end |
#requests ⇒ Array<Google::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestRequest>
A list of updates to apply to the Label. Requests will be applied in the order
they are specified.
Corresponds to the JSON property requests
418 419 420 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 418 def requests @requests end |
#use_admin_access ⇒ Boolean Also known as: use_admin_access?
Set to true
in order to use the user's admin credentials. The server will
verify the user is an admin for the Label before allowing access.
Corresponds to the JSON property useAdminAccess
424 425 426 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 424 def use_admin_access @use_admin_access end |
#view ⇒ String
When specified, only certain fields belonging to the indicated view will be
returned.
Corresponds to the JSON property view
431 432 433 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 431 def view @view end |
#write_control ⇒ Google::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaWriteControl
Provides control over how write requests are executed. When not specified, the
last write wins.
Corresponds to the JSON property writeControl
437 438 439 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 437 def write_control @write_control end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
444 445 446 447 448 449 450 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 444 def update!(**args) @language_code = args[:language_code] if args.key?(:language_code) @requests = args[:requests] if args.key?(:requests) @use_admin_access = args[:use_admin_access] if args.key?(:use_admin_access) @view = args[:view] if args.key?(:view) @write_control = args[:write_control] if args.key?(:write_control) end |