Class: Google::Apis::ManagedidentitiesV1::ExtendSchemaRequest
- Inherits:
-
Object
- Object
- Google::Apis::ManagedidentitiesV1::ExtendSchemaRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/managedidentities_v1/classes.rb,
lib/google/apis/managedidentities_v1/representations.rb,
lib/google/apis/managedidentities_v1/representations.rb
Overview
ExtendSchemaRequest is the request message for ExtendSchema method.
Instance Attribute Summary collapse
-
#description ⇒ String
Required.
-
#file_contents ⇒ String
File uploaded as a byte stream input.
-
#gcs_path ⇒ String
File stored in Cloud Storage bucket and represented in the form projects/
project_id
/buckets/bucket_name
/objects/object_name
File should be in the same project as the domain.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ExtendSchemaRequest
constructor
A new instance of ExtendSchemaRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ExtendSchemaRequest
Returns a new instance of ExtendSchemaRequest.
727 728 729 |
# File 'lib/google/apis/managedidentities_v1/classes.rb', line 727 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
Required. Description for Schema Change.
Corresponds to the JSON property description
712 713 714 |
# File 'lib/google/apis/managedidentities_v1/classes.rb', line 712 def description @description end |
#file_contents ⇒ String
File uploaded as a byte stream input.
Corresponds to the JSON property fileContents
NOTE: Values are automatically base64 encoded/decoded in the client library.
718 719 720 |
# File 'lib/google/apis/managedidentities_v1/classes.rb', line 718 def file_contents @file_contents end |
#gcs_path ⇒ String
File stored in Cloud Storage bucket and represented in the form projects/
project_id
/buckets/bucket_name
/objects/object_name
File should be in the
same project as the domain.
Corresponds to the JSON property gcsPath
725 726 727 |
# File 'lib/google/apis/managedidentities_v1/classes.rb', line 725 def gcs_path @gcs_path end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
732 733 734 735 736 |
# File 'lib/google/apis/managedidentities_v1/classes.rb', line 732 def update!(**args) @description = args[:description] if args.key?(:description) @file_contents = args[:file_contents] if args.key?(:file_contents) @gcs_path = args[:gcs_path] if args.key?(:gcs_path) end |