generated/google/apis/storage_v1/classes.rb in google-api-client-0.9.9 vs generated/google/apis/storage_v1/classes.rb in google-api-client-0.9.11
- old
+ new
@@ -121,11 +121,13 @@
# The bucket's versioning configuration.
# Corresponds to the JSON property `versioning`
# @return [Google::Apis::StorageV1::Bucket::Versioning]
attr_accessor :versioning
- # The bucket's website configuration.
+ # The bucket's website configuration, controlling how the service behaves when
+ # accessing bucket contents as a web site. See the Static Website Examples for
+ # more information.
# Corresponds to the JSON property `website`
# @return [Google::Apis::StorageV1::Bucket::Website]
attr_accessor :website
def initialize(**args)
@@ -375,21 +377,27 @@
def update!(**args)
@enabled = args[:enabled] if args.key?(:enabled)
end
end
- # The bucket's website configuration.
+ # The bucket's website configuration, controlling how the service behaves when
+ # accessing bucket contents as a web site. See the Static Website Examples for
+ # more information.
class Website
include Google::Apis::Core::Hashable
- # Behaves as the bucket's directory index where missing objects are treated as
- # potential directories.
+ # If the requested object path is missing, the service will ensure the path has
+ # a trailing '/', append this suffix, and attempt to retrieve the resulting
+ # object. This allows the creation of index.html objects to represent directory
+ # pages.
# Corresponds to the JSON property `mainPageSuffix`
# @return [String]
attr_accessor :main_page_suffix
- # The custom object to return when a requested resource is not found.
+ # If the requested object path is missing, and any mainPageSuffix object is
+ # missing, if applicable, the service will return the named object from this
+ # bucket as the content for a 404 Not Found result.
# Corresponds to the JSON property `notFoundPage`
# @return [String]
attr_accessor :not_found_page
def initialize(**args)
@@ -464,11 +472,11 @@
# The project team associated with the entity, if any.
# Corresponds to the JSON property `projectTeam`
# @return [Google::Apis::StorageV1::BucketAccessControl::ProjectTeam]
attr_accessor :project_team
- # The access permission for the entity. Can be READER, WRITER, or OWNER.
+ # The access permission for the entity.
# Corresponds to the JSON property `role`
# @return [String]
attr_accessor :role
# The link to this access-control entry.
@@ -502,11 +510,11 @@
# The project number.
# Corresponds to the JSON property `projectNumber`
# @return [String]
attr_accessor :project_number
- # The team. Can be owners, editors, or viewers.
+ # The team.
# Corresponds to the JSON property `team`
# @return [String]
attr_accessor :team
def initialize(**args)
@@ -1041,11 +1049,11 @@
# The project team associated with the entity, if any.
# Corresponds to the JSON property `projectTeam`
# @return [Google::Apis::StorageV1::ObjectAccessControl::ProjectTeam]
attr_accessor :project_team
- # The access permission for the entity. Can be READER or OWNER.
+ # The access permission for the entity.
# Corresponds to the JSON property `role`
# @return [String]
attr_accessor :role
# The link to this access-control entry.
@@ -1081,10 +1089,10 @@
# The project number.
# Corresponds to the JSON property `projectNumber`
# @return [String]
attr_accessor :project_number
- # The team. Can be owners, editors, or viewers.
+ # The team.
# Corresponds to the JSON property `team`
# @return [String]
attr_accessor :team
def initialize(**args)