Class: Google::Apis::ManagedidentitiesV1::ExtendSchemaRequest

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#descriptionString

Required. Description for Schema Change. Corresponds to the JSON property description

Returns:

  • (String)


712
713
714
# File 'lib/google/apis/managedidentities_v1/classes.rb', line 712

def description
  @description
end

#file_contentsString

File uploaded as a byte stream input. Corresponds to the JSON property fileContents NOTE: Values are automatically base64 encoded/decoded in the client library.

Returns:

  • (String)


718
719
720
# File 'lib/google/apis/managedidentities_v1/classes.rb', line 718

def file_contents
  @file_contents
end

#gcs_pathString

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

Returns:

  • (String)


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